Commit Graph

172 Commits

Author SHA1 Message Date
Andreas Deininger
f66ca6a07d
fix: fix broken Edit Page links (#339) 2022-02-13 22:48:38 +01:00
87fdde4808
fix: use safeHTML for description in metadata (#334) 2022-02-07 14:47:32 +01:00
cd9ab9e48e
fix: fix formatting of multiline post metadata (#333) 2022-02-07 13:52:12 +01:00
e97cddfd2a
fix: use absolute ULRs in img shortcode (#332) 2022-02-07 13:24:00 +01:00
e100ccf034
feat: add canonical link to head (#331) 2022-02-07 12:04:51 +01:00
a901b3da36
fix: fix usage of terms and taxonomies list templates (#330) 2022-02-07 11:53:45 +01:00
d2668b43f6
refactor: unify title and description handling in meta files (#329) 2022-02-07 10:57:43 +01:00
3228f90eef
fix: prevent failing build if tags is an empty string (#322) 2022-02-04 13:31:23 +01:00
4f3d48c1d9
fix: fix formatting on code links (#316) 2022-02-03 11:42:26 +01:00
30d3c64c41
fix: fix post metadata positioning (#315) 2022-02-03 10:58:37 +01:00
8b117788c6
fix: fix header menu style if no extra entries were added (#305) 2022-01-30 22:05:14 +01:00
Nicholas Seemiller
2ed5365d54
BREAKING CHANGE: rename icons gdoc_keyborad_arrow_* to gdoc_keyboard_arrow_* (#299) 2022-01-27 22:03:12 +01:00
2805fbd33a
fix: always fetch menu name from data file (#296) 2022-01-23 22:32:21 +01:00
5c22ce57dc
feat: add multilingual mode support (#241)
BREAKING CHANGE:  Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
2022-01-23 13:21:44 +01:00
cdc8c1faed
fix: fix asset loading on subfolder deployments (#287) 2022-01-16 16:03:31 +01:00
3a10eb60cc
feat: unify and always show post metadata (#283) 2022-01-12 22:43:00 +01:00
63ced198cf
fix: fix title formatting (#282) 2022-01-12 21:47:14 +01:00
735b9c37ad
fix: fix iconfont usage (#281) 2022-01-12 21:40:57 +01:00
09c3656fad
chore: rename the main bundle to main.js (#270) 2022-01-08 21:36:55 +01:00
77b209d0c4
chore: use to write json assets (#263) 2022-01-06 23:16:21 +01:00
bbfc75ecb0
rework search integration (#262) 2022-01-06 22:52:22 +01:00
5c5e2d59cb
refactor: replace gulp by webpack and npm scripts (#258)
BREAKING CHANGE: We have replaced `gulp` with `webpack` and `npm scripts` to build this theme. If you build it on your own or use build commands during the deployment, you may have to adjust your setup.

BREAKING CHANGE: The `GeekblogIcons` font is using the icon name as Unicode now. As a consequence, you have to replace all references to Icons from this font if you have customized the theme.

BREAKING CHANGE: We have refactored the search integration to split Hugo templates from JavaScript code. To get it working again, you need to adjust the `outputFormats` and `outputs` in your Hugo configuration file, as [documented](https://geekdocs.de/usage/configuration/#site-configuration).
2022-01-06 13:58:10 +01:00
6e7c01e04f
cleanup formatting and docs (#247) 2021-11-24 09:10:26 +01:00
f7ebc5d406
fix: fix collapsible icon in main menu (#239) 2021-11-13 14:11:56 +01:00
9c116862f0
fix: fix various spacing issues (#238) 2021-11-13 13:57:06 +01:00
761caeee47
feat: add site parameter geekdocFileTreeSortBy to controle filetree menu sorting (#237) 2021-11-12 08:57:07 +01:00
75f56d8fad
feat: add button to copy code blocks (#228)
BREAKING CHANGE: The `--code-max-height` formatting is applied only to code blocks that use syntax highlighting, see [documentation](https://geekdocs.de/features/code-blocks/).
2021-11-07 22:12:14 +01:00
d03c035d48
feat: icon shift on header menu (#219) 2021-10-15 11:50:11 +02:00
1932053d5a
feat: add microformats (#214) 2021-09-28 20:44:59 +02:00
4bfc17ac9d
chore: normalize default favicons and add docs (#213) 2021-09-27 22:47:13 +02:00
d8fba29bb5
feat: add robots template (#203) 2021-09-08 21:48:31 +02:00
fff483ea9e
chore: remove rss link from header (#202) 2021-09-08 21:35:43 +02:00
3f296625fb
feat: add tags to post pages (#193) 2021-09-01 10:18:00 +02:00
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
57bbc46a47
feat: add optional icon menu to site header (#184) 2021-08-12 18:17:49 +02:00
0ea7ebf1a2
fix: add div wrapper around markdown tables to allow overflows (#177) 2021-08-02 14:06:24 +02:00
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
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
550745e727
feat: add katex math typesetting shortcode (#157) 2021-07-01 09:05:26 +02:00
51742a4030
fix: fix rendering of nested img shortcodes (#142)
* fix: fix rendering of nested img shortcodes

* fix whitespaces
2021-06-02 17:26:13 +02:00
021eaf7ab6
feat: add sizes 'regular' and 'large' to button shortcode (#135) 2021-05-21 15:51:19 +02:00
649e3cf752
fix: remove inline script usage (#133) 2021-05-21 11:33:17 +02:00
df901ba968
feat: add partial head/custom.html for custom page head elements (#131) 2021-05-19 22:42:57 +02:00
98271b1232
chore: remove unused font and only preload main fonts (#132) 2021-05-19 22:10:54 +02:00
e629d15607
feat: add page parameter geekdocAlign to control a pages text alignment (#130) 2021-05-19 00:00:57 +02:00
cd0cfe37ae
feat: add page parameter geekdocNav to disable navigation sidebar (#129) 2021-05-18 23:10:42 +02:00
c84e71e9a1
fix: remove duplicate favicon declaration (#126) 2021-05-18 21:26:25 +02:00
59be9a504f
Dark mode (#66) 2021-04-27 23:44:35 +02:00
5eff47c68b
fix: rework site header for better title and decription handling (#98) 2021-04-22 22:07:09 +02:00
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
1ace505d27
feat: add option to include pages using the include shortcode (#92)
BREAKING CHANGE: The include shortcode will render files as Markdown
instead of HTML by default now. While the Markdown renderer should be
able to render HTML as well this might still work as before.

BREAKING CHANGE: The include shortcode option markdown was replaces by
a generic type option that could be used to specify special include
types.
2021-04-10 13:55:03 +02:00
9ab80e989e
feat: replace error page icon (#84)
BREAKING CHANGE: The icon `gdoc_telescope` was removed. If you are using this icon you have to replace it.
2021-03-04 22:01:10 +01:00
Leah Oswald
10203cd9a0
feat: allow user-defined overwriting of the logo size (#83) 2021-03-04 21:25:25 +01:00
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
798a2679c1
fix: ensure render template contains no empty newlines (#76) 2021-02-24 16:37:12 +01:00
e748a7dbc0
fix: remove relURL function from render-link template 2021-02-21 21:56:26 +01:00
81988b477a
replace missing markdownify by RenderString 2021-02-21 14:27:54 +01:00
0d80589019
fix: prevend wrong formatting for linked images 2021-02-21 14:04:40 +01:00
i7d3v3l0p3r
e29fa7a327
feat: add structured data annotation to breadcrumb nav (#67) 2021-02-20 22:54:49 +01:00
1cf78cea4f
feat: add custom img shortcode (#71) 2021-02-20 21:39:31 +01:00
d9daf73afb
fix: replace markdownify with renderString to use render hooks (#65) 2021-02-17 09:22:26 +01:00
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
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
cff562644e
normalize source icon size for the icon font 2020-11-28 15:05:04 +01:00
9f437094fe
add new icons for vcs providers"
Addresses #27.

New icons added:

- bitbucket
- gitlab
- git
2020-11-26 22:58:08 +01:00
5df0ba4b35
add new page parameter GeekdocCollapseSection 2020-11-16 22:47:50 +01:00
8628fbbd7e
normalize svg icons and iconfont source 2020-11-16 22:24:23 +01:00
b2e52d6073
cleanup formatting 2020-11-11 11:48:25 +01:00
Alvaro Torres Cogollo
90f285c335 Allow geekdocHiddenTocTree as Page parameter 2020-11-10 22:56:14 +01:00
Alvaro Torres Cogollo
a565da529f Allow description text in toc-tree items 2020-11-10 22:05:56 +01:00
d6242e1842
fix acces hashing and asset data file usage 2020-11-09 22:21:50 +01:00
dfd2f6725d
split out css 2020-11-09 22:06:06 +01:00
6054d3888d
replace theme link 2020-11-07 15:47:52 +01:00
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
f8d2670528
migrate to thegeeklab namespace 2020-09-27 22:21:29 +02:00
329021eb8f
temp switch to warn instead of error for the performance category 2020-09-19 15:48:14 +02:00
ab0867d2df
add font and css preloading links 2020-09-19 12:23:14 +02:00
d4d8437388
improve and normalize microblog formatting 2020-09-17 22:44:42 +02:00
f84375f21c
remove left anchor option and adjust spacing 2020-09-07 21:51:04 +02:00
78a365d7f0
fix wording 2020-07-02 20:41:27 +02:00
c4c882b768 add surrounding div to include shortcode 2020-06-02 21:28:52 +02:00
5eb04b81d2 fix mermaid default font 2020-06-02 21:22:10 +02:00
1037da5062 use pre tag instead of p for mermaid shortcode 2020-06-02 20:17:05 +02:00
bb0cfc464f beautify html before uploading the documentation 2020-06-02 19:43:52 +02:00
048f98fd22 fix script loading 2020-06-02 18:11:29 +02:00
178b92b0a0 add lighthouse-ci to drone 2020-06-02 18:11:29 +02:00
a428f9d84d configure npm 2020-06-02 18:07:53 +02:00
cb0d15260c remove control chars 2020-04-30 20:55:53 +02:00
Michael Barz
5486f711f7
add include shortcode and doc 2020-04-30 16:30:19 +02:00
daa0d0744b make title generation cross-platform 2020-04-15 09:20:00 +02:00
ea44ee3860 update required hugo min version to v0.65 2020-04-15 01:09:53 +02:00
06c9a95b75 improve anchor link alignment and spacing 2020-03-17 23:22:51 +01:00
bb15276c82 add iconfont generation 2020-03-15 18:38:10 +01:00
5268306aed remove unused svg 2020-03-15 16:37:48 +01:00
5865097e57 add clipboard.js 2020-02-27 13:17:21 +01:00
fa3803fe00 set data attribute to copy anchor url 2020-02-27 13:16:37 +01:00