From 8d5d2d52f3c078a9cd5d7a995d9016e050d17b41 Mon Sep 17 00:00:00 2001 From: Jean Pierre Wenzel Date: Tue, 17 Jan 2017 11:52:27 +0100 Subject: Fixed digitalcraftsman/hugo-icarus-theme#72. --- layouts/partials/article_footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/article_footer.html b/layouts/partials/article_footer.html index bc44176..b5d6e7d 100644 --- a/layouts/partials/article_footer.html +++ b/layouts/partials/article_footer.html @@ -3,7 +3,7 @@ {{with .Site.Data.l10n.articles.share}}{{.}}{{end}} - {{ if not (eq .Site.DisqusShortname "") }} + {{ if and (not (eq .Site.DisqusShortname "")) (not .Params.disable_comments) }} {{with .Site.Data.l10n.articles.comments}}{{.}}{{end}} -- cgit v1.2.3 From 5e3f13e738fa6d9f3244b1fd1a66403f64668170 Mon Sep 17 00:00:00 2001 From: Greg Sadowy Date: Fri, 20 Jan 2017 09:50:33 -0800 Subject: Added option to omit date line --- README.md | 4 +++- layouts/partials/article_header.html | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 92bf6d9..898110c 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,9 @@ You can deactivate them under `params.widgets`: tags = true tag_cloud = true +### Date line + +The date line includes: post date, # of words, approximate reading, time tags and categories. However, if you want certain pages to omit the date line, simply put `nodateline = true` in the front matter for that page. ## Localization (l10n) @@ -135,7 +138,6 @@ You can also print formulas inline. In this case wrap the formula only once with Last but not least I included some useful [shortcodes](http://gohugo.io/extras/shortcodes/) to make your life easier. - ### Gallery This way you can include a gallery into your post. Copy the code below into your content file and enter the relative paths to your images. diff --git a/layouts/partials/article_header.html b/layouts/partials/article_header.html index e7acf9e..4e57e1c 100644 --- a/layouts/partials/article_header.html +++ b/layouts/partials/article_header.html @@ -5,6 +5,8 @@