mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Allow githubRepo to point to custom branches.
This commit is contained in:

committed by
Michael Noronha

parent
a36d787cf1
commit
b4cfd8b01e
@@ -35,7 +35,7 @@ social_banner = "img/banner.png"
|
|||||||
usesmallsummarycard = true
|
usesmallsummarycard = true
|
||||||
posts_navigation = true
|
posts_navigation = true
|
||||||
# issoHost = "comments.domain.tld:1234"
|
# issoHost = "comments.domain.tld:1234"
|
||||||
# githubRepo = "githubUsername/repositoryName"
|
# githubRepo = "githubUsername/repositoryName/tree/master"
|
||||||
small_banner_logo = false
|
small_banner_logo = false
|
||||||
|
|
||||||
[params.colors]
|
[params.colors]
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{{ if .Site.Params.githubRepo }}
|
{{ if .Site.Params.githubRepo }}
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
<a href="https://github.com/{{ .Site.Params.githubRepo }}/tree/master/content/{{ .File.Path }}" target="_blank">View this post on GitHub</a>
|
<a href="https://github.com/{{ .Site.Params.githubRepo }}/content/{{ .File.Path }}" target="_blank">View this post on GitHub</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user