From f450d62703929a45b529ce9afdb9286c8b2f43ed Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Wed, 30 Aug 2017 09:18:26 +0200 Subject: [PATCH] Add content class to main, remove all layout__full classes. --- README.md | 8 ++++++++ layouts/_default/baseof.html | 4 ++-- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- layouts/index.html | 2 +- layouts/partials/menu.html | 2 +- sass/layouts/_layouts.scss | 2 +- static/js/script.js | 2 +- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7eb68c1..05cd792 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ params: jquery: true # Add jQuery languageDir: "" # Set ltr or rtl, defaults to ltr. logo: false # Turn off the logo. + mobileMenu: true # Turn on a mobile menu on small screens. piwikSiteId: # Piwik site id piwikTrackerUrl: "" # Piwik url, schemaless and no slash on end (example.com/piwik). poweredby: true # Show powered by hugo in footer @@ -73,6 +74,13 @@ params: ``` +## Dates + +If "lastmod" is set in the frontmatter on a post that value will be used in the "submitted" section. If not "date" is used. + +With "lastmod" set a date section will also appear at the bottom of post telling the reader the created and modification dates. + + ## Shortcodes ### Clear diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ac0e4c7..3088b2a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,7 +11,7 @@
-