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

github.com/IvanChou/hugo-theme-vec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTayray <bush.taylor@gmail.com>2017-05-15 00:32:18 +0300
committerTayray <bush.taylor@gmail.com>2017-05-15 00:32:18 +0300
commitdf90037721abad83ce2bbe45c1a16c7134e1025f (patch)
tree862fa87370baf3d0abe4fce0df3ad9a84d0a704f
parent086484cef81a392e96334a9f4b75853ea3c705f2 (diff)
Fix avatar typo
-rw-r--r--exampleSite/config.toml10
-rw-r--r--layouts/index.html16
2 files changed, 13 insertions, 13 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f18d1f3..92404e9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -20,16 +20,16 @@ googleAnalytics = "UA-57408564-1"
name = "faq"
weight = 2
url = "/faq"
-
+
[params]
Keywords = "key, 关键字, キーワード"
Description = "There are some words to describe your site"
- Avater = "img/avatar.jpg"
- SelfIntro = "Just a worm, seek for true, live in shadow, no more..."
+ Avatar = "img/avatar.jpg"
+ SelfIntro = "Just a worm, seek for true, live in shadow, no more..."
Email = "yiichou@gmail.com"
-
+
GithubID = "Your Github ID"
TwitterID = "Your Twitter ID"
FacebookID = "Your Facebook ID"
LinkedInID = "Your LinkedIn ID"
- GoogleplusID = "Your Googleplus ID" \ No newline at end of file
+ GoogleplusID = "Your Googleplus ID"
diff --git a/layouts/index.html b/layouts/index.html
index 5b2ec46..0b47b4f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -2,20 +2,20 @@
<html lang="{{ .Site.LanguageCode }}">
<head>
<title> {{ .Site.Title }} </title>
-
+
{{ with .Site.Params.Keywords }}<meta name="keywords" content="{{.}}">{{ end }}
{{ with .Site.Params.Description }}<meta name="description" content="{{.}}">{{ end }}
-
+
{{ partial "head.html" . }}
-
+
</head>
<body>
{{ partial "header.html" . }}
-
+
<section class="user-profile">
<figure class="user-avatar">
- <img alt="avater" src="{{ .Site.Params.Avater }}">
+ <img alt="avatar" src="{{ .Site.Params.Avatar }}">
<figcaption class="user-socials">
{{ with .Site.Params.TwitterID }}
<a href="https://twitter.com/{{.}}" title="Twitter"><i class="fa fa-twitter-square" aria-hidden="true"></i></a>
@@ -32,14 +32,14 @@
{{ with .Site.Params.LinkedInID }}
<a href="http://linkedin.com/in/{{.}}" title="LinkedIn"><i class="fa fa-linkedin-square" aria-hidden="true"></i></a>
{{ end }}
-
+
</figcaption>
</figure>
<p class="user-motivation">{{ .Site.Params.SelfIntro }}</p>
</section>
-
+
{{ partial "footer.html" . }}
{{ partial "analytics.html" . }}
</body>
-</html> \ No newline at end of file
+</html>