The blog.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
John-Mark Gurney b5fb9b58d7 add some notes and other useful information that I've discovered... 3年前
content bring in a new blog post, and get embedding the posts on the front 3年前
layout bring in a new blog post, and get embedding the posts on the front 3年前
tufte-css Merge commit '83410d1817089603f48fa4f4c378863e0c6ccc43' as 'tufte-css' 3年前
.gitignore move comment on it's own line so it works properly.. 3年前
Makefile fix echo which included unescape parens.. 3年前
NOTES.md add some notes and other useful information that I've discovered... 3年前
README.md add some notes and other useful information that I've discovered... 3年前
URLS.txt add some notes and other useful information that I've discovered... 3年前
requirements.txt forgot to add this... this sets up the python modules required.. 3年前
site.yaml enable some markdown extensions.. also fix sorting and not use a 3年前

README.md

Template information:

  • title: The title of the page
  • created: Initial date of post, ISO-8601 format
  • updated: Last updated date of post, ISO-8601 format
  • twittertitle (option): Title to use for the twitter card instead of title.
  • description: Description of the page
  • image: URL of an image for this page for Twitter (maybe other uses?)
  • imagealt: Alterante text for the image
  • twitterlabel1: Label 1 for twitter.
  • twitterlabel2: Label 2 for twitter.
  • twitterdata1: Data 1 for twitter.
  • twitterdata2: Data 2 for twitter.
  • author: Author of the post.
  • viewport: Contents for the viewport meta tag in the page header.
  • id: ID for this resource

Template Hierarchy:

  • base.j2
    • frontpage.j2: The index.html page
    • blog.j2: Page for a specific blog

Notes:

  • Look at DraftsPlugin (is_draft to mark a post as draft and not include it if site is in prod) Initial setup:
virtualenv-3.8 p
. ./p/bin/activate
pip install -r requirements.txt