Commit graph

100 commits

Author SHA1 Message Date
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
Matthew Taylor
cca7fdeeb0 Modify fontawesome selectors for v5.x 2018-02-19 16:33:30 +00:00
Matthew Taylor
ddb8d4c5aa Update Font Awesome to 5.0.6 2018-02-19 16:33:30 +00:00
Marco Davids
b3edc029b2
Different viewport
Works better on iPhone and prevents a warning in HTML5-validators.
2018-01-24 15:42:16 +01:00
matcornic
6562adeb7b fix #83 no Title and Edit this page text when on mobile + fixed top bar width pbm on resize by switching to sticky.js instead of sticky-kit 2017-11-23 19:46:56 +01:00
Ryan McGuire
ff5ef7c020 Replace horsey with Pixabay's autocomplete (#75) 2017-09-28 18:47:26 +02:00
matcornic
2bbbf604a9 fix jumping navbar 2017-08-20 23:43:50 +02: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
matcornic
951e8fb40e feat: add shortcode for attachments 2017-08-20 23:43:47 +02:00
matcornic
da208441c0 feat: add sticky bar with smooth scroll 2017-08-20 23:43:47 +02:00
matcornic
e37af28876 add parameter to disable copy-to-clipboard function for inline code 2017-08-20 23:43:47 +02:00
matcornic
9eb81efb44 fix busting javascript #47 2017-08-20 23:43:46 +02:00
matcornic
b2ac8298bf feat: support of Hugo 0.22+ #51 #48 #11 #50 2017-08-20 23:43:44 +02:00
lfalin
c68dda185e Fix sticky header jumpiness (see: https://github.com/leafo/sticky-kit/wiki/Troubleshooting) 2017-05-25 22:06:02 -06:00
Nikolay Yakimov
efd220cc3d
Fix breadcrumbs on /content/_index 2017-03-27 23:37:46 +03:00
Nikolay Yakimov
7aa1e70638
Fixes, see description
* fix menu ordering when mixing chapters and non-chapters
* allow for `chapter` type override in `_index` pages
* fix breadcrumbs
* fix some crashes with empty categories
* use page context in list.html (to avoid setting uniqueid in scratch)
* use UniqueID instead of relative links for page identification
2017-03-27 22:57:49 +03:00
Nikolay Yakimov
56791780ac
Merge remote-tracking branch 'origin/master' into use-index-pages 2017-03-26 04:37:32 +03:00
matcornic
4257ec0471 fix: errors when building site with Hugo 0.20 2017-03-25 18:14:50 +01:00
Nikolay Yakimov
79107d2e75
Backwards compatibility 2017-03-14 02:10:33 +03:00
Nikolay Yakimov
23e40c6b5b
Use index pages 2017-03-14 01:07:40 +03:00
Giulio Vian
b8ce3f3c45 Fix URL for 'Edit this page' on Windows 2017-01-05 22:59:15 +01:00
matcornic
256c632662 #25 just prefix with slashes to avoid breaking changes for people using basurl without a trailing slash" 2016-12-20 00:04:24 +01:00
R.I.Pienaar
994e6b1f75 (#25) use .Site.BaseURL to lcoate static assets 2016-12-18 09:48:27 +01:00
Leclerc Gwendal
c645b07402 feat: add search support 2016-10-25 20:26:19 +02:00
Mathieu Cornic
00d849ce1f Revert "Menu generation using Content file instead directories" (#10) 2016-10-02 18:22:32 +02:00
Xipas
64012f31af Added menu generation from defenition on content.md files, selectable using params .createFromSiteMenusMain on toml file. (#5)
Fixes #2
2016-10-02 18:12:30 +02:00
Andre Sousa
079e2a0400 Add Checkmark On visited Links 2016-05-23 21:18:57 +01:00
Mathieu Cornic
f50a77d0c5 feat: partials for style and scripts are now empty 2016-04-11 00:09:03 +02:00
Mathieu Cornic
ab5ed09a77 feat: reset original colors + add note shortcode + split favicon into partial 2016-03-29 00:35:18 +02:00
Leclerc Gwendal
c2d67b677c feat: add annimation on link + fix toc + modify sidebar button 2016-03-26 03:28:38 +01:00
Cornic Mathieu
fb77b7e737 feat(menu): no ul new line when item active with no child ; feat(fork): fork icon instead of github 2016-03-21 16:58:15 +01:00
Mathieu Cornic
b644f0eb7e feat: split partials to have better generecity + added index.html sample page 2016-03-17 21:40:58 +01:00
Mathieu Cornic
e1aae4a2cc feat: added Table of contents 2016-03-17 21:05:42 +01:00
Mathieu Cornic
2b88eae74b feat: implemented functionnalities on Markdown images: 1. featherlight for full size view in popup 2. Height/Width customizables 3. Possibility to add css classes 2016-03-17 17:48:18 +01:00
Mathieu Cornic
0495785eda feat: navigation arrows + breadcrumb 2016-03-17 14:10:43 +01:00
Mathieu Cornic
9246996907 feat: init commit with basic functionnalities 2016-03-17 12:01:39 +01:00