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

github.com/tblyler/light-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwillmz <twillmz@users.noreply.github.com>2017-06-04 21:02:32 +0300
committerTony Blyler <tblyler@users.noreply.github.com>2017-06-04 21:02:32 +0300
commit3f6b3e8bec9764c5e5548179b834b7de0f8207cf (patch)
treec04a4f508e47ee5b6a73d9949266ba52a9ba6fa8
parentef661d427ef75775051712162000b33cacfbb5bf (diff)
add youtube support to header (#2)
* add youtube link support * add youtube support to header * icons
-rw-r--r--layouts/partials/header.html5
l---------static/images/youtube.svg1
2 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index a082b59..7b065b8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -50,6 +50,11 @@
<img alt="LinkedIn" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/linkedin.svg" />
</a>
{{ end }}
+ {{ if .Site.Params.youtube }}
+ <a href="https://youtube.com/user/{{ .Site.Params.youtube }}" title="Youtube">
+ <img alt="Youtube" height="{{ $icon_size }}" width="{{ $icon_size }}" src="/images/youtube.svg" />
+ </a>
+ {{ end }}
</div>
<div class="links">
<a href="/">Home</a>
diff --git a/static/images/youtube.svg b/static/images/youtube.svg
new file mode 120000
index 0000000..1a89938
--- /dev/null
+++ b/static/images/youtube.svg
@@ -0,0 +1 @@
+../../modules/evil-icons/assets/icons/ei-sc-youtube.svg \ No newline at end of file