The blog.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
John-Mark Gurney 74068db254 make copyright date the posted date 1 год назад
content use posted instead of created, to better support new updated.. 1 год назад
fixtures add first cut of converting twitter threads into blog posts... 1 год назад
layout make copyright date the posted date 1 год назад
tufte-css Merge commit '83410d1817089603f48fa4f4c378863e0c6ccc43' as 'tufte-css' 3 лет назад
.gitignore ignore compiled python byte code and credentials.. 1 год назад
BLOG.md use posted instead of created, to better support new updated.. 1 год назад
Makefile add first cut of converting twitter threads into blog posts... 1 год назад
NOTES.md add first cut of converting twitter threads into blog posts... 1 год назад
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 first cut of converting twitter threads into blog posts... 1 год назад
fenced_code.py code update for markdown plugin. This is needed to implement the 3 лет назад
requirements.txt update hyde 3 лет назад
site.yaml use posted instead of created, to better support new updated.. 1 год назад
template.html use posted instead of created, to better support new updated.. 1 год назад
tweets.txt add first cut of converting twitter threads into blog posts... 1 год назад
twitfetch.py add first cut of converting twitter threads into blog posts... 1 год назад

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