Commit graph hackertours-theme/layouts
Author SHA1 Message Date
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
Fredrik Jonsson
ea4f1a5d33 Fix bug in meta.html template, missing with end tag. 2019-04-17 15:12:34 +02:00
Fredrik Jonsson
006879a0a8 Improvments to the micro templates. 2019-04-17 14:26:13 +02:00
Fredrik Jonsson
15c6c89fce Move the header inside the article tag in single template. 2019-04-17 14:25:37 +02:00
Fredrik Jonsson
0a37a2bc9c Do a dns-prefetch on the piwik/matomo domain. 2019-04-17 14:24:34 +02:00
Fredrik Jonsson
02abf554ca Add role=search attribute to search. 2019-04-09 13:18:57 +02:00
Fredrik Jonsson
d8ac6ecfd0 Move script to head with defer attribute set. Should give optimal performance. 2019-04-09 13:18:34 +02:00
Fredrik Jonsson
6944a104bc Use partialCached for styles, they are the same on all pages. 2019-04-02 10:02:08 +02:00
Fredrik Jonsson
a4061ac3d0 Fix valid ld+json. 2019-03-29 13:08:23 +01:00
Fredrik Jonsson
727bcf7d7b Removing not needed role attributes. 2019-03-20 13:31:09 +01:00
Fredrik Jonsson
d0a11e1ad4 Adding umbrellajs, an tiny jquery replacement. Switching theme js to umbrellajs. 2019-03-20 05:52:26 +01:00
Fredrik Jonsson
d3761ce353 Rebuild the mobile menu to depend less on javascript. 2019-03-17 16:38:04 +01:00
Fredrik Jonsson
336b3156ca Implement Hugo Pipes to process sass and js. Gulp now only for lint. 2019-03-09 16:38:53 +01:00
Fredrik Jonsson
48a823f577 File persmissions. 2019-03-08 13:32:05 +01:00
Fredrik Jonsson
f8e475a8b7 Some small dir rtl improvments. 2019-02-14 13:36:23 +01:00
Fredrik Jonsson
fcb9d4d65d Update the Matomo script. 2019-01-27 22:27:01 +01:00
Fredrik Jonsson
73795756ac Improved figure shortcode, no -1px round of errors. 2018-09-08 19:34:29 +02:00
Fredrik Jonsson
1424e300d8 Improve feed links with correct attributes. Minor white space fix. 2018-07-02 12:20:18 +02:00
Fredrik Jonsson
6215621ea5 Addmissing code to load contact.js when needed. 2018-06-04 15:03:20 +02:00
Fredrik Jonsson
1574087acb Change piwik to Matamo where it does not distrupt anything. 2018-05-17 11:42:36 +02:00
Fredrik Jonsson
f6bad936ad Remove preload link tag for css. Very minor benifit and it messes up site/css development with hugo server watch…. 2018-04-10 14:55:54 +02:00
Fredrik Jonsson
1d7250f48d Added a wrapper shortcode. 2018-03-29 09:35:05 +02:00
Fredrik Jonsson
d3cccf8148 Add a multilingual section to the README. 2018-03-09 15:58:21 +01:00
Fredrik Jonsson
a673c28cf2 Adding a php contact form feature. 2018-03-09 14:54:31 +01:00
Fredrik Jonsson
e56f50a91b Added a language selector. 2018-03-08 14:30:22 +01:00
Fredrik Jonsson
3565ba1e72 Added opengraph meta tags. 2018-03-02 11:15:05 +01:00
Fredrik Jonsson
f53567394e More i18n strings and code style fixes. 2018-03-01 14:30:56 +01:00
Fredrik Jonsson
f25ad69da2 Improve the JSON-LD output and add it to sections and front page as well. 2018-03-01 14:29:25 +01:00
Fredrik Jonsson
b72dca040b Added support for a micro.blog section. 2018-03-01 14:28:12 +01:00
Fredrik Jonsson
73cc0bfc89 Make use of proper relURL everywhere so site works in sub directory. Fix for setting custom height in figure shortcode. 2017-11-24 11:39:58 +01:00
Fredrik Jonsson
d8b0643475 Move viewport above title and remove obsoleta meta tags. 2017-11-01 12:52:26 +01:00
Fredrik Jonsson
a6d403f2cc Replace new line with space in descriptions. 2017-10-24 11:52:47 +02:00
Fredrik Jonsson
fb2dcc80cb Added json-ld and fixes to meta tags. 2017-10-24 11:45:29 +02:00