mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 04:18:46 +00:00
Update configuration-markup.md
This commit is contained in:
1 parent
99d691b5ee
commit
377b8954a5
1 file changed
+2
-2
@@ -91,7 +91,7 @@ You can define [Output Format](/templates/output-formats) and [language](/conten
|
|||||||
```bash
|
```bash
|
||||||
layouts
|
layouts
|
||||||
└── _default
|
└── _default
|
||||||
└── markup
|
└── _markup
|
||||||
├── render-image.html
|
├── render-image.html
|
||||||
├── render-image.rss.xml
|
├── render-image.rss.xml
|
||||||
└── render-link.html
|
└── render-link.html
|
||||||
@@ -130,7 +130,7 @@ A Markdown example for a inline-style link with title:
|
|||||||
|
|
||||||
A very simple template example given the above:
|
A very simple template example given the above:
|
||||||
|
|
||||||
{{< code file="layouts/_default/render-link.html" >}}
|
{{< code file="layouts/_default/_markup/render-link.html" >}}
|
||||||
<a href="{{ .Destination | safeURL }}"{{ with .Title}}title="{{ . }}"{{ end }}>{{ .Text }}{{ with .Page }} (in page {{ .Title }}){{ end }}"</a>
|
<a href="{{ .Destination | safeURL }}"{{ with .Title}}title="{{ . }}"{{ end }}>{{ .Text }}{{ with .Page }} (in page {{ .Title }}){{ end }}"</a>
|
||||||
{{< /code >}}
|
{{< /code >}}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user