diff options
author | Sam Robbins <samrobbinsgb@gmail.com> | 2020-08-31 14:47:29 +0300 |
---|---|---|
committer | Sam Robbins <samrobbinsgb@gmail.com> | 2020-08-31 14:47:29 +0300 |
commit | 28e95dc05e9c1c8aa963f2f3d00baa6e5c8ee83b (patch) | |
tree | 26c0cc49b226cc3cdcd74057a850aac125e86505 | |
parent | 7b3f3e362206b93cf62ebd9af1ecd3eb3889e5a2 (diff) |
Add option for displaying a website in portfolio projects
-rw-r--r-- | layouts/_default/single.html | 11 |
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> |