Skip to content

PittsburghPG/post-gazette-longform-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pittsburgh Post-Gazette longform template

This responsive template makes assembling immersive longform stories a breeze. Right?!

Basic workflow

  1. Download .zip file from this Github page.
  2. Load the images you'll be using into the /img folder. (Make sure they're not too big! I usually export full-screen images at a max of 2000px wide.)
  3. Prepare the text of the story by removing "smart commas" and adding <p> tags around each line. (I'd cheat and copy-and-paste your text into http://www.textfixer.com/html/convert-text-html.php.)
  4. Fill out header.html from /html
  • Copy and paste into index.html.
  1. Fill out section.html.
  • Copy and paste into index.html;
  • Rinse and repeat for every section in the article.
  1. Fill out comments.html.
  • Copy and paste into index.html right above the final two </div> tags in previous section.
    Example: ...

             <div class="right"></div>
             <div class="left"></div>
             <div style="clear:both"></div>
             	
             <div class="picture full">
             <h3>Your comments</h3>
             <fb:comments href="<!-- INSERT PROJECT URL HERE -->" num_posts="30"  mobile="false" width="100%"></fb:comments>
             </div>
             
             <div class="right"></div>
             <div class="left"></div>
             <div style="clear:both"></div>
             
        </div>
    </div>
    
  1. Fill out credits.html.
    • Copy and paste into index.html.
  2. Log into the Post-Gazette's newsinteractive server and upload the project folder to longform/stories/.
  3. Verify the website looks puuuurty.

About

A customizable template for longform journalism.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published