Commit graph hackertours-theme/layouts
Author SHA1 Message Date
Takashi Kato
71f50d5b40
Remove extra space
Encountered an issue https://github.com/frjo/hugo-theme-zen/issues/16.
Per forum, this may help an error. https://discourse.gohugo.io/t/error-with-template-illegal-number-syntax/21148/4
2020-06-16 21:14:43 +09:00
Fredrik Jonsson
bf7b9dfb1d Menus need relLangURL. 2020-04-28 12:57:09 +02:00
Fredrik Jonsson
474796c204 Make the figure shortcode work with images not in static. 2020-04-20 20:43:51 +02:00
Piotr
131ac2ced8 Revert "Added call to Google Analytics."
This reverts commit 273f408669.
2020-04-20 14:17:32 +02:00
Piotr
f405eb0612 Added missing language prefix in tag list. 2020-04-20 12:54:46 +02:00
Piotr
273f408669 Added call to Google Analytics. 2020-04-20 12:35:12 +02:00
Fredrik Jonsson
fcde1683d1 Integrated FlexSearch.js and removed DuckDuckGo search. 2020-03-24 21:45:43 +01:00
Fredrik Jonsson
29be42aaa2 Implemented the new languageDirection setting. 2020-03-22 09:17:17 +01:00
Fredrik Jonsson
defca5605c Add body classes for list and single pages as well as front. 2020-03-12 12:54:50 +01:00
Fredrik Jonsson
50e0196151 Use created date and not last modified date in posts header and summary. 2020-02-26 20:50:33 +01:00
Fredrik Jonsson
91106240a9 Move matomo code to seperate script to ease implementing Content-Security-Policy header. 2020-01-13 10:46:53 +01:00
Fredrik Jonsson
27d3d64e50 Build menus from .Site.Menus.main if it exists, otherwise build it automatically with home and sections as before. 2020-01-03 11:30:34 +01:00
Fredrik Jonsson
6b0f3caf6c Do not use scratch in figure shortcode anymore, set variables the new improved go template way. 2020-01-03 11:28:24 +01:00
Fredrik Jonsson
8971d752bb Fix bug from last commit that replaces check for currentID for currentSection for pages in menus. 2020-01-03 11:20:22 +01:00
Fredrik Jonsson
1602176e73 Make meny and sidebar templates with new aria-current easier to read. 2020-01-03 10:26:31 +01:00
Piotr Machacz
8802e49a6b add aria-current to active class in menus and sidebar 2020-01-02 16:32:10 +01:00
Fredrik Jonsson
8ad67c1716 Use safeHTMLAttr to avoid encoding charecters in header meta and link tags. 2019-12-10 15:19:56 +01:00
Fredrik Jonsson
7b634ad79c Improve and document how to set language direction, i.e ltr/rtl. 2019-11-28 10:34:46 +01:00
Fredrik Jonsson
62df7c4b3d Turn sidebar off by default. 2019-11-20 10:59:41 +01:00
Fredrik Jonsson
e8f4002c70 Use paginator for mainSections on home page. 2019-11-20 10:59:23 +01:00
Fredrik Jonsson
6aa7ff2b49 Do not build styles twise in development. Output identical. 2019-11-01 10:29:44 +01:00
Fredrik Jonsson
ae3ca2e41c Add alternate language link tags in head. 2019-11-01 10:27:49 +01:00
Frieder Schrempf
2de95d06c4
Add translations for 'Last modified' and 'Created'. 2019-10-01 14:28:21 +02:00
Fredrik Jonsson
f0ba6de8b9 Updated feed templates for Hugo v0.58.0. 2019-09-05 14:57:46 +02:00
Fredrik Jonsson
fa9f59c76a Truncate description in meta tags to 170 charecters if it is taken from .Summary. 2019-09-04 14:32:35 +02:00
Fredrik Jonsson
d8b2b55aaa Added og:type meta tag. 2019-09-04 13:30:00 +02:00
Fredrik Jonsson
c8c0010096 Meta tag og:image is a property not a name. 2019-08-22 13:46:55 +02:00
Fredrik Jonsson
a942441544 Implement mainSections for home page and replace .Data.Pages with alias .Pages. 2019-08-16 13:05:43 +02:00
Fredrik Jonsson
0a8d16e601 Indented some code to improve readability. 2019-07-23 12:25:35 +02:00
Fredrik Jonsson
fa4c1cc829 Add empty 404 template. 2019-07-23 12:04:49 +02:00
Fredrik Jonsson
c00bb6187d Moving logic inside matomo partial. 2019-07-09 22:54:58 +02:00
Fredrik Jonsson
63399e6bf8 Cleanup the menu partials, utilize Hugo features and performance better. 2019-07-06 17:37:08 +02:00
Fredrik Jonsson
9eea6f46a9 Merge partials for head and add logic so they can be added once in baseof instead of in each single and list template. 2019-07-05 13:14:02 +02:00
Fredrik Jonsson
e8c04dfc8e Add https to Matomo links. 2019-07-02 22:13:34 +02:00
Fredrik Jonsson
1b046018ea Remove obsolete attributes from meta viewport. 2019-07-02 22:12:46 +02:00
Fredrik Jonsson
64220eae06 Add itemprop author so author is detected in browsers reader view. 2019-06-29 00:27:26 +02:00
Fredrik Jonsson
19887185c7 Make use of the fact that Hugo sets enviroment to development when running hugo server. 2019-06-20 09:38:21 +02:00
Fredrik Jonsson
6c5af25cf5 Fixing non valid json ld (should never do json by hand). 2019-06-11 14:47:15 +02:00
Fredrik Jonsson
387541edbb Only mark content in section blog and post as BlogPosting, others as WebPage. 2019-06-08 18:37:04 +02:00
Fredrik Jonsson
03e4c9ca40 Use WebPage instead of WebSite for section json ld. 2019-06-08 18:22:35 +02:00
Fredrik Jonsson
6907412c20 Replace deprecated variables .Hugo and .UniqueID with hugo and .File.UniqueID. 2019-06-05 11:45:38 +02:00
Fredrik Jonsson
23f53a6ba7 Add logo to publisher JSON-LD. 2019-06-04 20:53:48 +02:00
Fredrik Jonsson
69b7a0bf75 Fix json_ld output by removing quotes around params. Only hardcoded values neeed quotes. 2019-06-04 12:25:05 +02:00
Fredrik Jonsson
3e996bde7f Bug fix in param name for safariPinnedColor. 2019-05-31 14:51:00 +02:00
Fredrik Jonsson
fea098e8f1 Improve favicon meta tags, support realfavicongenerator. 2019-05-30 23:27:53 +02:00
Fredrik Jonsson
3c80b34ac8 Add rel me link if microusername is set. 2019-05-29 18:01:23 +02:00
Fredrik Jonsson
d6e4835b24 Fixing formatting of ld+json partials for Hugo 0.55.x. 2019-05-20 23:09:13 +02:00
Fredrik Jonsson
0be618650c Improvments to the language selector. 2019-05-19 10:30:54 +02:00
Fredrik Jonsson
9d40eac2d6 A first attempt at supporting podcasts. iTunes RSS feed, layouts, parameters etc. included. 2019-05-13 09:08:29 +02:00
Fredrik Jonsson
5342b34f1b Update wrapper shortcode to accommodate changes made in Hugo 0.55 to how the % delimiter works in shortcodes. 2019-04-24 18:28:16 +02:00