Commit graph hackertours-theme/layouts/_default
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
1b046018ea Remove obsolete attributes from meta viewport. 2019-07-02 22:12:46 +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
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
727bcf7d7b Removing not needed role attributes. 2019-03-20 13:31:09 +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
fcb9d4d65d Update the Matomo script. 2019-01-27 22:27:01 +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
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
fb2dcc80cb Added json-ld and fixes to meta tags. 2017-10-24 11:45:29 +02:00
Fredrik Jonsson
1b0cead11a Lastmod is autopopulated from Date if not set. 2017-09-01 15:28:44 +02:00
Fredrik Jonsson
d2a1b4e38b Added link to zen theme in powerdby. 2017-08-30 09:55:13 +02:00
Fredrik Jonsson
31bab84fea Whitespace fixes. Change layout__content to layout__main. 2017-08-30 09:41:30 +02:00
Fredrik Jonsson
f450d62703 Add content class to main, remove all layout__full classes. 2017-08-30 09:18:26 +02:00
Fredrik Jonsson
239044e927 If Lastmod exist add dates to bottom of posts. 2017-08-28 11:32:24 +02:00
Fredrik Jonsson
59bc1494af Added mobilmenu param option. 2017-08-14 22:01:13 +02:00
Fredrik Jonsson
faf52f5602 Added nojs class to body and moved navbar above main content in page structure. 2017-08-01 14:05:07 +02:00
Fredrik Jonsson
8dfb9c8763 Add the mobile menu directly in baseof template instead of via js. Translate menu terms. 2017-07-25 11:18:16 +02:00
Fredrik Jonsson
562fbf3ede Whitespace fixes. Add imporant to wireframe style. 2017-07-20 00:30:48 +02:00
Fredrik Jonsson
5f0f61019a Added languagedir param. 2017-07-17 15:12:30 +02:00
Fredrik Jonsson
0b35bcb8a2 Removing all layour flots and use flex instead. Remove slicknav. 2017-07-16 19:31:55 +02:00
Fredrik Jonsson
265a50cda5 Replace zen grids with css grid. Move print styles print style file. Remove Drupal specific styles. 2017-07-16 18:03:23 +02:00
Fredrik Jonsson
bfe20ac044 Minor whitespace fix around footer. 2017-07-14 12:48:04 +02:00
Fredrik Jonsson
2bcf1168c8 Move meta and script tags that need cached to *_cached partials. 2017-06-25 17:59:53 +02:00
Fredrik Jonsson
5f8869dfa8 Spacing fix in class attributes. 2017-06-19 11:26:19 +02:00
Fredrik Jonsson
4047401c37 Added piwik integration. 2017-06-16 16:58:08 +02:00
Fredrik Jonsson
56241557cc Correcting coding style. 2017-06-11 14:55:29 +02:00
Fredrik Jonsson
72948a55f0 Move link rel canonical from meta.html that is cached and add it directly in baseof.html 2017-05-30 12:24:38 +02:00
Fredrik Jonsson
d7cbfefb7a The title field needs to be run through jsonify in the json feed. 2017-05-23 14:02:29 +02:00
Fredrik Jonsson
dc98c9024b Added title to list template and removed read more link from summary template. 2017-05-22 00:16:50 +02:00
Fredrik Jonsson
f1f3cb4dd5 Implemented tags partial, wrap dates in time tag with datatime attribute. Added class content to content. Add title classes. 2017-05-21 23:39:15 +02:00
Fredrik Jonsson
e4eecc6fcb Fixes to feedlinks and read more links. 2017-05-20 21:45:29 +02:00
Fredrik Jonsson
43abc37088 Optional feedlinks in footer. 2017-05-19 14:34:28 +02:00
Fredrik Jonsson
6748dd5aaf Make use of absURL. 2017-05-19 14:23:35 +02:00
Fredrik Jonsson
de0cc3f69b Added layouts for rss and json feeds. 2017-05-19 11:36:09 +02:00
Fredrik Jonsson
38a7cfc25b Addad param for dateformat. 2017-05-18 14:12:32 +02:00
Fredrik Jonsson
a0e3be452c Added param submitted to control display of author and date on posts. 2017-05-18 14:05:07 +02:00
Fredrik Jonsson
90cb79d78a Simplified setting the title tag, added author and date to posts, TODO make optional. Ordering of meta tags. Fixes for alternate outputs like RSS. 2017-05-17 22:44:15 +02:00
Fredrik Jonsson
cf5d447b87 Whitespace and meta tags. 2017-05-17 00:33:54 +02:00
Fredrik Jonsson
0299c650d5 Make sidebar optional, make it possible to overide all parmas per post. 2017-05-16 15:41:50 +02:00
Fredrik Jonsson
10d36011ee Add summary, full and li layouts. Removinh ld+json. 2017-05-16 15:37:13 +02:00
Fredrik Jonsson
7043ce8aa5 Bug fix for rss links for site and sections. 2017-03-21 00:18:05 +01:00
Fredrik Jonsson
498d3baa1b Make use of partialCached when appropriate. 2017-03-20 22:46:06 +01:00
Fredrik Jonsson
fbae824150 Moving scripts to partial. Adding cache buser to script file. Generate cache buster from /public and not /theme since theme path is not known. 2017-03-20 22:12:24 +01:00
Fredrik Jonsson
efce838267 Added search function with DuckDuckGo. 2017-03-20 19:17:04 +01:00