mirror of
https://github.com/michivonah/website-v3.git
synced 2025-12-22 21:36:28 +01:00
implement about me section
This commit is contained in:
parent
3075ea4b90
commit
cd355a9eca
8 changed files with 96 additions and 5 deletions
13
layouts/partials/about.html
Normal file
13
layouts/partials/about.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div id="about" class="about">
|
||||
{{ with .Site.GetPage "about" }}
|
||||
<div class="about-part">
|
||||
{{ with .Params.image }}
|
||||
<img src='{{ . | relURL }}' alt="" title="">
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="about-part">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div>{{ .Content }}</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue