Joe Mooring
48a0fea87a
tpl/tplimpl: Modify figure shortcode to look for page resource
...
Closes #12244
Closes #12245
2024-03-14 10:21:40 +02:00
InLaw
2db7ec622f
tpl/tplimpl: Add img loading attribute to figure shortcode ( #10927 )
2023-05-21 12:28:45 -07:00
Joe Mooring
9b34d42bb2
Remove extraneous space from figure shortcode
...
Fixes #8401
2021-04-15 14:43:32 +02:00
Max Arnold
aba2647c15
tpl: Fix whitespace issue
...
Introduced in #5276 .
2018-11-27 18:15:10 +01:00
Kaushal Modi
6818170308
Render Markdown in figure shortcode "caption" and "attr" params
...
Fixes https://github.com/gohugoio/hugo/issues/4406 .
2018-10-03 09:55:53 +03:00
Kaushal Modi
c5279064df
Re-organize the figure shortcode for better readability
2018-10-03 09:55:53 +03:00
Anthony Fok
2b73e89d6d
tpl: Set permission of embedded templates to 0644
2018-07-09 12:57:08 -06:00
Bjørn Erik Pedersen
34ad9a4f17
tpl/tplimpl: Extract internal templates
...
Having them in separate files should make maintainance easier.
When adding new or making changes to the templates:
```bash
mage generate
```
This will get the Go code in sync.
Fixes #4457
2018-05-04 23:12:10 +02:00