Move hero stuff out of content into index.html template
This commit is contained in:
parent
1bb4339364
commit
b5c790df77
|
@ -3,16 +3,6 @@ outputs = ['html', 'gemtext']
|
|||
title = 'home'
|
||||
+++
|
||||
|
||||
<center class="hero" style="margin-bottom: 5rem;">
|
||||
|
||||
<h1><span style="font-size: 2.2rem;">{{% pfp-name %}}</span><span class="blink" style="font-family: var(--mono-font)">▂</span></h1>
|
||||
|
||||
[Fediverse](https://tilde.zone/@hedy) ⋅ [GitHub](https://github.com/hedyhli) ⋅ [SourceHut](https://sr.ht/~hedy)
|
||||
|
||||
</center>
|
||||
|
||||
---
|
||||
|
||||
## Contacts
|
||||
|
||||
Preferably <a rel="me" href="mailto:hedy.dev@protonmail.com">email</a> or
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
{{ define "main" }}
|
||||
<div class="hero">
|
||||
<h1>{{ partial "pfp-name.html" . }}<span class="blink">▂</span></h1>
|
||||
|
||||
<p><a href="https://tilde.zone/@hedy">Fediverse</a> ⋅ <a href="https://github.com/hedyhli">GitHub</a> ⋅ <a href="https://sr.ht/~hedy">SourceHut</a></p>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue