Move some files to a better place, remove some unused file
This commit is contained in:
parent
0bbda99e9c
commit
89e88cf1e1
27 changed files with 13 additions and 13 deletions
30
layouts/partials/home.html
Normal file
30
layouts/partials/home.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<section class="container centered">
|
||||
<div class="about">
|
||||
{{ with .Site.Params.avatarurl }}
|
||||
<div class="avatar"><img src="{{ . | relURL }}" alt="avatar"></div>
|
||||
{{ end }}
|
||||
<h1>{{ .Site.Params.author }}</h1>
|
||||
<h2>{{ .Site.Params.info }}</h2>
|
||||
{{ with .Site.Params.social }}
|
||||
<ul>
|
||||
{{ range sort . "weight" }}
|
||||
{{ if .icon }}
|
||||
<li>
|
||||
{{ if eq .type "tel"}}
|
||||
<a href="tel:{{ .url }}" rel="me" aria-label="{{ .name }}" title="{{ .name }}">
|
||||
{{ else }}
|
||||
<a href="{{ .url }}" rel="me" aria-label="{{ .name }}" title="{{ .name }}">
|
||||
{{ end }}
|
||||
<i class="{{ .icon }}" aria-hidden="true"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li>
|
||||
<a href="{{ .url }}" rel="me" aria-label="{{ .name }}" title="{{ .name }}">{{ .name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue