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

github.com/forestryio/hugo-theme-novela.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormountainbug95 <tannersmithtn95@gmail.com>2019-10-04 20:08:44 +0300
committermountainbug95 <tannersmithtn95@gmail.com>2019-10-04 20:08:44 +0300
commitd2ba5cf6e9a8702d8a247867ff83828a6c1f9403 (patch)
treed846d9217f42861547196ac8a5760c77a6fb4b16
parenta814c828cae109b91112f3fceb380e5c24240b5d (diff)
Rework site social iconssocial-icons
-rw-r--r--config.yaml38
-rw-r--r--content/authors/brad-tiller.md20
-rw-r--r--content/authors/dennis-brotzky.md21
-rw-r--r--content/authors/mack-mansouri.md20
-rw-r--r--content/authors/thiago-costa.md21
-rw-r--r--layouts/partials/social-links/social-links.html8
6 files changed, 11 insertions, 117 deletions
diff --git a/config.yaml b/config.yaml
index 3690438..61ef956 100644
--- a/config.yaml
+++ b/config.yaml
@@ -3,36 +3,12 @@ languageCode: "en-us"
title: "Narative"
pygmentsstyle: 'monokai'
paginate: 6
+social:
+ twitter: "#"
+ github: "#"
+ instagram: "#"
+ linkedin: "#"
+ dribbble: "#"
+ youtube: "#"
taxonomies:
author: authors
-params:
- postsPerPage: 2
- social:
- - title: twitter
- url: "#"
- - title: github
- url: "#"
- - title: instagram
- url: "#"
- - title: linkedin
- url: "#"
- - title: dribbble
- url: "#"
- - title: youtube
- url: "#"
- colors:
- primary: "#000"
- secondary: "#73737D"
- grey: "#73737D"
- backgroundColor: "#fafaf"
- accent: "#6166DC"
- hover: "rgba(0, 0, 0, 0.07)"
- articleText: "#08080B"
- track: "rgba(8, 8, 11, 0.3)"
- progress: "#000"
- card: "#fff"
- error: "#EE565B"
- success: "#46B17B"
- errorBackground: "rgba(238, 86, 91, 0.1)"
- horizontalRule: "rgba(8, 8, 11, 0.15)"
- inputBackground: "rgba(0, 0, 0, 0.05)"
diff --git a/content/authors/brad-tiller.md b/content/authors/brad-tiller.md
deleted file mode 100644
index d39b6f7..0000000
--- a/content/authors/brad-tiller.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Brad Tiller
-bio: |
- Written by You. This is where your author bio lives. Share your work, your
- joys and of course, your Twitter handle.
-avatar: /images/brad-tiller.jpg
-social:
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
-type: author
-layout: author
----
diff --git a/content/authors/dennis-brotzky.md b/content/authors/dennis-brotzky.md
deleted file mode 100644
index 1e3bd0f..0000000
--- a/content/authors/dennis-brotzky.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-name: Dennis Brotzky
-bio: |
- Written by You. This is where your author bio lives. Share your work, your
- joys and of course, your Twitter handle.
-avatar: /images/dennis-brotzky.jpg
-featured: true
-social:
- - title: unsplash
- url: https://unsplash.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
-type: author
-layout: author
----
diff --git a/content/authors/mack-mansouri.md b/content/authors/mack-mansouri.md
deleted file mode 100644
index dad9475..0000000
--- a/content/authors/mack-mansouri.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Mack Mansouri
-bio: |
- Written by You. This is where your author bio lives. Share your work, your
- joys and of course, your Twitter handle.
-avatar: /images/mack-mansouri.jpg
-social:
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
-type: author
-layout: author
----
diff --git a/content/authors/thiago-costa.md b/content/authors/thiago-costa.md
deleted file mode 100644
index 168bcba..0000000
--- a/content/authors/thiago-costa.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-name: Thiago Costa
-bio: |
- Written by You. This is where your author bio lives. Share your work, your
- joys and of course, your Twitter handle.
-avatar: /images/thiago-costa.jpg
-featured: false
-social:
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
- - title: github
- url: https://github.com
-type: author
-layout: author
----
diff --git a/layouts/partials/social-links/social-links.html b/layouts/partials/social-links/social-links.html
index eab2bed..c2b483f 100644
--- a/layouts/partials/social-links/social-links.html
+++ b/layouts/partials/social-links/social-links.html
@@ -1,9 +1,9 @@
<div class="social-icon-outer">
<div class="social-icon-container">
- {{ range $component := .Site.Params.social }}
- {{ $path := print "icons/social/" $component.title }}
- <a href="{{ $component.url }}">{{ partial $path $ }}</a>
- <span class="hidden">{{ $component.url }}</span>
+ {{ range $index, $component := .Site.Social }}
+ {{ $path := print "icons/social/" $index }}
+ <a href="{{ . }}">{{ partial $path $ }}</a>
+ <span class="hidden">{{ $component }}</span>
{{ end }}
</div>
</div> \ No newline at end of file