mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 05:19:01 +00:00
docs + fix: broken partial and description of enableGitHubEdit
This commit is contained in:
parent
25a4d3b6e1
commit
74993d19b7
3 changed files with 8 additions and 3 deletions
|
@ -49,6 +49,11 @@ enableContextualBacklinks: true
|
||||||
# whether to show a section of recent notes on the home page
|
# whether to show a section of recent notes on the home page
|
||||||
enableRecentNotes: false
|
enableRecentNotes: false
|
||||||
|
|
||||||
|
# whether to display and 'edit' button next to the last edited field
|
||||||
|
# that links to github
|
||||||
|
enableGitHubEdit: false
|
||||||
|
GitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content
|
||||||
|
|
||||||
# page description used for SEO
|
# page description used for SEO
|
||||||
description:
|
description:
|
||||||
Host your second brain and digital garden for free. Quartz features extremely fast full-text search,
|
Host your second brain and digital garden for free. Quartz features extremely fast full-text search,
|
||||||
|
|
|
@ -10,7 +10,7 @@ enableFooter: true
|
||||||
enableContextualBacklinks: true
|
enableContextualBacklinks: true
|
||||||
enableRecentNotes: false
|
enableRecentNotes: false
|
||||||
enableGitHubEdit: false
|
enableGitHubEdit: false
|
||||||
GHlink: https://github.com/jackyzha0/quartz/tree/hugo/content
|
GitHubLink: https://github.com/jackyzha0/quartz/tree/hugo/content
|
||||||
description:
|
description:
|
||||||
Host your second brain and digital garden for free. Quartz features extremely fast full-text search,
|
Host your second brain and digital garden for free. Quartz features extremely fast full-text search,
|
||||||
Wikilink support, backlinks, local graph, tags, and link previews.
|
Wikilink support, backlinks, local graph, tags, and link previews.
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{{if $.Site.Data.config.enableGitHubEdit}
|
{{if $.Site.Data.config.enableGitHubEdit}}
|
||||||
<a href="{{$.Site.Data.config.GHlink}}/{{ .Path}}" rel="noopener">Edit Source</a>
|
<a href="{{$.Site.Data.config.GitHubLink}}/{{.Path}}" rel="noopener">Edit Source</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue