Commit Graph

592 Commits

Author SHA1 Message Date
Aditya Telange 07976cdd3c
i18n: translations for en, hi 2020-09-22 13:41:55 +05:30
Aditya Telange 5901cac6c4
post-single : display available translations
in post - meta
2020-09-22 13:41:23 +05:30
Aditya Telange ae2436cc5a
i18n: en: add translation for read_time, toc 2020-09-22 12:59:27 +05:30
Aditya Telange e5a87f786f
i18n: hi: add translation for read_time, toc 2020-09-22 12:57:25 +05:30
Aditya Telange 097eb6baf2
refactor 2020-09-22 12:41:25 +05:30
Aditya Telange fd143fede2
i18n: read_time improvements 2020-09-22 12:40:40 +05:30
Aditya Telange 7cc579f197
i18n: add support for toc translation 2020-09-22 12:04:14 +05:30
Aditya Telange b7490b8401
Update README.md
add code-size
2020-09-21 22:54:02 +05:30
Aditya Telange 47269d78ff
Update README.md
add Quality Gate Status
2020-09-21 16:06:38 +05:30
Aditya Telange a446401d47
share-icons: remove name attr
* deprecated in HTML5
2020-09-21 15:59:10 +05:30
Aditya Telange 06786d7451
css: merge duplicate selectors 2020-09-21 15:56:29 +05:30
Aditya Telange 06f09594dd
layouts: add rel="noopener noreferrer"
to outgoing links
2020-09-21 15:53:59 +05:30
Aditya Telange 873bc34d45
misc: refactor
* accessibility, duplicate code
2020-09-21 15:44:37 +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 46a092553a
profile-mode buttons: rm unnecesary div 2020-09-20 17:05:19 +05:30
Aditya Telange abea879e68
css: pagination buttons
* does same job with less code
2020-09-20 17:03:08 +05:30
Aditya Telange 81b0b0c809
archives : improvements 2020-09-20 17:00:45 +05:30
Aditya Telange e91b15284a
css : refactor all margins
* hope this does not break anything xd
2020-09-20 16:33:50 +05:30
Aditya Telange 1e5f020efb
footer : add git.io shortened url 2020-09-20 13:24:38 +05:30
Pyvain 6178d4d02a fix code overflow without highlightjs 2020-09-20 11:33:58 +05:30
Pyvain 6bff959d62 Fix interversion of next and prev translations 2020-09-20 09:17:42 +05:30
Pyvain f7bf814ec9 Add i18n support for French 2020-09-20 09:16:07 +05:30
Aditya Telange 082d960e13
Revert "home-info: handle case where home-info was hidden"
This reverts commit ce408f6afc.

* incomplete
2020-09-19 17:29:38 +05:30
Aditya Telange 7204003afd
accessibility : add aria-label to share-icons 2020-09-19 17:19:55 +05:30
Aditya Telange 32289fe2e7
toc : use newer toc partial and indent elements
fixes : https://github.com/adityatelange/hugo-PaperMod/issues/2
2020-09-19 17:03:27 +05:30
Allan Chain 43d1c68ef4
toc: add toc partial [newer impl]
* gets toc fixed

Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-09-19 17:02:20 +05:30
Aditya Telange 7820730b04
hljs, an-old-hope: update v9.18.3 -> v10.2.0
* credits : https://cdnjs.com/libraries/highlight.js
2020-09-18 18:36:48 +05:30
Aditya Telange ce408f6afc
home-info: handle case where home-info was hidden
when num of posts = 0
2020-09-17 16:14:56 +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 3081579764
homeinfo : allow markdown 2020-09-17 15:14:38 +05:30
Aditya Telange e96e4e51c7
image themefy : inside post not globally 2020-09-17 15:08:56 +05:30
Aditya Telange db1ec959aa
fix: for ebb9eb4043
* Browser errors were logged to the console
2020-09-17 14:57:20 +05:30
Aditya Telange d3517dadbf
head : improve meta 2020-09-17 14:03:57 +05:30
Aditya Telange c7885d62a2
fix: for ebb9eb , partialCached impl 2020-09-17 12:07:32 +05:30
Aditya Telange ebb9eb4043
highlightjs : include only on pages with mainSections
* this makes hljs not load on index, taxonomies, archive
pages where code highlighting isn't used
* improving page site load time
2020-09-17 11:56:28 +05:30
Aditya Telange 4ded4a5052
README: add link to hugo themes 2020-09-16 20:36:26 +05:30
Aditya Telange a8652f57f3
toc: add option to open toc details by default
usage: in page params add (yml)
TocOpen: true
2020-09-16 15:41:28 +05:30
Aditya Telange 8f7a04337f
css : post : imrove <hr> 2020-09-16 15:29:50 +05:30
Aditya Telange bcba19789a
css: themify image boder radius 2020-09-16 14:53:48 +05:30
Aditya Telange 8c7a9cf1d7
css: post: improve code block inside blockquote
* fix padding on lager screns
2020-09-16 14:14:47 +05:30
Aditya Telange ac4ed69368
blockquote : move to toc 2020-09-16 12:40:56 +05:30
Aditya Telange 3231d00da4
terms : update 2020-09-15 23:42:58 +05:30
Aditya Telange f669a90052
go-to-top: add title
* accessibility
2020-09-15 23:11:06 +05:30
Aditya Telange 2623cd8f8b
css: main : toc : add cursor as zoom
* accessibility
2020-09-15 23:03:49 +05:30
Aditya Telange 94b67a5dc9
css: reset: disbale highlight on focus 2020-09-15 22:36:29 +05:30
Aditya Telange 6813112e25
layouts: single: update post meta 2020-09-15 22:32:34 +05:30
Aditya Telange 9c861cb77f
Special-1st-Post: allow disabling the special highlight of 1st Post
* usage => in site config
    params:
        disableSpecial1stPost : true
2020-09-14 22:50:04 +05:30
Aditya Telange 9ab747c654
fix: cover image in Normal Mode
fixes: https://github.com/adityatelange/hugo-PaperMod/issues/1
2020-09-14 22:39:31 +05:30
Aditya Telange 1c0fc8a5c7
README : refactor 2020-09-14 18:17:01 +05:30
Aditya Telange 303d0dec7e
README: add credits 2020-09-14 18:15:54 +05:30