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:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..3b181d7
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<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 }}">
+ <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>
+ {{ end }}
+
+ {{ with .Site.Params.GoogleplusID }}
+ <a href="https://plus.google.com/{{.}}/about" title="Google+"><i class="fa fa-google-plus-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ with .Site.Params.FacebookID }}
+ <a href="https://facebook.com/{{.}}" title="Facebook"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ with .Site.Params.GithubID }}
+ <a href="https://github.com/{{.}}" title="GitHub"><i class="fa fa-github-square" aria-hidden="true"></i></a>
+ {{ end }}
+
+ {{ 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>
+ <h2 class="user-motivation">{{ .Site.Params.SelfIntro }}</h2>
+ </section>
+
+ {{ partial "footer.html" . }}
+
+</body>
+</html> \ No newline at end of file