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 }}
|
||||
<p>{{.Date | time.Format "Jan 02 2006"}}</p>
|
||||
{{end}}
|
||||
{{if .Params.video}}<video controls autoplay muted loop><source src="{{.Params.video}}"></video>{{end}}
|
||||
{{if .Params.audio}}<audio controls><source src="{{.Params.audio}}"></audio>{{end}}
|
||||
{{if .Params.image}}<img src="{{.Params.image}}">{{end}}
|
||||
{{if .Params.video}}<video controls autoplay muted loop><source src="{{.Params.video}}"></video>
|
||||
{{else}}
|
||||
{{if .Params.audio}}<audio controls><source src="{{.Params.audio}}"></audio>
|
||||
{{else}}
|
||||
{{if .Params.image}}<img src="{{.Params.image}}">
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
<p>{{.Summary}}</p>
|
||||
</article>
|
|
@ -31,7 +31,7 @@
|
|||
<hr>
|
||||
|
||||
<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>
|
||||
{{end}}
|
||||
</main>
|
|
@ -1,3 +1,3 @@
|
|||
<video controls>
|
||||
<video controls autoplay muted>
|
||||
<source src='{{.Get 0 }}'>
|
||||
</video>
|
Loading…
Reference in a new issue