Commit Graph

55 Commits

Author SHA1 Message Date
Aditya Telange e35915a561
support Multilingual navigation
add reading time as i18n
2020-08-25 14:04:59 +05:30
Aditya Telange f852d06923
profile-mode : include social icons
usage : in config
 params:
   profileMode:
     socialIcons:
       - name: "<platform>"
         url: : "<link>"
2020-08-24 16:58:47 +05:30
Aditya Telange 6be9da45ab
profileMode : init
usaage, in config add
params:
    profileMode:
      title: "PaperMod" // or default will be site.title
      imageUrl: "<image_link>"
2020-08-23 18:19:41 +05:30
Aditya Telange 8af56e302d
share-buttons: fix icons not shown
when no tags were present
2020-08-23 16:35:53 +05:30
Aditya Telange 96d11d0505
move-to-top : scroll to body start 2020-08-21 21:13:13 +05:30
Aditya Telange 274688f238
layouts/single : add option to disable Post-meta
i.e. date, author-info
    can be used for posts which are just info, and not a 'post'

set `hideMeta = true` in Page Variables (https://gohugo.io/variables/page/#page-variables)
2020-08-20 22:28:54 +05:30
Aditya Telange 94eada156d draft tag `[draft]` improve 2020-07-28 12:36:53 +05:30
Aditya Telange e0b08519c9 add Share Buttons
use Params.ShowShareButtons = true

    credits : https://www.iconfinder.com/iconsets/social-media-rounded-corners
    License:	Free for commercial use
2020-07-27 14:28:58 +05:30
Aditya Telange 1329075c61 add scroll to top button 2020-07-27 12:04:36 +05:30
Aditya Telange 06c52025dc list, index : draft : show some space before [draft] 2020-07-26 19:19:52 +05:30
Aditya Telange fff89a4e30 list, index : show post authors 2020-07-26 19:17:04 +05:30
Aditya Telange ea129c608d list, index : show reading time
if Params.ShowReadingTime = true
2020-07-26 19:15:58 +05:30
Aditya Telange 880ce9bf68 pagination: buttons: new arrow icons 2020-07-26 19:09:38 +05:30
Aditya Telange c76ab82a3c baseof: archive to use body class list 2020-07-25 13:15:32 +05:30
Aditya Telange 2e9aef08a5 Add Taxonomy Pages
- known as terms
    - ex Tags, Categories
2020-07-25 11:57:18 +05:30
Aditya Telange db338970a1 archive: title use page-header class 2020-07-25 11:35:55 +05:30
Aditya Telange 57a8706d37 Revert "list: rm title"
This reverts commit d7d5a15da7.
2020-07-25 10:27:20 +05:30
Aditya Telange 16b98dc8f9 toc: look cool
- improve toc styling
    - make collapsable
2020-07-24 23:53:25 +05:30
Aditya Telange c06357a604 add Table of Contents
- can be used by
     `ShowToc = true` in Single Post params
2020-07-24 22:03:13 +05:30
Aditya Telange d005d7d2bb add [draft] mark
- to identify drafts from other posts
2020-07-24 20:46:33 +05:30
Aditya Telange 523098f87e fix: make homeInfo available only on home
and not all pages
2020-07-24 15:19:59 +05:30
Aditya Telange 8356e48e47 Add option to use 1st entry as some Information
Currenty supports 2 vals Title and Content
Great for short intro for bloggers

can be enabled by using `Params.homeInfoParams`
    homeInfoParams:
      enabled: true
      Title: Hi there 👋
      Content: This is Content !! Can be Info, links, social-icons...
2020-07-23 16:24:44 +05:30
Aditya Telange 2955f2a19d add config for default theme
- ex.  defaultTheme: dark
2020-07-23 04:29:53 +05:30
Aditya Telange f09f18212e add index page for all posts 2020-07-23 04:13:33 +05:30
Aditya Telange 0950fb89a8 add archives layout
- can be used by setting
        layout: "archives"
2020-07-23 03:00:51 +05:30
Aditya Telange 28aa04ddb6 baseof: separate into header, footer 2020-07-21 15:36:30 +05:30
Aditya Telange 118bf1345e assets: assets to proper location 2020-07-21 14:25:56 +05:30
Aditya Telange 41006c33e1 assets: add fingerprint, integrity 2020-07-20 20:53:08 +05:30
Aditya Telange 338027b046 SetThemeAuto: disable auto theme set by default
- user needs to add
        + params:
             SetThemeAuto: true
2020-07-20 20:43:23 +05:30
Aditya Telange 8a0783adfb new layout
- create baseof
    - separate list, single
    - header, footer
2020-07-20 20:32:07 +05:30
Aditya Telange e933bf39b7 comments: rm comments
- user needs to enable comments in hugo config
        + params:
            comments: true
    - disabled by default
2020-07-20 20:11:58 +05:30
Aditya Telange e17e38b3ae refactor; linting 2020-07-20 19:53:30 +05:30
Aditya Telange d7d5a15da7 list: rm title 2020-07-20 19:36:48 +05:30
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
nanxiaobei 47ee6db428 fix tag page 2020-03-09 23:56:13 +08:00
nanxiaobei 2b9088cff6 update pages source 2020-01-16 03:24:22 +08:00
nanxiaobei c1a940e084 Fix context 2019-08-21 12:07:27 +08:00
nanxiaobei 6a21a64488 Refine code 2019-08-21 12:03:12 +08:00
nanxiaobei 5f823ccb70 Refine html 2019-08-21 07:24:39 +08:00
nanxiaobei 68a57bbb47 Update layouts 2019-08-20 04:12:49 +08:00
nanxiaobei 67767c62c2 Change `.Site.BaseURL` to `absURL` 2019-06-10 06:44:15 +08:00
Nazım Can Altınova cb6cdb37ef Add a way to change the date format with 'dateFormat' site param 2019-04-28 15:56:39 +02:00
nanxiaobei 7ce5ae53af Update tag page 2019-04-28 18:23:51 +08:00
nanxiaobei e3053cee4f Update html 2019-04-01 16:00:48 +08:00
nanxiaobei 8088299ecb Update for 3.0 2019-03-31 20:32:06 +08:00
Michael Ovchinnikov b43e0d727e add i18n 2018-08-31 15:30:42 +03:00
nanxiaobei 599fbd4e22 🔒 Fix link 2018-07-06 11:14:28 +08: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