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 aab01da901 the validator only borks on css after SVG, so it's fine to merge the 3 years ago
content fix a couple mispelling, and spell bhyve correctly for the tag.. 3 years ago
layout add a title for the tagged posts page.. 3 years ago
tufte-css Merge commit '83410d1817089603f48fa4f4c378863e0c6ccc43' as 'tufte-css' 3 years ago
.gitignore ignore the jar validation files.. 3 years ago
BLOG.md add info about twitter cards.. 3 years ago
Makefile the validator only borks on css after SVG, so it's fine to merge the 3 years ago
NOTES.md add the w3.css minimal css baseline... 3 years ago
README.md add some notes and other useful information that I've discovered... 3 years ago
URLS.txt add a couple more URLs that were found.. 3 years ago
encthenet_plugins.py lxml's HTML parser adds html/body tags, remove them if present... 3 years ago
fenced_code.py code update for markdown plugin. This is needed to implement the 3 years ago
requirements.txt add a sidebar to display various posts... style the tags pagges.. 3 years ago
site.yaml fix up atom feed to pass the w3c validator[1].. 3 years ago
template.html add a simple template for blog posts... 3 years ago

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