Skip to content

schwilklab/schwilklab.github.io

Repository files navigation

Schwilk Lab webpage

Author: Dylan W Schwilk

Built using jekyll for github pages

Overview

Templates

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

Pages (in markdown)

The pages are all *.md files in the _pages directory. Each defines its own permalink.

Posts (in markdown)

The posts are in the blog/_posts directory in typical jekyll markdown format.

Publications

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

Directory structure

.
|-- blog
|   `-- _posts
|-- css
|-- downloads
|-- images
|-- _includes
|-- _layouts
|-- _pages
|-- pubs
    `-- _posts

blog/_posts

weblog posts

css

css styles

downloads

Static content that is not an image or html

images

Store all images here

_includes

Header and footer definitions using liquid

_layouts

Liquid tempaltes described above

_pages

Web pages in Markdown

pubs/_posts

Schwilk lab publication citations as posts

Building

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

Requirements

  • jekyll
  • jekyll-redirect-from

About

Schwilk lab website. See http://schwilk.org/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors