Commit graph

1158 commits

Author SHA1 Message Date
Christopher Greaves
55b1b8ee83 fix issue where "children" shortcode only shows top level. 2019-04-16 18:45:22 +01:00
Berry Phillips
85711377a9 Fix invalid HTML in 404 template.
Fixes https://github.com/matcornic/hugo-theme-learn/issues/270
2019-04-12 09:21:59 +09:00
ozobi
18212e6759 Update search.js
fixed indent
2019-04-01 22:31:07 +01:00
ozobi
a296946748 Update header.html
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
ozobi
f2ef666790 Update js and css 2019-04-01 22:31:07 +01:00
Matthew Taylor
fe50075c9d Merge branch 'pdelaby-master' 2019-03-25 21:02:06 +00: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
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
Pierre Adam
2dbd46d4ec Fix translation when using a custom baseURL
When the baseURL is not / using $translation.URL is ignoring the baseURL. In order to sort this behavior, $translation.Permalink is working just fine.
2019-03-15 16:15:57 +00:00
Christian Oliff
07addb4c99 Add .editorconfig 2019-03-15 16:10:45 +00:00
Sakamoto, Kazunori
e5089aaa2f Use style instead of width and height in logo
Close #249
2019-03-15 16:09:26 +00:00
Massimeddu Cireddu
84931c1312 Update documentation 2019-03-15 16:03:59 +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
Matthew Taylor
4fc43548b5
Merge pull request #227 from coliff/patch-3
remove duplicate icon and fix incorrect favicon type
2019-02-19 10:36:59 +00:00
Matthew Taylor
74c022e39f
Merge pull request #239 from editicalu/dutch
Dutch i18n
2019-02-17 19:54:22 +00:00
Matthew Taylor
d457e9da08
Merge pull request #223 from coliff/patch-1
HTTPS links in exampleSite menu-footer
2019-02-17 19:48:38 +00:00
Matthew Taylor
d6cce1c3ff
Merge pull request #241 from taiidani/patch-1
Preventing left/right arrow key navigation in textareas
2019-02-17 19:45:30 +00:00
Matthew Taylor
4936a52a42
Merge pull request #229 from IEvangelist/patch-1
Update menu.html to include the check icon
2019-02-17 19:44:28 +00:00
Ryan Nixon
ef2ab7ad8a
Preventing left/right arrow key navigation in textareas 2019-02-15 10:11:16 -08:00
Ward Segers
da55f6ad1c
Dutch translation 2019-02-14 13:40:43 +01:00
Matthew Taylor
7f5e927f0c Ship tag 2.2.0 2019-01-28 01:08:48 +00:00
David Pine
e10b558f34
Update menu.html to include the check icon
I'm seeing issues where the check icon is not rendered. It seems like it this `<i></i>` element was mistakenly missing the additional class required in order for it to actually render the font-awesome check icon. So, I added the `fa-check` class locally and now it works as expected.
2019-01-21 12:55:01 -06:00
Christian Oliff
43d3f15535
remove duplicate icon and fix incorrect favicon type 2019-01-04 17:21:03 +09: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
Christian Oliff
41fd2a91ba
HTTPS links in exampleSite menu-footer 2018-12-23 15:41:28 +09: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
Mathieu Cornic
59b4f36e9f
Merge pull request #219 from shelane/patch-1
prevents left and right keydown in input fields
2018-12-22 17:10:51 +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
85e0b8d284
Merge pull request #215 from coliff/patch-5
This fixes the close/cancel search icon not showing
2018-12-21 02:11:03 +00:00
Matthew Taylor
8af73c2745
Merge branch 'master' into patch-5 2018-12-21 02:09:59 +00:00
Matthew Taylor
4d2977e57b Upgrade fontawesome to 5.6.3 2018-12-21 02:04:37 +00:00
Matthew Taylor
0ed4fe1db4
Merge pull request #169 from leonstafford/update-mermaid
fix clickable nodes style in mermaid
2018-12-21 01:44:44 +00:00
Matthew Taylor
2bc33bc997 Use correct input type for search 2018-12-21 01:35:42 +00:00
Matthew Taylor
5ea22cec38
Merge pull request #205 from coliff/patch-1
Use correct input type for search
2018-12-21 00:40:04 +00:00
Matthew Taylor
a867a476a8
Merge pull request #207 from coliff/patch-2
HTTPS link to learn.getgrav.org
2018-12-21 00:39:10 +00:00
Matthew Taylor
77b0a9de9c
Merge pull request #217 from matalo33/netlify-toml
Set build steps in config
2018-12-21 00:33:42 +00:00
Matthew Taylor
d66765e463 Set build steps in config 2018-12-21 00:31:13 +00:00
Christian Oliff
3193a849c1
This fixes the close/cancel search icon not showing
This fixes issue: #209
2018-12-21 01:15:38 +09:00
Matthew Taylor
0b3ae7a7a7
Merge pull request #199 from massimeddu/master
Upgrade mermaid.js to 8.0.0-rc.8
2018-12-20 13:59:50 +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
Christian Oliff
58b39464af
HTTPS link to learn.getgrav.org 2018-12-14 00:08:22 +09:00
Christian Oliff
3ea5860c3e
Use correct input type for search
This doesn't change functionality but could aid with accessibility and is more semantically correct.
2018-12-13 21:59:54 +09:00
Matthew Taylor
1d2d7f97a6
Merge pull request #200 from coliff/patch-1
HTTPS links
2018-12-13 12:57:14 +00:00
Christian Oliff
03ba548954
HTTPS links 2018-12-07 16:14:14 +09:00