Reorx
0935880bf3
fix markdown image render hook, handle third party image url
2022-09-03 21:36:36 +08:00
Reorx
a2a26eb189
update render-image to support video embed
...
just like embed an image, use ![](/path/to/video.mov)
2022-06-02 11:44:11 +08:00
Reorx
1efab6714a
make rss page query the same as list.html
2022-05-31 00:43:13 +08:00
Seth For Privacy
b562454b3e
Add "[Pinned]" text after title when a post is pinned using `weight`
...
Also updates "draft" to "Draft" to properly capitalize the word (IMO).
2022-05-29 17:54:37 +08:00
Reorx
28511efd08
control comment system in partials/comments.html
2022-05-27 21:33:40 +08:00
Reorx
9e54118235
warn if image is not found
2022-05-20 23:04:58 +08:00
Reorx
228cf0d83f
use RelPermalink for markdown images
2022-05-20 18:19:35 +08:00
Reorx
84ac59ce9d
remove home page all language support that may cause trouble
...
it can cause the search page to have a redundant result for each page
2022-05-19 18:57:42 +08:00
Reorx
0d2d905e3b
rename some image variables; rss default show content
2022-05-08 01:24:38 +08:00
Reorx
ba84d6857d
add social_links partial
2022-05-05 16:23:55 +08:00
Reorx
7f71a99e21
use .Params.language to determine html lang
2022-05-05 01:17:09 +08:00
Reorx
29f261e12a
use noComments to determine comments render
2022-05-05 01:16:51 +08:00
Reorx
d3ec050c59
show all pages in archives
2022-05-05 01:07:31 +08:00
Reorx
0654046820
show all pages for first language
2022-04-22 15:57:25 +08:00
Reorx
6aea4be5fa
refactor post meta, use svg icons for identifier
2022-04-22 14:11:34 +08:00
Reorx
4d93247e53
change post nav and footer style
2022-04-22 01:13:25 +08:00
Reorx
98b512fe64
move tags to the top; use ¶ for anchor symbol
2022-04-22 00:28:30 +08:00
Reorx
e91423d6f2
use partial instead of partialCached for footer.html
...
footer has involved a lot of config keys since our fork, sometimes the toc scroll behavior is broken due to cached footer is inconsistant with the current file
2022-04-14 17:47:01 +08:00
Reorx
d94f895296
allow customizing pagination by adding "paginate" in frontmatter
2022-04-14 15:06:24 +08:00
Reorx
45d3fa868e
use .Pages instead of .RegularPages in list layout
...
othewise the count in taxonomy may be inconsistant with the items in the taxonomy list page,
if there's any section page using taxonomy
2022-04-14 14:39:29 +08:00
Reorx
a929ca79c9
add head and body_end blocks in baseof
2022-04-14 00:05:15 +08:00
Reorx
8c5d10925e
allow customize post page width
2022-04-09 23:31:15 +08:00
Aditya Telange
575cc0ca8c
Use `site` function instead of `.Site` or `$.Site`
...
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Aditya Telange
5f1d92493b
Avoid caching search input between navigation
2021-10-30 13:57:22 +05:30
nikaera
38891b9062
Add `showCanonicalLink` to markdown metadata ( #428 )
...
If an article has a `canonicalUrl` set, Originally published at `<hostname>` will be displayed at the top of the article by setting `showCanonicalLink` to true.
Usage =>
In front-matter:
canonicalUrl: "<URL>"
showCanonicalLink: true
2021-10-22 19:52:45 +05:30
Aditya Telange
97b373d9ee
Fix irregular spacing in seach title and svg icon
2021-09-05 18:22:39 +05:30
Aditya Telange
c437ee1b62
Add `placeholder` param to let users customize
...
placeholder in search input box
2021-09-05 18:22:24 +05:30
Aditya Telange
7072a79f71
Refine `[draft]` tag display
2021-09-04 12:03:12 +05:30
Aditya Telange
7ea01a0ab2
Allow hiding `ShowCodeCopyButtons` per page
...
closes : #548
2021-09-02 20:22:08 +05:30
Aditya Telange
3442d5cb52
Allow hiding copyright/footer text
...
closes : #543
2021-09-02 20:19:52 +05:30
Aditya Telange
b4393b3d6e
Add `post-content` only if it exists
2021-09-02 13:43:08 +05:30
Aditya Telange
162d80071f
Allow adding markdown description on list pages
2021-09-02 13:38:55 +05:30
Aditya Telange
bc99ae777d
Allow adding `Content` on list pages
2021-09-02 13:33:47 +05:30
Aditya Telange
caa2240f12
Add missing `[draft]` tag on archive page
2021-08-30 15:22:22 +05:30
Aditya Telange
fc87fc3a29
Add option to show all pages in archive
...
usage =>
In site config
`Params.ShowAllPagesInArchive: true`
2021-06-17 16:36:56 +05:30
Aditya Telange
da69dda48c
Allow disabling anchored headings
...
Usage =>
For site-wide:
Params.disableAnchoredHeadings: true
For front-matter:
disableAnchoredHeadings: true
2021-06-10 23:10:40 +05:30
Aditya Telange
573e673efa
Use `content:encoded` in Rss feeds
...
when using ShowFullTextinRSS
2021-05-02 11:29:31 +05:30
Aditya Telange
0c64647138
Add option to show Full Text content in RSS feeds
...
closes : #372
usageIn site Params =>
ShowFullTextinRSS: true
2021-04-29 19:38:08 +05:30
Achim Blanarsch
8c313af0f3
Add missing spacing between search title and icon ( #351 )
2021-04-13 12:53:41 +05:30
Aditya Telange
6c64ad0695
Show Code Copy scripts only on Kind = page
2021-04-10 11:53:23 +05:30
Aditya Telange
bb7b6f0076
Refactor, move HLJS code from footer to head;
...
already defered.
2021-04-09 19:38:04 +05:30
Mohammad Noor Abu Khleif
427053290d
Move post nav links to a partial section ( #343 )
2021-04-09 14:55:56 +05:30
Aditya Telange
196b82645e
Fix Spacing in overall repo
2021-03-30 18:26:43 +05:30
Jannik Arndt
6d6fe2c389
Move ToC divs to toc partial ( #329 )
...
Allows Overriding of ToC
2021-03-30 16:07:20 +05:30
Aditya Telange
b6af9eddee
Imrprovements to RSS ( #319 )
...
* Copy hugo's internal rss template
- loc: https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml
- at commit 5f42590144579c318a444ea2ce46d5c3fbbbfe6e of https://github.com/gohugoio/hugo/
* Add Site image from images param
* Hide search and archives layouts from feed index
* add Description and Summary in RSS as in other templates
2021-03-25 14:50:53 +05:30
Syphdias
abfdb54c92
Add option to show link in meta data for editing posts ( #278 )
...
Usage
- in site config =>
Params:
editPost:
URL: "https://github.com/ <path_to_repo>/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
- in front-matter vars =>
---
editPost:
URL: "https://github.com/ <path_to_repo>/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
---
- Front-matter vars overrides global ones
2021-03-23 14:58:26 +05:30
Aditya Telange
706b5a1c94
Hide "..." in list pages when summary is not Truncated
2021-03-18 18:15:49 +05:30
Mohammad Noor Abu Khleif
ad81825345
Allow selective summary (in list pages) hiding in front matter ( #292 )
2021-03-18 17:46:32 +05:30
Aditya Telange
24f71d7f15
rm extra `p` tag from render-image hook
2021-03-16 13:29:53 +05:30
Aditya Telange
c353447d8e
add browser-level lazy loading
...
ref: https://web.dev/browser-level-image-lazy-loading/
2021-03-16 13:18:57 +05:30