Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/samrobbins85/hugo-developer-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Robbins <samrobbinsgb@gmail.com>2020-08-31 14:47:29 +0300
committerSam Robbins <samrobbinsgb@gmail.com>2020-08-31 14:47:29 +0300
commit28e95dc05e9c1c8aa963f2f3d00baa6e5c8ee83b (patch)
tree26c0cc49b226cc3cdcd74057a850aac125e86505
parent7b3f3e362206b93cf62ebd9af1ecd3eb3889e5a2 (diff)
Add option for displaying a website in portfolio projects
-rw-r--r--layouts/_default/single.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 8350af5..d2b5d0b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -111,6 +111,17 @@
</div>
{{end}}
+ {{if isset .Params "site"}}
+ {{if ne .Params.site ""}}
+ <div>
+ <a class="uk-button uk-button-default" href="{{.Params.site}}"> <span uk-icon="icon: world"></span>
+ Website</a>
+ </div>
+ {{end}}
+ {{end}}
+
+
+
<div>
{{if ( gt (len .Params.github ) 1)}}
<div>