Commit graph

186 commits

Author SHA1 Message Date
Sören Weber
1ddd768bde
browser: unify mark behavior after IE11 fixes #452 2023-02-05 00:20:56 +01:00
Sören Weber
5b9389fde2
browser: remove IE11 errors #452 2023-02-04 16:01:42 +01:00
Sören Weber
fd1c03b82f
edit: remove double slash on root page link #450 2023-02-04 02:05:48 +01:00
Sören Weber
5ed690f68b
nav: fix breadcrumb for huge installations #446 2023-01-26 00:08:25 +01:00
Sören Weber
8882e2eff3
theme: announce translations as alternate links #422 2023-01-25 12:41:02 +01:00
Sören Weber
8e7bbf473e
nav: fix breadcrumbs for deeply nested sections #442 2023-01-25 11:07:58 +01:00
Sören Weber
ace996b0ba
theme: make external link target configurable #426 2022-12-23 12:24:04 +01:00
Sören Weber
3624bb38f1
theme: be compatible with Hugo >= 0.95.0 #397 2022-11-19 13:40:26 +01:00
Sören Weber
8b8814d696
search: add dedicated search page #386 2022-11-17 22:12:18 +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
92919ac893
theme: cache archetype.hugo #380 2022-11-13 11:31:46 +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
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
3efaa6ecd4
print: make canonical URL absolute #371 2022-11-06 01:37:33 +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
bd70949313
nav: change defunct keyboard shortcuts #344 2022-10-08 22:50:14 +02:00
Sören Weber
5e1f07c03c
theme: make HTML5 compliant #329 2022-10-03 00:24:37 +02:00
Sören Weber
583dd0c97a
theme: revised schema.org breadcrumb navigation #329
to get rid of HTML validation errors
and remove descending positions
2022-10-03 00:07:28 +02:00
Sören Weber
c0f1f7fa60
theme: remove HTML validator errors #329 2022-10-02 22:32:51 +02:00
Sören Weber
43600a39d7
theme: respect output format suffix #308 2022-07-15 14:07:48 +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
775e5c0e9e
theme: remove most special cases for PRINT output format #308 2022-07-09 18:42:20 +02:00
Sören Weber
33947ae861
theme: allow overriding partials for output formats #308 2022-07-09 16:33:53 +02:00
Sören Weber
a74ec4d6f8
theme: nicer escaping in <head> 2022-07-07 21:42:45 +02:00
Sören Weber
d1550bdddb
archetypes: introducing hooks #300 2022-07-06 00:15:33 +02:00
Sören Weber
897e004e1a
archetypes: rethink rendering #300 2022-07-05 00:19:27 +02:00
Sören Weber
3b97db45e1
clipboard: move head styles to stylesheet #286
to keep it all in place and maybe later use caching for partials
2022-06-23 21:39:47 +02:00
Sören Weber
b0812bb28e
nav: add keyboard shortcut hints #268 2022-06-07 20:23:55 +02:00
Sören Weber
b5c98871cb
theme: typo in print shortcut #268 2022-06-07 01:46:39 +02:00
Sören Weber
0b5e21f488
theme: add keyboard shortcut hints #268 2022-06-07 01:45:08 +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
73dde63ccd
theme: further JS adjustments 2022-03-07 18:25:33 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210 2022-02-28 01:19:32 +01:00
Sören Weber
9bc7fe86c2
theme: rename topbar div for consistency #210 2022-02-27 10:31:11 +01:00
Sören Weber
bf44b52dd1
theme: simplify DOM to introduce flex later #210 2022-02-27 10:27:12 +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
12df32764f
theme: adjust breadcrumb and title for empty home page titles #202 2022-02-24 23:09:49 +01:00
Sören Weber
287e4f53b0
theme: fix HTML indention #205 2022-02-24 11:53:27 +01:00
Sören Weber
df232b84fa
theme: remove Hugo build warning if page is not file based 2022-02-23 20:21:48 +01:00
Sören Weber
fee394cd64
tags: adhere to titleSeparator configuration 2022-02-23 16:16:08 +01:00
Sören Weber
9b8db59969
tags: sort by name #193 2022-02-23 15:04:33 +01:00
Sören Weber
138e88205c
theme: revert fontawsome to version 5 for IE11 compat #191 2022-02-23 12:40:16 +01:00
Sören Weber
a856400626
#nav: fix arrow nav for unlisted pages #184 #185 2022-02-18 02:13:35 +01:00
Sören Weber
0363998519
nav: fix chevron color in IE11 #151 2022-02-18 00:59:50 +01:00
Sören Weber
1606a92689
theme: fixing tags for dark mode and revamped header #151 #175 2022-02-18 00:38:32 +01:00
Sören Weber
6f35177349
theme: rework header UX #151 2022-02-18 00:09:06 +01:00
Sören Weber
7c1d85558d
breadcrumb: hide unpublished pages #185 2022-02-17 14:19:34 +01:00
Sören Weber
3d6a95434c
nav: only show toc if the page has headings #182 2022-02-15 20:28:29 +01:00
Sören Weber
949429faab
nav: rework edit button #151 2022-02-15 00:22:34 +01:00
Sören Weber
6f8239ca64
nav: some love for header buttons #151 2022-02-14 23:59:06 +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
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +01:00
Sören Weber
8f2d1d75e2
theme: whitespace 2022-02-06 16:47:00 +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
be221f2f5b
theme: wildspace 2021-11-24 12:03:11 +01:00
Sören Weber
092046ae52
copyToClipBoard: add missing right border for inline code #153
if disableInlineCopyToClipBoard=true
2021-11-16 00:16:31 +01:00
Sören Weber
63dccef035
toc: make omitting disableToc behave as the former default #133 2021-11-03 20:44:23 +01:00
Andreas H
c29b62f3a9 make disableTOC globally available via Site-Params in config.toml 2021-11-03 10:39:48 +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
3224bfb1a3
theme: fix sticky header to remove horizontal scrollbar #82
HTML5 solution; sorry IE11
2021-09-23 21:25:45 +02:00
Sören Weber
82b7477c0c
theme: wildspace to death 2021-09-13 19:39:20 +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
7fce3b516f
theme: wildspace 2021-09-12 10:33:24 +02:00
Sören Weber
a62c1ee500
theme: remove obvious HTML validator warnings 2021-09-12 01:32:19 +02:00
Sören Weber
aa54732f09
theme: wildspace
in partials and generated output
2021-09-12 00:40:03 +02:00
Sören Weber
87a86876e9
theme: use disabled anchor for last bread crumb #84
because otherwise Hugo will not generate a relative URL for the itemprop value
2021-09-10 01:08:39 +02:00
Sören Weber
03db2cc387
theme: correctly define itemprop value #84 2021-09-10 00:32:35 +02:00
Sören Weber
f65bacd4cd
theme: switch from data-vocabulary to schema #84 2021-09-10 00:18:57 +02:00
Sören Weber
fed2e0392c
sitemap: hide hidden pages from sitemap and SEO indexing #85 2021-09-09 22:26:24 +02:00
Sören Weber
c969f3b13f
menu: always hide hidden sub pages #77 2021-09-04 00:17:47 +02:00
Sören Weber
06486bdc3c
search: disable search in hidden branches #76
1-1-1-1 was previously displayed in the search results
2021-09-03 22:21:22 +02:00
Helder Pereira
449708afd4 Upgrade Hugo to 0.87.0 2021-08-24 00:48:48 +01: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
Sören Weber
6fb5852643
maintenance: upgrade jquery to 3.6.0 #30
Because of a jquery security vulnerability, we are upgrading to the latest version 3.6.0

https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

Depending on the site content, there may be issues with self-closing tags that are allowed to have content like `div` or `span`. See https://jquery.com/upgrade-guide/3.5/
2021-07-25 22:33:18 +02:00
Swen Wenzel
0b5bb6e7b3
Implement tab views (#386)
Tab views from @swenzel
2021-03-16 17:21:57 +00:00
Razon Yang
00f1ca6856
Add the titleSeparator parameter. (#448)
* Add the titleSeparator parameter

* Add a description for the titleSeparator parameter
2020-09-11 09:31:22 +01:00
Gaetan BOGAERT
a7a29541f8
fix: change taxonomy term and use taxonomy name (#444)
@see bf74d9e81c
2020-09-10 17:59:18 +01:00
Matthew Taylor
d4abb3c9a1 Allow custom css files to be loaded by configuration
Previously adding custom css files would require the end user to copy
the header or footer partial into their overrides. They would then
need to maintain that partial into the future.

This config allows a user to provide a list of custom css files to load
into the theme, meaning they do not need to clone the partial.

```
[params]
  custom_css = ["css/foo.css", "css/bar.css"]
```

Inspiration taken from https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033/4
2020-04-14 11:12:06 +01:00
James Booker
eb0ad9c489 Fix deprecated .Hugo, .UniqueID and .URL references 2019-07-30 21:46:35 +01:00
Christian Oliff
f5a8f30714 remove unneeded type="text/css" 2019-06-05 00:10:18 +01:00
ozobi
a296946748 Update header.html
fixed indent
2019-04-01 22:31:07 +01:00
ozobi
f2ef666790 Update js and css 2019-04-01 22:31:07 +01:00
Matthew Taylor
e7a190392a Merge branch 'master' of https://github.com/pdelaby/hugo-theme-learn into pdelaby-master 2019-03-25 21:01:40 +00:00
Delaby Pierre
6207c44b5c PR#196 : Fix english typos and hide the 'tags' div when not needed 2019-03-16 10:55:18 +01:00
Matthew Taylor
982b7290b3 Fix conflicts 2018-10-22 22:51:26 -04:00
Delaby Pierre
79a9777e9a Displays tags on single (using header)
Display tags list when clicking on tag
2018-10-16 12:08:58 +02:00
Mathieu Cornic
300c1614ec Merge branch 'master' of https://github.com/matcornic/hugo-theme-learn 2018-08-10 11:19:30 +02:00
willwade
a29add8d5e changes so can now use page params as well as site 2018-03-19 10:40:10 +00:00
will wade
2fd986166e
adding .Site.Params.disableBreadcrumb
NB: Still shows heading of page. Otherwise looks a bit ugly
2018-03-14 00:28:37 +00:00