Commit graph

697 commits

Author SHA1 Message Date
Sören Weber
1cad4cc2f6 Remove navigation arrows from print 2020-10-05 12:19:52 +02:00
mirisbowring
023fe7ef2b
Customize mermaid module (#362)
* enabled mermaid by default

* implemented logic to use internal oder cdn mermaid

* added english documentation

* added french translation for the mermaid options

* Removed useless test print

* Hugo does not use upper case letters in params

* fixed false sample link

* improved mermaid pages

* fixed always load mermaid if no frontmatter specified

* fixed mermaid samples

* removed obsolete css files

* changed default version of mermaid cdn

* renamed mermaidURL to customMermaidURL and removed css link

* improved mermaid configuration description

Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de>
Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
2020-09-11 14:57:25 +01:00
Adam Snyder
21a3f77b14
Remove code that adjusts navigation margin (#419) 2020-09-10 17:21:20 +01:00
Susan Potter
699c9fdf9f
Upgrade mermaid-js/mermaid @ 0918b97 (v8.8.0) (#443)
* Upgrade mermaid-js/mermaid @ 0918b97

* Update exampleSite with new mermaid graph (stateDiagram-v2) example

* Update content of mermaid.js with officially distributed v8.8.0 minified version
2020-09-10 17:12:32 +01:00
Nina Zakharenko
704648b6a7 Make copy to clipboard button lighter color, hover matches links 2020-09-10 15:10:56 +01:00
Matthew Taylor
8349d619a5 Apply updated highlight.js 10.0.3 (a4b1bd2d) 2020-06-01 14:59:19 +01:00
Jared Stehler
54b373f350 fix null pointer when no params on image url 2020-06-01 13:00:37 +01:00
Jian
3ea5bca755 Added flag to turn off image featherlight 2020-02-01 22:58:17 +00:00
ImgBotApp
bed0a6c0d0 [ImgBot] Optimize images
*Total -- 2,430.13kb -> 2,350.51kb (3.28%)

/exampleSite/static/images/showcase/inteliver_docs.png -- 108.40kb -> 78.86kb (27.25%)
/static/fonts/Novecentosanswide-Normal-webfont.svg -- 100.88kb -> 96.30kb (4.54%)
/static/fonts/Novecentosanswide-UltraLight-webfont.svg -- 93.99kb -> 89.81kb (4.44%)
/static/webfonts/fa-regular-400.svg -- 136.55kb -> 132.62kb (2.88%)
/static/webfonts/fa-solid-900.svg -- 775.44kb -> 753.61kb (2.82%)
/static/fonts/Work_Sans_500.svg -- 54.16kb -> 53.15kb (1.88%)
/static/fonts/Work_Sans_300.svg -- 54.52kb -> 53.50kb (1.87%)
/static/fonts/Work_Sans_200.svg -- 54.57kb -> 53.55kb (1.87%)
/static/fonts/Inconsolata.svg -- 61.54kb -> 60.54kb (1.63%)
/static/webfonts/fa-brands-400.svg -- 732.17kb -> 722.07kb (1.38%)
/exampleSite/static/fonts/monogramos-webfont.svg -- 257.41kb -> 256.00kb (0.55%)
/static/images/clippy.svg -- 0.50kb -> 0.50kb (0.2%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-02-01 22:50:45 +00:00
Fritz Michael Gschwantner
15f890999f fix select option color in Chrome 2020-02-01 22:41:47 +00:00
Christian Oliff
c8b5c2e176
change to minified autocomplete for improved performance
from:  https://github.com/Pixabay/JavaScript-autoComplete/blob/master/auto-complete.min.js
2019-08-12 10:31:28 +09:00
Christian Oliff
3c4599428e Delete html5shiv-printshiv.min.js 2019-08-12 01:03:44 +01:00
Matthew Taylor
258877709c Remove oudated versions of jquery & modernizr libraries 2019-04-16 18:47:14 +01:00
ozobi
18212e6759 Update search.js
fixed indent
2019-04-01 22:31:07 +01:00
ozobi
c5033d3ee6 update js
highlightJS -> https://highlightjs.org/download/ => update with desired languages, default: https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.14.2/highlight.min.js
modernizr -> https://modernizr.com/download/?csstransforms3d-domprefixes-prefixes-setclasses-shiv-testallprops-testprop-teststyles
lunrJS -> https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.5/lunr.min.js
clipboard -> https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js
jquery -> https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
featherlight -> https://cdnjs.cloudflare.com/ajax/libs/featherlight/1.7.13/featherlight.min.js
search.js -> updated for lunrJS 2.3.5
learn.js -> updated for clipboard
2019-04-01 22:31:07 +01:00
ozobi
2463671e20 Update css
Add highlight.js theme
Update theme to match highlight.js theme
Update featherlight
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
ImgBotApp
26748c29e9 [ImgBot] Optimize images
*Total -- 2,545.56kb -> 1,758.74kb (30.91%)

/static/images/favicon.png -- 1.22kb -> 0.59kb (51.48%)
/exampleSite/content/basics/installation/images/chapter.png -- 85.71kb -> 46.66kb (45.56%)
/exampleSite/content/cont/pages/images/pages-chapter.png -- 243.33kb -> 152.42kb (37.36%)
/exampleSite/content/basics/style-customization/images/red-variant.png -- 380.82kb -> 239.39kb (37.14%)
/exampleSite/content/basics/style-customization/images/blue-variant.png -- 380.01kb -> 238.93kb (37.13%)
/exampleSite/content/basics/style-customization/images/green-variant.png -- 381.74kb -> 240.20kb (37.08%)
/exampleSite/content/cont/pages/images/pages-default.png -- 310.79kb -> 196.47kb (36.78%)
/exampleSite/static/images/showcase/tat.png -- 405.21kb -> 302.69kb (25.3%)
/static/images/gopher-404.jpg -- 215.36kb -> 201.42kb (6.47%)
/images/tn.png -- 141.37kb -> 139.98kb (0.99%)
2019-03-15 16:47:53 +00:00
Massimeddu Cireddu
426ad13f85 Update hugo-learn.js 2019-03-15 16:03:59 +00:00
Massimeddu Cireddu
16782b2425 Render the ```mermaid blocks into graphs 2019-03-15 16:03:59 +00:00
Ryan Nixon
ef2ab7ad8a
Preventing left/right arrow key navigation in textareas 2019-02-15 10:11:16 -08:00
Matthew Taylor
ed760baf3f
Merge pull request #218 from matalo33/fa-561
Upgrade fontawesome to 5.6.3
2018-12-23 19:03:55 +00:00
Mathieu Cornic
43d05a81ac
Merge pull request #208 from coliff/patch-3
Update html5shiv-printshiv.min.js
2018-12-22 17:20:38 +01:00
Mathieu Cornic
56ff68d245
Merge pull request #211 from coliff/patch-4
remove whitespace from SVG = smaller filesize
2018-12-22 17:13:48 +01:00
Shelane French
d03bc79a78
prevents left and right keydown in input fields
If input field is in focus, keydown event to trigger navigation change should
not fire. User should expect cursor to stay in input field when using arrow keys.
2018-12-20 19:22:04 -08:00
Matthew Taylor
4d2977e57b Upgrade fontawesome to 5.6.3 2018-12-21 02:04:37 +00:00
Matthew Taylor
2bc33bc997 Use correct input type for search 2018-12-21 01:35:42 +00:00
Christian Oliff
9b621d36f7
remove whitespace from SVG = smaller filesize 2018-12-18 23:09:35 +09:00
Christian Oliff
fdaf35b72c
Update html5shiv-printshiv.min.js
Update to final version:
https://github.com/aFarkas/html5shiv/blob/master/dist/html5shiv-printshiv.min.js
2018-12-14 00:11:03 +09:00
Massimo Cireddu
c168919399
This close #198 2018-12-03 17:40:21 +01:00
Delaby Pierre
5f53dfaa15 Add documentation an theme variants 2018-11-29 09:34:55 +01:00
Matthew Taylor
2bed235a91
Merge pull request #167 from lloydbenson/master
remove source map metadata since .map is not included in the theme to…
2018-11-01 19:53:27 -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
John.Allen2
e92b794700 xss fix 2018-10-11 08:47:20 -05:00
Lloyd Benson
92d8204121 remove source map metadata since .map is not included in the theme to fix firefox 404s 2018-10-01 13:36:06 -05:00
Mathieu Cornic
707af40051 feat: update font-awesome to 5.2.0 2018-08-10 11:17:47 +02: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
Mathieu Cornic
d9b99afc39
Merge pull request #114 from mdavids/patch-3
Issue #111 for theme-green.css
2018-01-23 18:07:25 +01:00
Mathieu Cornic
18dccb5b59
Merge pull request #113 from mdavids/patch-2
Issue #111 for theme-red.css
2018-01-23 18:07:16 +01:00
Mathieu Cornic
d90e6e4a72
Merge pull request #112 from mdavids/patch-1
Issue #111 for theme-blue.css
2018-01-23 18:06:55 +01:00
Alex Vargas Benamburg
d67055469d fix: no wrap images that already wrapped 2018-01-22 23:33:14 -06:00
Marco Davids
890e2cf0ea
Issue #111 for theme-green.css 2018-01-22 22:37:25 +01:00
Marco Davids
2b28b11bd0
Issue #111 for theme-red.css 2018-01-22 22:35:58 +01:00
Marco Davids
eb18988805
Issue #111 for theme-blue.css 2018-01-22 22:34:35 +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
kamar535
377f63e9b0 Don't add class highlight to footnote links 2017-11-23 16:16:14 +01:00
Ryan McGuire
ff5ef7c020 Replace horsey with Pixabay's autocomplete (#75) 2017-09-28 18:47:26 +02:00
matcornic
52e897dcb9 changed defaults + scroll with offset 2017-08-20 23:43:49 +02:00
matcornic
c1d1d7a2c4 Add variant theme rule for anchors 2017-08-20 23:43:48 +02:00
matcornic
88f55b81ca feat: add red and green variant themes 2017-08-20 23:43:48 +02:00
matcornic
1df25a3f06 feat: slight changes to blue theme 2017-08-20 23:43:48 +02:00
matcornic
7ca4b0c7ad feat: add theme variant system + add blue variant 2017-08-20 23:43:48 +02:00
matcornic
eb60debba2 feat: add 'more' section in left menu 2017-08-20 23:43:47 +02:00
matcornic
389b9858a4 feat(attachments): rename styles with colors + delete red style + add grey style 2017-08-20 23:43:47 +02:00
matcornic
3e61961bfa feat: add children shortcode 2017-08-20 23:43:47 +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
2294a54b36 fixed scrollbar in left menu 2017-08-20 23:43:46 +02:00
matcornic
b39d9528ab Update font-awesome 2017-08-20 23:43:46 +02:00
matcornic
157e3ac512 feat: add full i18n. Select desired language in the site automatically 2017-08-20 23:43:46 +02:00
matcornic
2b03e2568e feat: mermaid #53 + archetypes + move doc + expand 2017-08-20 23:43:45 +02:00
matcornic
b2ac8298bf feat: support of Hugo 0.22+ #51 #48 #11 #50 2017-08-20 23:43:44 +02:00
Mathieu Cornic
aacdba800a Merge pull request #46 from lfalin/anchor-fix
Fix anchor scrolling that hides behind top nav bar
2017-05-29 19:43:21 +02:00
lfalin
0e61c86a9f Fix anchor scrolling that hides behind top nav bar 2017-05-27 18:27:37 -06:00
lfalin
c68dda185e Fix sticky header jumpiness (see: https://github.com/leafo/sticky-kit/wiki/Troubleshooting) 2017-05-25 22:06:02 -06:00
Thibaut Rousseau
67d9cb6564 feat: Change the default code color 2017-05-16 11:53:01 +02:00
matcornic
797ac73ff9 fixes #40 2017-04-23 12:35:11 +02:00
Rousseau Thibaut
ac8edeb48a feat: handle inline images 2017-01-27 16:37:22 +01:00
Rousseau Thibaut
8cd2705ceb feat: style Hugo figure shortcode 2017-01-27 16:12:23 +01:00
matcornic
31bb6502e4 fix #23 : h5 font size to rem 2016-11-24 20:43:37 +01:00
matcornic
0fcd28a412 fix #20 : disable spacer for sticky-bar 2016-10-27 23:19:29 +02:00
Leclerc Gwendal
656a8b391f fix: add baseUrl to lunr suggestions href 2016-10-26 11:09:28 +02:00
Leclerc Gwendal
4218d1a27d feat: extract search out of header + use baseurl to search json index + add a step to explain how to use lunr-hugo + update perfect-scrollbar 2016-10-25 20:26:19 +02:00
Leclerc Gwendal
363bb68e42 feat: configure lunr, extract inline javascript in search.js and fix horsey popup position 2016-10-25 20:26:19 +02:00
Leclerc Gwendal
c645b07402 feat: add search support 2016-10-25 20:26:19 +02:00
Mathieu Cornic
de8584e890 fix(visitedLinks) : Fontawesome icon works again in menu (+ changed color of check icon) 2016-06-05 16:42:16 +02:00
Andre Sousa
e0782779f1 Add checkmark icon align to right and colo 2016-05-24 15:52:17 +01:00
Cornic Mathieu
75df02c3ab clean : delete console.log and update jquery 2016-04-15 10:03:17 +02:00
Mathieu Cornic
7dec822ae5 feat: changed favicon.png 2016-04-12 01:54:20 +02:00
Mathieu Cornic
29b9a962eb feat: add 404 page 2016-04-12 01:46:08 +02:00
Mathieu Cornic
afb1714e30 feat: changed global styling for headers and p 2016-04-12 01:30:29 +02:00
Mathieu Cornic
f50a77d0c5 feat: partials for style and scripts are now empty 2016-04-11 00:09:03 +02:00
Cornic Mathieu
b6c8ef14e0 feat: add anchor link to headers 2016-03-30 19:33:02 +02:00
Mathieu Cornic
6bbcccac88 Merge branch 'master' of https://github.com/matcornic/hugo-theme-learn 2016-03-29 00:35:44 +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
1b1544f9cc feat: add button shortcode 2016-03-27 14:24:51 +02:00
Leclerc Gwendal
c2d67b677c feat: add annimation on link + fix toc + modify sidebar button 2016-03-26 03:28:38 +01:00
Leclerc Gwendal
301c7c5fb9 feat: modify <code> background color 2016-03-25 19:10:51 +01:00
Leclerc Gwendal
6686e925c0 feat: replacing jquery.scrollbar by perfect-scrollbar 2016-03-25 11:53:03 +01:00
Mathieu Cornic
40bdb505df feat: sticky top bar 2016-03-18 19:00:27 +01:00
Mathieu Cornic
4683d790f6 clean 2016-03-18 18:32:57 +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