Commit graph

707 commits

Author SHA1 Message Date
Fredrik Jonsson
b09452be93 Updated README with information about the improved menu partials. Made som language fixes as well. 2020-01-26 20:26:44 +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
c6e71c2a88 Update example site resources. 2020-01-03 14:12:38 +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
Fredrik Jonsson
d7e3c015c4
Merge pull request #10 from pitermach/aria-current-fix
add aria-current to active class in menus and sidebar
2020-01-03 10:09:14 +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
be3e60907f Use css flex to style tags. 2019-12-10 15:18:33 +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
aa674a016e
Merge pull request #9 from onedrawingperday/fix
Commit resources + published CSS
2019-11-17 00:03:54 +01:00
Alex
ef5a69a959 Commit resources + published CSS 2019-11-16 22:55:57 +02:00
Fredrik Jonsson
e16be4745d
Merge pull request #8 from onedrawingperday/fix
Fix resources
2019-11-16 19:07:57 +01:00
Alex
c9eaff2d59 Fix resources 2019-11-16 18:21:59 +02:00
Fredrik Jonsson
2c53bcdd57 Add theme resources to exampleSite gohugoio/hugoThemes#761. 2019-11-16 14:58:49 +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
Fredrik Jonsson
724cdbf6b3 CSS: Improve code styling when using pygments, part 2. 2019-10-14 11:27:38 +02:00
Fredrik Jonsson
9f410af538 CSS: Improve code styling when using pygments. 2019-10-14 11:00:52 +02:00
Fredrik Jonsson
bd14dfd954 Added German translation info in README. 2019-10-02 09:05:58 +02:00
Fredrik Jonsson
18b957ab0c
Merge pull request #6 from fri-sch/lang_de
Add German translation and translate "Last modified" and "Created"
2019-10-02 09:02:39 +02:00
Frieder Schrempf
2de95d06c4
Add translations for 'Last modified' and 'Created'. 2019-10-01 14:28:21 +02:00
Frieder Schrempf
cc0ef06a17
Add German language translation. 2019-10-01 14:28:15 +02:00
Fredrik Jonsson
b7beb5f926 Increase hight of code blocks. 2019-09-26 14:29:36 +02:00
Fredrik Jonsson
2117479a0b Remove metaDataFormat from examplesite config, not used anymore. 2019-09-14 00:36:43 +02:00
Fredrik Jonsson
8a97a60da1 Add a script to copy files most commonly overridden on a new site. 2019-09-10 10:41:36 +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
3cae5ce015 Add Lighthouse report image. 2019-09-04 13:52:33 +02:00
Fredrik Jonsson
d8b2b55aaa Added og:type meta tag. 2019-09-04 13:30:00 +02:00
Fredrik Jonsson
9e30944532 Updating node packages. 2019-09-02 08:00:14 +02:00
Fredrik Jonsson
7bbfca7ec1 Set min_version to 0.57.0 2019-09-02 07:52:04 +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
2f80fe5416 Add mainSections to README, part 2. 2019-08-16 13:26:47 +02:00
Fredrik Jonsson
ea8a18970d Add mainSections to README. 2019-08-16 13:15:38 +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
97eac46006 The min_version needs to be a string, issue #5. 2019-08-06 15:39:06 +02:00
Fredrik Jonsson
36fe60cbfa Update the README. 2019-08-02 13:58:13 +02:00
Fredrik Jonsson
947d56ecc3 Added Bypasscensorship as example site. 2019-07-23 12:26:00 +02:00
Fredrik Jonsson
0a8d16e601 Indented some code to improve readability. 2019-07-23 12:25:35 +02:00
Fredrik Jonsson
55dc5c58a8 Mark the theme as accessible. 2019-07-23 12:11:59 +02:00
Fredrik Jonsson
fa4c1cc829 Add empty 404 template. 2019-07-23 12:04:49 +02:00
Fredrik Jonsson
df1d9f5687 Updating node packages. 2019-07-22 13:53:59 +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