minor changes
This commit is contained in:
parent
d80d36151b
commit
572046d2cc
3 changed files with 11 additions and 5 deletions
|
@ -3,8 +3,14 @@
|
||||||
{{if .Date }}
|
{{if .Date }}
|
||||||
<p>{{.Date | time.Format "Jan 02 2006"}}</p>
|
<p>{{.Date | time.Format "Jan 02 2006"}}</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .Params.video}}<video controls autoplay muted loop><source src="{{.Params.video}}"></video>{{end}}
|
{{if .Params.video}}<video controls autoplay muted loop><source src="{{.Params.video}}"></video>
|
||||||
{{if .Params.audio}}<audio controls><source src="{{.Params.audio}}"></audio>{{end}}
|
{{else}}
|
||||||
{{if .Params.image}}<img src="{{.Params.image}}">{{end}}
|
{{if .Params.audio}}<audio controls><source src="{{.Params.audio}}"></audio>
|
||||||
|
{{else}}
|
||||||
|
{{if .Params.image}}<img src="{{.Params.image}}">
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
<p>{{.Summary}}</p>
|
<p>{{.Summary}}</p>
|
||||||
</article>
|
</article>
|
|
@ -31,7 +31,7 @@
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p><a href="">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p>
|
<p><a href="https://codeberg.org/gabe/Valor">Valor</a> made by <a href="https://gabe.rocks">Gabriel</a></p>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</main>
|
</main>
|
|
@ -1,3 +1,3 @@
|
||||||
<video controls>
|
<video controls autoplay muted>
|
||||||
<source src='{{.Get 0 }}'>
|
<source src='{{.Get 0 }}'>
|
||||||
</video>
|
</video>
|
Loading…
Reference in a new issue