Michael T Lombardi (He/Him)
6aef8ef1c7
(GH-375) Enable use as a hugo module ( #376 )
...
This commit does the minimal work to make the Book theme a functional
hugo module by adding the go.mod file and including instructions in
the project README for use.
Resolves #375
2021-09-07 22:05:33 +02:00
Alex Shpak
a656d711bf
Upgrade flexsearch and mermaid
2021-08-30 14:47:27 +02:00
Alex Shpak
0cde2e461d
#370 : Allow markdown in details shortcode, also change markdownify to RenderString in other shortcodes
2021-08-30 14:32:11 +02:00
Alex Shpak
4c1de2b3de
#374 : set auto height for images in markdown
2021-08-30 14:15:57 +02:00
Alex Shpak
26de844a19
#343 , #165 : Move lang selector to left menu
2021-08-18 11:12:58 +02:00
Alex Shpak
50147be131
Update README.md
2021-07-25 22:44:14 +02:00
Alex Shpak
deb00bcad2
Update theme.toml
2021-07-25 22:41:58 +02:00
逊狼
92d97049cf
issues 362 ( #364 )
...
* 🐞 fix issues 352
Solve this problem:
https://github.com/alex-shpak/hugo-book/issues/352
The Reason:
https://github.com/gohugoio/hugo/issues/8688
* fix issues 362
https://github.com/alex-shpak/hugo-book/issues/362
* Revert "🐞 fix issues 352"
This reverts commit 58f8935d1e
.
* Revert "Revert "🐞 fix issues 352""
This reverts commit fa0d46ccf5
.
* fix issues 362
* Update columns.html
* Revert "Revert "Revert "🐞 fix issues 352"""
This reverts commit 79777a9e84
.
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2021-07-20 16:20:43 +02:00
Marco Guerrini
c4d69635af
Added italian translation ( #356 )
2021-07-01 11:26:02 +02:00
xhdix
e939f40314
Add Farsi with support for search RTL texts ( #350 )
...
Farsi/Parsi/Persian
2021-06-21 21:11:36 +02:00
xhdix
0d2ed5586e
Change collapsed icon in menu for RTL pages ( #354 )
2021-06-21 20:18:14 +02:00
xhdix
379e311d7e
Fix menu not working in RTL menu ( #349 )
2021-06-08 10:08:46 +02:00
Nikolay Raspopov
4540d66e3b
Document removal of internal hugo templates ( #345 )
2021-05-27 09:11:13 +02:00
Alex Shpak
fde10f1319
#285 , skip integrity attribute if site is built without hostname
2021-05-21 00:50:38 +02:00
Alex Shpak
f6e8d1b693
Add deprecation notice for menu bundle
2021-05-21 00:46:53 +02:00
Nikolay Raspopov
345cb5d947
Prefer existing and translated variant of home page ( #342 )
...
* Prefer existing and translated variant of home page as the site link in the menu header.
* More compact "cond"-version of fix.
2021-05-20 22:02:31 +02:00
Alex Shpak
553d378db3
Fix lighthouse remarks: icon sizes, noopener
2021-05-20 19:00:15 +02:00
Alex Shpak
195138cad0
Update roboto fonts
2021-05-20 11:28:51 +02:00
Alex Shpak
9b2e21f870
Refactor search, syntax error
2021-05-19 20:28:21 +02:00
Alex Shpak
d7c644f0e7
Refactor search, prepare for pre-built indexing
2021-05-19 20:26:21 +02:00
Alex Shpak
843144dd85
Regression, fix menu reset script
2021-05-19 20:12:27 +02:00
Nikolay Raspopov
4d936a55d8
Fixed ineffective "disableHugoGeneratorInject" parameter ( #337 )
...
Fixed issue #336 . HUGO does not use `{{ hugo.Generator }}` placeholder anymore.
2021-05-06 09:33:18 +02:00
Alex Shpak
6720168dd5
#281 , Copy code block content on click
2021-05-03 23:52:00 +02:00
Alex Shpak
6a1932611c
Update MermaidJS example
2021-05-03 23:14:20 +02:00
Alex Shpak
e611f564bb
Update archetypes
2021-05-03 23:06:43 +02:00
Alex Shpak
f4a26ff3da
Imporove sectiopn shortcode example
2021-05-03 22:59:33 +02:00
Alex Shpak
9e9c7d3403
Improve posts title rendering
2021-05-03 22:05:25 +02:00
Alex Shpak
c197f3399b
#286 , Add ability to set image for posts
2021-05-03 21:47:19 +02:00
Pim Snel
e0823c2138
collapsed menu right arrow, uncollapsed down arrow ( #332 )
2021-05-03 21:18:49 +02:00
Hsin-Hsiang Peng
51140a8026
add Traditional Chinese i18n translation ( #335 )
...
Add the Traditional Chinese i18n translation for language code "zh-TW".
Ref: https://discourse.gohugo.io/t/i18n-support-for-language-country-code/20303
2021-05-03 21:17:44 +02:00
Pim Snel
62004506e2
change master to github's new default main branch ( #325 )
2021-04-11 17:51:42 +02:00
Collin Brooks
ba38e17b1b
Add custom commit path for last edited link ( #319 )
...
- A new `BookCommitPath` paramter was added that allows the 'commit'
portion of the link to a page's last edited commit hash to be
specified.
- This is useful when github is not the default repository for a
project.
Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
2021-04-11 17:50:54 +02:00
Collin Brooks
e2786374ad
Add documentation for mermaid init config override ( #317 )
...
* Add documentation for mermaid init config override
* Capitalize Mermaid
Co-authored-by: Collin Brooks <cbrooks@sentryds.com>
2021-04-11 17:49:09 +02:00
Abu Zafar
1e4bcc2cc3
Mj abuz patch 2 ( #314 )
...
* Create bn.yml
Adding Bengali (BN)
* Create _index.md
Bengali(BN)
* Rename bn.yml to bn.yaml
Typo Mistake
2021-03-08 12:27:50 +01:00
Caleb Jasik
9791db1ce7
Bug Fix: Empty .Site.Params.contentDir ( #312 )
...
* Bug Fix: Empty .Site.Params.contentDir
When .Site.Params.contentDir is left as the default: "content", calling .Site.Params.contentDir returns nothing, or maybe an empty string. To fix this, we set a default value for .Site.Params.contentDir to "content" and the url is built correctly.
* Use the `default` function instead of `or`
https://gohugo.io/functions/default/
2021-02-22 19:48:49 +01:00
Nikolay Raspopov
27c1791144
Let's enable markdown in the button title ( #308 )
...
Added " | markdownify" to the inner text of button.
2021-02-19 11:55:53 +01:00
Nikolay Raspopov
cb57401039
Added default dir="ltr" ( #307 )
...
Added default (i.e. "ltr") value of "dir" attribute of "html" and "body" tags instead of empty.
2021-02-03 09:42:32 +01:00
Alex Shpak
60dfd9aa4b
Set BookTranslatedOnly to false for example site
2021-01-29 10:54:35 +01:00
Alex Shpak
d9fe59a6e9
Refactor aside menus, add extra wrapper
2021-01-26 22:20:30 +01:00
Tiger Oakes
012ccee53d
Add before and after partials for toc ( #296 )
...
Closes #257
2021-01-26 18:45:08 +01:00
Ayush Agarwal
a12baf0e01
upgrade mermaidjs to v8.9.0 ( #305 )
...
this fixes the following issue
https://github.com/mermaid-js/mermaid/issues/1836
the sha256sum of mermaid.min.js downloaded from the following link as on
2021-01-26 09:36:19 UTC
https://unpkg.com/mermaid@8.9.0/dist/mermaid.min.js
is
910e77c953c7417fd61148fc61b175624001bdd3c6e977e228fcb30607f7bd42
2021-01-26 18:16:35 +01:00
Alex Ivanov
c828c6660f
Add OnlyTranslated property ( #303 )
...
* Add OnlyTranslated property
Signed-off-by: Alex Ivanov <ai@contributor.pw>
* Add newlines
Signed-off-by: Alex Ivanov <ai@contributor.pw>
* rename property
Signed-off-by: Alex Ivanov <ai@contributor.pw>
2021-01-21 11:42:26 +01:00
Yağızhan
e53a638b2c
Adding Turkish translations ( #300 )
...
* Create tr.yaml
* Update tr.yaml
Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
2020-12-23 11:51:50 +01:00
Shohei Ueda
a486adf846
Add hugo.Generator ( #290 )
...
https://gohugo.io/functions/hugo
2020-11-14 21:40:16 +01:00
Shohei Ueda
f66a45df04
Improve GitHub Actions workflow ( #289 )
...
- Use the strategy.matrix syntax
- Use peaceiris/actions-hugo: https://github.com/peaceiris/actions-hugo
2020-11-14 21:40:00 +01:00
Alex Shpak
f9643aa6b7
Fix styles on flat and collapsed section
2020-09-22 10:33:14 +02:00
Alex Shpak
269e4de142
Set default value for color scheme to light
2020-09-22 09:37:53 +02:00
Alex Shpak
b76bdd715b
#242 , Add bookSearchExclude frontmatter param
2020-09-15 00:17:28 +02:00
Alex Shpak
5cc3d6719c
#231 , Allow open collapsed menu without changing page
2020-09-14 22:45:58 +02:00
Alex Shpak
4e34988b5d
#151 , move SCSS vars to CSS vars, implement dark and light modes by browser preference
2020-09-14 00:02:55 +02:00