Skip to content
Snippets Groups Projects
Verified Commit 9a94d343 authored by Julia Haß's avatar Julia Haß
Browse files

debug: image path

parent 1d8b9078
No related branches found
No related tags found
1 merge request!3Refactoring and dokumentation part 1
Pipeline #224816 passed
{{ define "main" }}
<header>
<h2>{{ .Title }}</h2>
<p>{{ .Description }}</p>
{{ if .Site.Params.show_post_dates | default true }}
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
{{ end }}
{{ partial "tags.html" . }}
</header>
{{ if .Params.image }}
<span class="image featured">
{{ if .Resources.Get .Params.image }}
<img src="{{ (.Resources.Get .Params.image).RelPermalink }}" />
{{ else }}
<img src="{{ .Params.image | relURL }}" />
{{ end }}
</span>
{{ end }}
{{- .Content }}
{{ end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment