Commit graph

113 commits

Author SHA1 Message Date
Robert Kaussow
fff483ea9e
chore: remove rss link from header (#202) 2021-09-08 21:35:43 +02:00
Robert Kaussow
3f296625fb
feat: add tags to post pages (#193) 2021-09-01 10:18:00 +02:00
Robert Kaussow
c11015bb0d
feat: add 'home' link to header menu on mobile view for better accessibility (#192) 2021-08-24 17:45:40 +02:00
Brendan McCoy
ff32aea119
Use path.Join on "Edit this page" hyperlink (#186) 2021-08-15 13:36:15 +02:00
Robert Kaussow
57bbc46a47
feat: add optional icon menu to site header (#184) 2021-08-12 18:17:49 +02:00
Robert Kaussow
0ea7ebf1a2
fix: add div wrapper around markdown tables to allow overflows (#177) 2021-08-02 14:06:24 +02:00
Robert Kaussow
fe54c2229d
fix: fix horizontal floating of the site footer (#169)
* fix: fix horizontal floating of the site footer

* indentation
2021-07-20 10:58:58 +02:00
Robert Kaussow
8abe25f3cb
feat: add 'back-to-top' link to site footer (#167)
* feat: add 'back-to-top' link to site footer

* add aria-label to link
2021-07-20 09:58:56 +02:00
ListenerJubatus
4bdf727cea
feat: add span with class 'gdoc-brand__title' around site title (#168)
* Add CSS span to site title to allow for something I do on my site (where I use a larger logo and hide title except in narrow views)

* Update layouts/partials/site-header.html

Co-authored-by: Robert Kaussow <xoxys@rknet.org>

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2021-07-20 09:58:41 +02:00
Oluf Lorenzen
56a0d44a50
feat: collapse every section (#162)
This allows setting `.Site.Params.GeekdocCollapseAllSections` which then
behaves as if you would have set `.Page.Params.geekdocCollapseSection`
in all sections.

It is a hard positive switch, so you can not override it per section
once enabled.

Co-authored-by: Robert Kaussow <xoxys@rknet.org>

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
2021-07-10 13:17:16 +02:00
Robert Kaussow
649e3cf752
fix: remove inline script usage (#133) 2021-05-21 11:33:17 +02:00
Robert Kaussow
df901ba968
feat: add partial head/custom.html for custom page head elements (#131) 2021-05-19 22:42:57 +02:00
Robert Kaussow
98271b1232
chore: remove unused font and only preload main fonts (#132) 2021-05-19 22:10:54 +02:00
Robert Kaussow
c84e71e9a1
fix: remove duplicate favicon declaration (#126) 2021-05-18 21:26:25 +02:00
Robert Kaussow
59be9a504f
Dark mode (#66) 2021-04-27 23:44:35 +02:00
Robert Kaussow
5eff47c68b
fix: rework site header for better title and decription handling (#98) 2021-04-22 22:07:09 +02:00
Robert Kaussow
a8de42c489
fix: remove relURL from markdown render image hook (#93)
* fix: remove relURL from markdown render image hook

BREAKING CHANGE: As the relURL function in markdown render hooks
caused some unwanted side effects we had to remove it. Related to this
change the behavior for sites deployed to a subdirectory has changed as
well! Please check the [documentation](https://geekdocs.de/usage/getting-started/#sub-directories)
how to workaround subdirectory deployments.

* restructure color-schemes page to work as image bundle example

* fix wording
2021-04-10 15:52:27 +02:00
Leah Oswald
10203cd9a0
feat: allow user-defined overwriting of the logo size (#83) 2021-03-04 21:25:25 +01:00
Robert Kaussow
5e105c9ff4
feat: auto-load custom svg sprites from assets folder (#79)
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
2021-03-03 21:07:59 +01:00
i7d3v3l0p3r
e29fa7a327
feat: add structured data annotation to breadcrumb nav (#67) 2021-02-20 22:54:49 +01:00
Robert Kaussow
38c6059ab8
fix: use custom render templates to fix references (#56)
* fix: use custom render templates to fix references

* add back showAnchor condition

* change site params access
2021-02-04 10:06:19 +01:00
Robert Kaussow
1c5e86904c
feat: add collapsible sections to bundle menu (#53)
* feat: add collapsible sections to bundle menu

* remove isParent check
2021-01-24 11:58:39 +01:00
Robert Kaussow
cff562644e
normalize source icon size for the icon font 2020-11-28 15:05:04 +01:00
Robert Kaussow
9f437094fe
add new icons for vcs providers"
Addresses #27.

New icons added:

- bitbucket
- gitlab
- git
2020-11-26 22:58:08 +01:00
Robert Kaussow
5df0ba4b35
add new page parameter GeekdocCollapseSection 2020-11-16 22:47:50 +01:00
Robert Kaussow
8628fbbd7e
normalize svg icons and iconfont source 2020-11-16 22:24:23 +01:00
Robert Kaussow
b2e52d6073
cleanup formatting 2020-11-11 11:48:25 +01:00
Robert Kaussow
d6242e1842
fix acces hashing and asset data file usage 2020-11-09 22:21:50 +01:00
Robert Kaussow
dfd2f6725d
split out css 2020-11-09 22:06:06 +01:00
Robert Kaussow
6054d3888d
replace theme link 2020-11-07 15:47:52 +01:00
Robert Kaussow
1c7526498b
update changelog 2020-11-03 08:41:24 +01:00
Alvaro Torres Cogollo
9a7531894e Bugfix: relative URL resolution for fonts 2020-11-02 23:34:24 +01:00
Robert Kaussow
f8d2670528
migrate to thegeeklab namespace 2020-09-27 22:21:29 +02:00
Robert Kaussow
329021eb8f
temp switch to warn instead of error for the performance category 2020-09-19 15:48:14 +02:00
Robert Kaussow
ab0867d2df
add font and css preloading links 2020-09-19 12:23:14 +02:00
Robert Kaussow
f84375f21c
remove left anchor option and adjust spacing 2020-09-07 21:51:04 +02:00
Robert Kaussow
bb0cfc464f beautify html before uploading the documentation 2020-06-02 19:43:52 +02:00
Robert Kaussow
178b92b0a0 add lighthouse-ci to drone 2020-06-02 18:11:29 +02:00
Robert Kaussow
daa0d0744b make title generation cross-platform 2020-04-15 09:20:00 +02:00
Robert Kaussow
06c9a95b75 improve anchor link alignment and spacing 2020-03-17 23:22:51 +01:00
Robert Kaussow
bb15276c82 add iconfont generation 2020-03-15 18:38:10 +01:00
Robert Kaussow
5268306aed remove unused svg 2020-03-15 16:37:48 +01:00
Robert Kaussow
5865097e57 add clipboard.js 2020-02-27 13:17:21 +01:00
Robert Kaussow
fa3803fe00 set data attribute to copy anchor url 2020-02-27 13:16:37 +01:00
Robert Kaussow
a1d90162cb move script loads to end of body 2020-02-27 13:16:08 +01:00
Robert Kaussow
f9db0acd63 add option to move anchor links in front of headlines 2020-02-27 09:50:11 +01:00
Robert Kaussow
977daa7487 document anchor settings 2020-02-27 00:08:00 +01:00
Robert Kaussow
14567a6df4 add anchor links for headlines 2020-02-26 23:59:30 +01:00
Robert Kaussow
8e3958bd09 remove menu button from error page 2020-02-24 22:11:13 +01:00
Robert Kaussow
b45afba0b9 use title shortcode in breadcrumb nav 2020-02-16 23:17:45 +01:00
Robert Kaussow
803dc97324 fix sort by weight order 2020-02-05 16:46:29 +01:00
Robert Kaussow
4236e5708b fix typos 2020-02-05 14:20:45 +01:00
Robert Kaussow
59d94de023 fix page-header conditions 2020-02-05 10:13:04 +01:00
Robert Kaussow
c93dafdece fix some defaults and formatting 2020-02-05 09:40:05 +01:00
Robert Kaussow
e000c1e461 add option to include a privacy policy and legal notice page 2020-02-05 01:15:51 +01:00
Robert Kaussow
7cceca5a72 add example for color schemes 2020-02-05 00:41:13 +01:00
Robert Kaussow
a5c72664f2 hide empty page header on mobile view 2020-01-28 23:18:02 +01:00
Robert Kaussow
e0760d1037 remove swp file and add exclude pattern 2020-01-15 23:32:04 +01:00
Robert Kaussow
85e6de755b use title from menu data file for page nav links 2020-01-15 23:31:05 +01:00
Robert Kaussow
b6f17f1113 fix wrong class name for page navigation button 2020-01-14 23:38:31 +01:00
Robert Kaussow
aac46df166 code cleanup and add documentation for config params 2020-01-14 00:15:39 +01:00
Robert Kaussow
8460fdfb75 fix custom css link 2020-01-12 22:36:47 +01:00
Robert Kaussow
b710cfda80 initial commit 2020-01-12 15:33:02 +01:00