summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index ea9990a..31b7d83 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -21,6 +21,9 @@
{{ if ne .Params.link nil }}
<a href="{{ .Params.link }}" class="card-link">Visit Website</a>
{{ end }}
+ {{ if ne .Params.source nil }}
+ <a href="{{ .Params.source }}" class="card-link">View Source</a>
+ {{ end }}
<span class="card-date">
<time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time>
</span>