Commit graph

373 commits

Author SHA1 Message Date
Huy Tran
331ef48d5c adapt to npf.io themes and add social stuffs 2018-01-21 18:09:55 +07:00
digitalcraftsman
5814b3e80c Implement Content Summaries / Split on index page 2017-10-01 11:23:48 +02: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
dae01e12f7 Bump required Hugo version to v0.21 2017-09-07 22:07:11 +02:00
digitalcraftsman
76efde8ee2 Add CHANGELOG 2017-09-07 22:06:50 +02:00
digitalcraftsman
e91b1383ee Fix url for Google fonts 2017-09-07 22:01:10 +02:00
digitalcraftsman
804cee4561 Add YAML example for Disqus in README 2017-09-07 21:57:31 +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
50fec3e32d Update link to Hugo site 2017-09-01 13:56:28 +02:00
Alexander Ivanov
01dd84d129 Update link to Hugo site
The http://hugo.spf13.com is unreachable. By the context, the https://gohugo.io will be appropriate.
2017-09-01 14:30:25 +03: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
561c22d401 Print CSS to fix printing problems
No more sidebar filling half of the printed pages, or unnecessary blank pages.
2017-07-25 18:29:32 +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
digitalcraftsman
daead1a8b0 Bump required Hugo version to v0.19+ 2017-04-08 18:25:09 +02: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
digitalcraftsman
d34cfef927 Rename RSSlink to RSSLink 2016-11-17 20:11:20 +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
Pedro Melo
fff9d5b21f Add installation section 2016-07-26 14:27:07 +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
digitalcraftsman
bf6f0a4426 Merge pull request #26 from bigwhite/master
fix #25: make 404 page use Site.Params.themeColor
2015-09-22 12:34:03 +02:00
Tony Bai
1d6e11a374 make 404 page use Site.Params.themeColor 2015-09-22 17:28:15 +08:00
Bjørn Erik Pedersen
1bb0a5b332 Merge pull request #23 from philgs/double-slash
Remove double-slashes in stylesheet URLs
2015-08-13 18:27:09 +02:00
philgs
ca2ed0b862 Remove double-slashes in stylesheet URLs 2015-08-13 11:19:02 -04:00
digitalcraftsman
52c5552a43 Fixes #22 2015-08-01 13:21:28 +02:00
digitalcraftsman
4124bae9ce Updated theme.toml 2015-07-17 12:38:13 +02:00
digitalcraftsman
6fdb7f9d4b Removed non-working link from README 2015-07-17 12:28:12 +02:00
digitalcraftsman
62ef2ef06f Added Disqus support 2015-07-17 12:23:59 +02:00
digitalcraftsman
a874cebd98 Updated README 2015-07-15 12:19:53 +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
48ee248670 Set min_version to 0.14 2015-07-13 23:53:44 +02:00
digitalcraftsman
2bec57881b Merge pull request #14 from digitalcraftsman/sidebar-link-to-home
Linking the title in the sidebar to home
2015-07-13 23:48:38 +02:00
digitalcraftsman
c87ec5559f Linking the title in the sidebar to home 2015-07-13 23:45:26 +02:00
digitalcraftsman
2d0f48c7f8 Merge pull request #16 from digitalcraftsman/404-page
Added a 404 page
2015-07-13 23:42:56 +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
fb2045b770 Merge pull request #18 from anthonyfok/add-hugo-generator
Add {{ .Hugo.Generator }}
2015-07-13 23:24:18 +02:00