Commit Graph

91 Commits

Author SHA1 Message Date
Aditya Telange
bfcf89ccca add shortcode to Insert Raw HTML
{{< rawhtml >}}
  <p class="someclass">
    This is <strong>raw HTML</strong>, inside Markdown.
  </p>
{{< /rawhtml >}}

credits : https://anaulin.org/blog/hugo-raw-html-shortcode/
2020-07-24 21:24:18 +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
cf6aa709cd update 404 to match baseof 2020-07-22 17:29: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
15d7a4aabd assets: separate style.css into parts 2020-07-21 14:20:35 +05:30
Aditya Telange
a072067575 footer: theme name update 2020-07-21 13:52:10 +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
2e0ef75edf separate head 2020-07-20 20:13:51 +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
e6f516da62 theme: don't include set-theme inline 2020-07-20 19:46:19 +05:30
Aditya Telange
d7d5a15da7 list: rm title 2020-07-20 19:36:48 +05:30
Aditya Telange
9e88deff8f add js from assets
- highlight
2020-07-20 19:35:06 +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
nanxiaobei
47ee6db428 fix tag page 2020-03-09 23:56:13 +08:00
Ryan Harter
c021eace22 Adds support for custom css. 2020-03-04 22:30:42 -06:00
nanxiaobei
2b9088cff6 update pages source 2020-01-16 03:24:22 +08: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
ea1796cf97 Update Dark Mode logic 2019-10-16 04:15:04 +08:00
nanxiaobei
ba297661ff Add dark mode 2019-10-15 01:31:07 +08:00
nanxiaobei
072d2a8c22 Add SunriseSunsetJS 2019-10-15 01:30:20 +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
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
2f3e41736d Remove InstantClick 2019-08-20 04:13:23 +08:00
nanxiaobei
68a57bbb47 Update layouts 2019-08-20 04:12:49 +08:00
nanxiaobei
d49599a028 Fix js 2019-06-13 21:00:32 +08:00
nanxiaobei
f91e48e026 Refine head 2019-06-11 03:29:55 +08:00
nanxiaobei
e0be4092bd Update class 2019-06-11 03:18:37 +08:00
nanxiaobei
c29212ea9b Update link 2019-06-11 01:18:00 +08:00
ThomasZN
58a225155d
Update footer.html 2019-06-10 21:00:37 +08:00
ThomasZN
3af9454dd4
link to site in footer 2019-06-10 19:57:40 +08:00