Commit Graph

103 Commits

Author SHA1 Message Date
Aditya Telange 6a9e9e129a
theme-switch-button: init feature (#15)
* thanks to https://feathericons.com for svgs
* can be disabled in site config
   Params:
     disableThemeToggle : true
2020-10-04 20:43:24 +05:30
Aditya Telange af19236002
header: rm unnecessary logo link 2020-10-04 20:25:39 +05:30
Aditya Telange 016dd6e9fa
(lint) remove unnecessary whitespace
created by hugo's {{ }}
2020-09-23 12:52:32 +05:30
Aditya Telange 6770e5e552
menu : add menu location indicator
credits for fix with [.IsMenuCurrent](https://gohugo.io/functions/ismenucurrent/): https://stackoverflow.com/a/56454338
2020-09-20 19:03:43 +05:30
Aditya Telange 2eef3fcc12
automatic theme based on browser theme
usage: add to config
    params:
        defaultTheme: "auto"
2020-09-17 15:28:03 +05:30
Aditya Telange eeb70f3f89
automatic-theme : remove 2020-09-06 20:16:51 +05:30
Aditya Telange e35915a561
support Multilingual navigation
add reading time as i18n
2020-08-25 14:04:59 +05:30
Aditya Telange e17d61b46c
menu : save menu scroll position in localstorage
(ux improve)
2020-08-21 21:03:05 +05:30
Aditya Telange 84ec2bc75f rm redundant code 2020-07-26 20:12:48 +05:30
Aditya Telange 28aa04ddb6 baseof: separate into header, footer 2020-07-21 15:36:30 +05:30
Aditya Telange 8a0783adfb new layout
- create baseof
    - separate list, single
    - header, footer
2020-07-20 20:32:07 +05:30
Aditya Telange 2e0ef75edf separate head 2020-07-20 20:13:51 +05:30
Aditya Telange e6f516da62 theme: don't include set-theme inline 2020-07-20 19:46:19 +05:30
Aditya Telange 2884ee2055 add styles from assets
- bundle an-old-hope and style
    - minify
2020-07-20 19:17:39 +05:30
Paramtamtam 91dabb761f
Update header.html 2020-05-25 10:42:32 +05:00
Ryan Harter 98a6d49c5e
Merge pull request #1 from nanxiaobei/master
rebase
2020-05-22 17:12:46 -05:00
nanxiaobei bcfd902a30 simplify code 2020-03-10 01:50:02 +08:00
nanxiaobei ae2b0c9d96 update html format 2020-03-09 23:56:47 +08:00
Ryan Harter c021eace22 Adds support for custom css. 2020-03-04 22:30:42 -06:00
南小北 35cf31b81f
Update month value 2019-10-20 18:20:15 +08:00
nanxiaobei c163b43b9a Fix Dark Mode logic 2019-10-17 03:02:35 +08:00
nanxiaobei 6725cb9806 Refine Dark Mode code 2019-10-16 11:27:49 +08:00
nanxiaobei a1b778c68a Add Dark Mode core code 2019-10-16 04:15:16 +08:00
nanxiaobei ba297661ff Add dark mode 2019-10-15 01:31:07 +08:00
nanxiaobei ee1f7e5aee Add list dynamic background 2019-09-15 06:55:10 +08:00
nanxiaobei dedfb5a865 Update template order 2019-09-07 20:31:12 +08:00
Pedro Gomes 6143cd2035
Include open graph template in header 2019-09-04 20:28:40 +07:00
nanxiaobei 68a57bbb47 Update layouts 2019-08-20 04:12:49 +08:00
nanxiaobei f91e48e026 Refine head 2019-06-11 03:29:55 +08:00
nanxiaobei 8539fd9440 Fix menu 2019-06-10 07:25:41 +08:00
nanxiaobei 1bc35a3e33 Fix links 2019-06-10 06:59:08 +08:00
nanxiaobei 1304e354dd Merge remote-tracking branch 'origin/master' 2019-06-10 06:53:02 +08:00
nanxiaobei 67767c62c2 Change `.Site.BaseURL` to `absURL` 2019-06-10 06:44:15 +08:00
Dan Jordan bd3ef6a953
Hide the menu toggle if the menu is empty 2019-05-30 22:48:33 +01:00
Philip Khor 8496f3622e
Use global hugo function
When building the site, I get the following warning: 
> Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.

Replacing .Hugo with hugo in header.html removes the warning.
2019-05-04 22:39:34 +08:00
nanxiaobei 8088299ecb Update for 3.0 2019-03-31 20:32:06 +08:00
Kazuki Suda 0fc1a6b5f6 Make theme customizable 2019-03-24 02:05:09 +00:00
南小北 9db7d78fbd
Merge branch 'master' into master 2018-10-31 22:26:44 +08:00
南小北 c53437936b
Merge pull request #11 from izdwuut/highlight
Add highlighting of code snippets with numbered lines enabled.
2018-10-31 22:19:02 +08:00
Daniel 35582be92b removed laggy cdn hosts 2018-10-31 16:42:53 +11:00
南小北 3f18d384bd
Merge pull request #14 from ham1/remove_meta_renderer
Remove meta renderer tag from header
2018-09-28 19:14:32 +08:00
Graham Russell 280f518fbe removed meta renderer tag from header 2018-09-28 17:39:29 +08:00
Graham Russell d31ad9c68f Use .Hugo.Generator instead of adding meta tag manually 2018-09-28 17:34:08 +08:00
Bartosz izdwuut Konikiewicz 52e734fb3c Add highlighting of code snippets with numbered lines enabled. 2018-09-27 13:02:44 +02:00
南小北 1750b5b354
Merge pull request #9 from cemeng/master
🏗️ Add Google analytics support
2018-09-02 14:59:24 +08:00
nanxiaobei 2af70a215f 💄 Update styles 2018-08-16 01:22:33 +08:00
Felix Tjandrawibawa 4976196c96 Add Google analytics support 2018-08-06 22:14:55 +10:00
nanxiaobei d22829882a 🍻 Add `.Site.BaseURL` 2018-07-06 04:17:31 +08:00
nanxiaobei cb2786f9b2 🔖 Upgrade to 1.2 2018-07-06 02:45:58 +08:00
nanxiaobei cfbdd0250f update 2018-03-13 14:31:10 +08:00
nanxiaobei 01aa49cb24 update 2018-03-13 13:46:37 +08:00
nanxiaobei 0b63124530 update theme 2018-03-13 11:58:42 +08:00
Lee 6315d0ab8f Initial commit 2018-01-09 00:28:39 +08:00