Oops, fix images again
This commit is contained in:
parent
ca4e58dc2f
commit
273c1582ca
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h2>{{ .Title }}</h2>
|
<h2>{{ .Title }}</h2>
|
||||||
|
|
||||||
<img class="article-img" alt="{{ .Params.alt_text }}" src="{{ .Params.filename }}"/>
|
{{ with resources.Get .Params.filename }}
|
||||||
|
<img class="article-img" alt="{{ $.Params.alt_text }}" src="{{ .RelPermalink }}"/>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue