The blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
John-Mark Gurney bf2a50757e add blog post on github discovery.. преди 2 години
content add blog post on github discovery.. преди 2 години
layout if it's not listed, say so... преди 3 години
tufte-css Merge commit '83410d1817089603f48fa4f4c378863e0c6ccc43' as 'tufte-css' преди 3 години
.gitignore ignore ispell backup files.. преди 3 години
BLOG.md add more info on blogging.. преди 3 години
Makefile the validator only borks on css after SVG, so it's fine to merge the преди 3 години
NOTES.md add note about blank lines.. преди 3 години
README.md add some notes and other useful information that I've discovered... преди 3 години
URLS.txt add a couple more URLs that were found.. преди 3 години
encthenet_plugins.py add comment about why not to use fragment_fromstring.. преди 3 години
fenced_code.py code update for markdown plugin. This is needed to implement the преди 3 години
requirements.txt update hyde преди 3 години
site.yaml add a publisher for this.. преди 3 години
template.html add a simple template for blog posts... преди 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