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

github.com/dplesca/purehugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDragos Plesca <dragos.plesca@gmail.com>2015-07-11 10:50:51 +0300
committerDragos Plesca <dragos.plesca@gmail.com>2015-07-11 10:50:51 +0300
commit2a4f71c6434f9167b2ed778a65828edd537929c7 (patch)
tree28147fa972213a6009f326bc3d1293554bd35c19
parentb995baa371e5289bc1ad756a3756fa415fae85bf (diff)
change twitter and github from config
to twitterName and githubName to help with the hugo theme site generation
-rw-r--r--layouts/partials/sidebar.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index ce2776c..0d123ce 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -7,12 +7,12 @@
<nav class="nav">
<ul class="nav-list">
- {{ with .Site.Params.twitter }}
+ {{ with .Site.Params.twitterName }}
<li class="nav-item">
<a class="pure-button" href="https://twitter.com/{{ . }}"><i class="fa fa-twitter"></i> Twitter</a>
</li>
{{ end }}
- {{ with .Site.Params.github }}
+ {{ with .Site.Params.githubName }}
<li class="nav-item">
<a class="pure-button" href="https://github.com/{{ . }} "><i class="fa fa-github-alt"></i> github</a>
</li>
@@ -23,4 +23,4 @@
</ul>
</nav>
</div>
-</div> \ No newline at end of file
+</div>