Commit Graph

54 Commits

Author SHA1 Message Date
z0li e36f5799b3 Removed deprecated .Hugo and .RSSLink 2019-04-27 20:02:51 +02:00
Sorin Davidoi 932d5322bf fix(layouts/single): Use <time> 2018-08-29 19:37:49 +02:00
Sorin Davidoi 36d41b09cf fix(layouts/index): Use <time> and <article> 2018-08-29 19:37:35 +02:00
Sorin Davidoi 482d8e6016 fix(layouts/list): Add datetime attribute to <time> 2018-08-29 19:37:17 +02:00
Sorin Davidoi 9bb31d6aed fix(partials/head): Allow zooming
Disabling zooming is problematic for people with low vision (https://dequeuniversity.com/rules/axe/3.0/meta-viewport).
2018-08-27 21:56:45 +02:00
Sorin Davidoi 6f03ab3055 fix(partials/sidebar): Use more semantic elements 2018-08-27 21:56:32 +02:00
Sorin Davidoi 92610430fa fix(_default/baseof): Use main tag
https://dequeuniversity.com/rules/axe/3.0/landmark-one-main
2018-08-27 21:56:09 +02:00
Matt Smith 72d4bdf488 Fix for mixed insecure content 2018-08-07 22:14:33 +02:00
Bjørn Erik Pedersen 8cab2d27e2
Update head.html
Fixes #49
2018-03-17 09:43:15 +01:00
Kevin Wiliarty 155f263d2f Fix #47: adds hook_head_end partial 2018-02-27 01:08:00 +01:00
JinGen Lim b469743f16 Implement Content Summaries / Split on index page
Posts in the index page will be automatically summarized to its first 70
words, or until a user-defined <!--more--> divider. When summarized, the
"Read More" button also appears with a RelPermalink to the full post.

https://gohugo.io/content-management/summaries/
2017-10-01 11:26:37 +08:00
digitalcraftsman e91b1383ee Fix url for Google fonts 2017-09-07 22:01:10 +02:00
digitalcraftsman 7cf2943ef4 Add Google Analytics support
Closes #44
2017-09-07 21:56:31 +02:00
digitalcraftsman eab1974019 Switch to Hugo's built-in Disqus template 2017-09-07 21:52:10 +02:00
digitalcraftsman 8349cf1aa1 Remove custom Disqus template 2017-09-07 21:45:12 +02:00
digitalcraftsman fe56862a53 Trim more whitespace in template logic 2017-09-07 21:43:11 +02:00
digitalcraftsman 82832c1244 Make use of the base template 2017-09-07 21:41:16 +02:00
digitalcraftsman c336c33527 Use .Site.BaseURL to generate sidebar "Home" link 2017-07-25 19:03:24 +02:00
Vivek Ghaisas 5aab5b03ab Fix indentation in layouts
- Change indentation to 2 spaces to match convention
- Don't indent <body> and <head> as per convention
2017-07-25 19:02:27 +02:00
Mohammed El-Dahash b155b334bd Add print css link 2017-07-25 18:29:32 +02:00
Mohammed El-Dahash b35d6d2d6b Add print css link 2017-07-25 18:29:32 +02:00
Bjørn Erik Pedersen 80695973ac Fix disqusShortname conditional
Fixes #43
2017-07-25 10:18:25 +02:00
Vivek Ghaisas e199c3b532 Use .Site.BaseURL to generate sidebar "Home" link 2017-05-26 23:17:53 +03:00
Oliver Schneider 6404f691fa Replacing deprecated function call with now preferred version (#39)
Using the old call was producing the following Warning:

WARNING: Page's Now is deprecated and will be removed in a future
release. Use now (the template func).
2017-03-25 12:09:32 +01:00
Bjørn Erik Pedersen 99a6d2a372 Rename RSSlink to RSSLink
The former will be deprecated and eventually removed from Hugo.

Note: Currently both of them exist in Hugo, which is the reason for the cleanup.
2016-11-17 09:18:55 +01:00
Jason Yee dbf82dbcff Add layout-reverse body class code to single and list templates. 2016-08-19 19:20:33 +02:00
Jakub Kucharski 61243733ec Don't repeat title in <title> tag on the home page 2016-08-19 19:17:17 +02:00
Ján Koščo a04b9e1574 Add configuration to Reverse layout 2016-03-08 23:16:04 +01:00
Matthew Buckett d06d24a0a3 Use language from configuration.
The header should use the language supplied in the configuration rather than hardcoding to english (US).
2016-01-02 12:42:18 +00:00
Tony Bai 1d6e11a374 make 404 page use Site.Params.themeColor 2015-09-22 17:28:15 +08:00
philgs ca2ed0b862 Remove double-slashes in stylesheet URLs 2015-08-13 11:19:02 -04:00
digitalcraftsman 62ef2ef06f Added Disqus support 2015-07-17 12:23:59 +02:00
digitalcraftsman cd672f87b7 Merge pull request #15 from digitalcraftsman/change-theme-in-configs-globally
Added an option change the theme globally in the configs
2015-07-15 12:08:39 +02:00
digitalcraftsman 75ea79ab8b Merge pull request #11 from marc-jones/patch-1
Corrected link to favicon image
2015-07-14 00:07:57 +02:00
digitalcraftsman c87ec5559f Linking the title in the sidebar to home 2015-07-13 23:45:26 +02:00
digitalcraftsman 11adcd3d14 Added .BaseURL to link in 404 page 2015-07-13 23:42:18 +02:00
digitalcraftsman 5b9efdbc1f Added a 404 page
This addition implements the design of the original 404 page.
2015-07-13 23:42:18 +02:00
digitalcraftsman d84c5080b6 Merge pull request #17 from kwo/master
change .BaseUrl to .BaseURL
2015-07-13 23:24:51 +02:00
digitalcraftsman bb47bd018b Merge pull request #19 from digitalcraftsman/fix-url-variable
Replaced .Url with .URL in sidebar.html
2015-07-13 23:24:26 +02:00
digitalcraftsman 884e8edcd9 Replaced .Url with .URL in sidebar.html 2015-06-25 21:54:21 +02:00
Anthony Fok 4e4c359b9a Add {{ .Hugo.Generator }} 2015-06-18 13:50:55 -06:00
Karl Ostendorf b8dbb20793 change .BaseUrl to .BaseURL 2015-06-10 15:21:13 +02:00
digitalcraftsman 6f6a0a7feb Added missing change in index.html 2015-06-02 19:22:45 +02:00
digitalcraftsman 00eb7169f6 Added an option change the theme globally in the configs 2015-06-02 19:14:54 +02:00
Marc Jones 13774d8035 Corrected link to favicon image
The original reference was to favicon.ico, when the provided image is .png
2015-05-18 17:21:07 +01:00
Steve Francia d89bc2905e Merge pull request #9 from giodamelio/master
Fetch Google fonts over https to avoid mixed contents warnings
2015-05-01 17:10:43 -04:00
Gio d'Amelio 4ce7ab945a Fetch google fonts over https 2015-02-23 20:02:12 -08:00
philgs 9ea795e148 Lowercase variables for .Site.Params
Variables under .Site.Params are accessed with all lower-case identifiers. Hugo won't find them with an upper-case first letter, regardless of how they're formatted in the site `config` file.
2015-01-05 06:22:06 -05:00
Anthony Fok e1a4df05e8 Use `partial` call to include partial templates
Replace `template` call with the `partial` call (new in Hugo v0.12)
for including partial templates
2014-09-08 12:13:10 -04:00
Glen Baker 9bd0f367e2 Removed extra unused html tags from list template, h4 and unused span
Conflicts:
	layouts/_default/list.html
2014-09-08 12:11:25 -04:00