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

github.com/nurlansu/hugo-sustain.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.html32
1 files changed, 12 insertions, 20 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 3f567db..38aa895 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,21 +1,13 @@
-{{ partial "head" . }}
- <body>
- <div id="wrap">
- {{ partial "header" . }}
- <section id="about">
- <div class="container">
- <div class="avatar">
- <img class="img-circle" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}" alt="Responsive image">
- </div>
- <h3>I'm <strong>{{ .Site.Params.author }}</strong>, a Software Engineer.</h3>
- <h3>I love all things computer science and maths.</h3>
- <h3>Have a look at some of my working <a href="{{ .Site.BaseURL }}projects/"> projects</a>.</h3>
- <h3>For more check out my academic &amp; professional <a href="https://demo.nurlan.co/hugo-vitae/">resume</a>.</h3>
- <h3>Contact me at <a href="http://twitter.com/{{ .Site.Params.Social.Twitter }}">@{{ .Site.Params.Social.Twitter }}</a> or by <a href="mailto:{{ .Site.Params.Social.Email }}">email</a>.</h3>
- {{ partial "social.html" . }}
- </div>
- </section>
+{{ define "main" }}
+ {{ partial "header" . }}
+
+ <section id="about">
+ <div class="container">
+ <div class="avatar mb-5">
+ <img class="rounded-circle" src="{{ .Site.Params.avatar }}" alt="Responsive image">
+ </div>
+ {{ .Content }}
+ {{ partial "social.html" . }}
</div>
- {{ partial "footer" . }}
- </body>
-</html>
+ </section>
+{{ end }}