mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +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
|
||||
posts_navigation = true
|
||||
# issoHost = "comments.domain.tld:1234"
|
||||
# githubRepo = "githubUsername/repositoryName"
|
||||
# githubRepo = "githubUsername/repositoryName/tree/master"
|
||||
small_banner_logo = false
|
||||
|
||||
[params.colors]
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
{{ if .Site.Params.githubRepo }}
|
||||
<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>
|
||||
{{ end }}
|
||||
|
||||
|
Reference in New Issue
Block a user