Commit graph

59 commits

Author SHA1 Message Date
Sören Weber
9555614ac4
404: fix display in RTL #597 2023-07-27 16:31:50 +02:00
Sören Weber
5e71d61c46
shortcodes: change context parameter to page if called as partial #595 2023-07-27 16:14:55 +02:00
Sören Weber
b85376f164
theme: flip 404 image #566 2023-06-10 14:18:38 +02:00
Sören Weber
25a2358096
theme: revamp 404 page #566 2023-06-10 13:56:58 +02:00
Sören Weber
c975dfd2de
theme: make sure to display well with no theme specific params set #516 2023-05-18 14:03:39 +02:00
Sören Weber
d3762944b5
theme: fix resource URLs for 404 page on subdirectories #515 2023-05-04 22:27:12 +02:00
Sören Weber
c995d6a692
404: margin of 0 is unitless #466 2023-02-17 15:08:43 +01:00
Sören Weber
e57f05f7b4
markdown: fix h1 ids for multiple words title and foreign characters #459 2023-02-01 08:17:48 +01:00
Sören Weber
1b63c4cb0f
theme: fix urls for file:// protocol in sitemap #385 2022-11-15 07:34:06 +01:00
Sören Weber
c7435b476b
theme: add id to h1 elements #384 2022-11-13 22:33:55 +01:00
Sören Weber
d2d7d808a0
theme: only use RelPermalink for caching #380
because achretypes caching was unreliable when the whole page was used;
Hugo bug or is it just me?
2022-11-13 11:33:32 +01:00
Sören Weber
1c251f0790
theme: reduce calls to output-format.hugo III #380 2022-11-13 10:55:17 +01:00
Sören Weber
82a8b2f8c6
theme: cache calls to fileExists #380 2022-11-12 15:16:53 +01:00
Sören Weber
f23d4163d8
theme: simplify refLangPrettyUglyURL.hugo #380 2022-11-11 13:44:23 +01:00
Sören Weber
b1866d62df
theme: cache page-meta.hugo #380 2022-11-11 13:43:23 +01:00
docxml
6ef984c36a Update 404.html
Typo
2022-11-08 15:45:50 +01:00
Sören Weber
54878e0407
theme: fix overflowing issue tooltips #364
in rtl, the scrollbars were still in ltr mode which was now changed to avoid overflow of tooltips when attached to the "ending" corner of the box
2022-11-07 20:57:17 +01:00
Sören Weber
01cfcfe67b
theme: allow to be served by file:// protocol #349 2022-11-02 00:14:19 +01:00
Sören Weber
0ac97ba47e
i18n: support RTL in content #357 2022-11-01 02:00:50 +01:00
Sören Weber
c73d64b0a7
theme: move essential call to page-meta to prominent location #308 2022-07-12 00:24:57 +02:00
Sören Weber
b8a49da2f5
theme: robust way to determine output format #308 2022-07-11 00:59:26 +02:00
Sören Weber
6f806cc5ea
favicon: fix all URLs if site resides in subfolder #302 2022-07-06 00:26:30 +02:00
Sören Weber
ae3ad846cc
theme: improve keyboard navigation for scrolling #268 2022-06-06 23:58:00 +02:00
Sören Weber
459c07da6f
theme: remove unused style classes 2022-04-03 18:33:50 +02:00
Sören Weber
0dd92e332b
print: add option to print whole chapter #230 2022-04-02 15:29:34 +02:00
Sören Weber
bc018cbb0d
mobile: hide initial menu animation in landscape #210 2022-03-13 12:36:48 +01:00
Sören Weber
30bf0250e4
mobile: avoid clunky animation when switching to mobile #210 2022-03-13 11:49:56 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210 2022-02-28 01:19:32 +01:00
Sören Weber
a980b77491
theme: rename sidebar overlay #210
because we will introduce a second toc overlay soon
2022-02-27 09:59:38 +01:00
Sören Weber
7eee4a86d8
theme: make chapter a marker instead of a nested div #210
this makes styling easier as document has the same DOM for chapter and default
2022-02-27 09:53:33 +01:00
Sören Weber
f5455500fa
theme: animate large areas on theme switch #178 2022-02-13 09:45:11 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178 2022-02-13 01:53:23 +01:00
Sören Weber
9c616364a9
theme: realign HTML header and DRY out stylesheet declarations 2022-02-06 13:51:54 +01:00
Sören Weber
dffc0cb230
theme: simplify stylesheet for color variants #107 2021-09-30 00:17:16 +02:00
Sören Weber
cbc75a99fa
theme: reorganize stylesheets #93
move print styles in own stylesheet to make it testable
remove hugo-themes.css and put it into theme.css to avoid confusion
2021-09-29 21:34:42 +02:00
Sören Weber
65cb38aec3
theme: use <main> #88 2021-09-13 19:28:16 +02:00
Sören Weber
2fcaac5d0b
theme: fix usage of <section> #88 2021-09-13 19:28:16 +02:00
Sören Weber
aa54732f09
theme: wildspace
in partials and generated output
2021-09-12 00:40:03 +02:00
Sören Weber
5c667b3d07
code highligher: switch to standard hugo highlighter #32
Since a while, Hugo has its own mechanism for code highlightning.

We remove the old highlightning code provided by the client-side javascript library highlight.js and all its related files.

This also solves issues introduced by Hugos own highlightning because in our theme we are currently highlighting the code twice leading to unpredictiable results.

This will also fix an issue were light code highlightning themes weren't displayed correctly because our styles are overwriting color information.

Another advantage is the huge list of supported languages which by far exceeds our current list.

On the downside, this is a breaking change because our current color theme isn't supported by Hugo.
2021-07-26 11:50:34 +02:00
Christian Oliff
c9153e7c04 remove unneeded type="text/css" 2019-06-11 22:28:40 +01:00
Mathieu Cornic
ec48c61329
Merge pull request #271 from berryp/issue/404-has-invalid-html
Fix invalid HTML in 404 template.
2019-06-06 14:07:37 +02:00
Naveneetha Vasudevan
3a47917d6c Remove reference to the unused horsey CSS 2019-06-05 00:11:45 +01:00
Berry Phillips
85711377a9 Fix invalid HTML in 404 template.
Fixes https://github.com/matcornic/hugo-theme-learn/issues/270
2019-04-12 09:21:59 +09:00
Jean-Christophe
330ae6d91c
Updated CSS link to fontawesome library 2018-10-27 22:40:08 +02:00
pgorod
781d1e9457
Update 404.html
This is useful because using "alt" attribute is generally a good idea. But I had to change this in my project because I am running automated tests and this was causing an error from my over-zealous error-checker robot. Fair enough.
2018-09-20 17:04:16 +01:00
Marco Davids
04347de0d6
Improved variant of #119, as per request 2018-02-02 14:14:32 +01:00
Marco Davids
bb7608fa42
Related to previous PR 2018-01-23 17:17:55 +01:00
Jake Howard
2c664160b0
Use relURL where possible 2018-01-06 22:27:36 +00:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
7ca4b0c7ad feat: add theme variant system + add blue variant 2017-08-20 23:43:48 +02:00