gitea migration
This commit is contained in:
14
layouts/_default/begabte.html
Normal file
14
layouts/_default/begabte.html
Normal file
@ -0,0 +1,14 @@
|
||||
<div class="card border-primary rounded-0 hover-shadow mb-5">
|
||||
{{ if .Params.Image }}
|
||||
<img class="card-img-top rounded-0" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
{{ else }}
|
||||
<img class="card-img-top rounded-0" src="/media/begabte/image.webp" alt="{{ .Title }}">
|
||||
{{ end }}
|
||||
<div class="card-body">
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item"><p><i class="fa-solid fa-book-bookmark"></i> {{ .Params.Category }}</p></li>
|
||||
</ul>
|
||||
<h4 class="card-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
<a href="{{ .Permalink }}" class="btn btn-primary btn-sm text-uppercase">{{ i18n "read_more"}}</a>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user