mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'
This commit is contained in:
@@ -103,7 +103,7 @@ To render standalone images within `figure` elements:
|
||||
<img src="{{ .Destination | safeURL }}"
|
||||
{{- with .Text }} alt="{{ . }}"{{ end -}}
|
||||
>
|
||||
<figcaption>{{ .Title }}</figcaption>
|
||||
{{- with .Title }}<figcaption>{{ . }}</figcaption>{{ end -}}
|
||||
</figure>
|
||||
{{- else -}}
|
||||
<img src="{{ .Destination | safeURL }}"
|
||||
|
@@ -67,15 +67,15 @@ layouts/
|
||||
├── _default/
|
||||
│ └── _markup/
|
||||
│ ├── render-link.html
|
||||
│ └── render-link.text.txt
|
||||
│ └── render-link.rss.xml
|
||||
├── books/
|
||||
│ └── _markup/
|
||||
│ ├── render-link.html
|
||||
│ └── render-link.text.txt
|
||||
│ └── render-link.rss.xml
|
||||
└── films/
|
||||
└── _markup/
|
||||
├── render-link.html
|
||||
└── render-link.text.txt
|
||||
└── render-link.rss.xml
|
||||
```
|
||||
|
||||
[kind]: /getting-started/glossary/#page-kind
|
||||
|
Reference in New Issue
Block a user