Author: Dylan W Schwilk
Built using jekyll for github pages
There are four templates in _layouts:
- default.html: the basic template that includes the header and footer and then inserts the contents it is handed in a "page-background" div
- page.html: The template for regular pages (not posts): it uses default.html as its wrapper. This template includes a page header and title, then a page content div, and within that a single entry div representing the content it is handed
- post.html: very similar to page.html, but it omits the page title and instead inserts the post title as an "entry-title" div
- blog.html: The template for the blog page that lists post extracts
- pubs-by-year.html: template for a reverse chronological listing pf publication references
- pubs-by-tag.html: template for a list of tags (topics) and a list of Schwilk lab publication references by topic
The pages are all *.md files in the _pages directory. Each defines its own permalink.
The posts are in the blog/_posts directory in typical jekyll markdown format.
Each publication is a separate markdown file in the /pubs/_posts directory. These are treated as special posts with category='pub' and displayed in different groups and in different and orders on the pubs-by-year and pubs-by-tag pages
.
|-- blog
| `-- _posts
|-- css
|-- downloads
|-- images
|-- _includes
|-- _layouts
|-- _pages
|-- pubs
`-- _posts
weblog posts
css styles
Static content that is not an image or html
Store all images here
Header and footer definitions using liquid
Liquid tempaltes described above
Web pages in Markdown
Schwilk lab publication citations as posts
To update the site, simply push changes and github will rebuild using jekyll. To preview the site locally before pushing changes, you need to run jekyll serve and point your browser to localhost:4000
- jekyll
- jekyll-redirect-from