Akshay Raj Gollahalli
c21e5179ce
tpl: Use .Lastmod in embedded schema template
...
Fixes #5320
2018-10-16 11:52:32 +02: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
Ricardo N Feliciano
4f9c109dc5
tpl/opengraph: Use safeHTMLAttr instead of safeHTML for HTML attributes
...
Fixes #5236
2018-09-22 00:36:15 +02:00
Cameron Moore
f6f22ad944
tpl: Fix golint godoc issues
2018-09-07 08:25:51 +02:00
Bjørn Erik Pedersen
b9a503febb
tpl/tplimpl: Make the autogenerated templates collapsed in PRs
2018-08-23 22:03:43 +02:00
Anthony Fok
c09ee78fd2
tpl: Suppress blank lines from opengraph internal template
2018-08-12 12:27:38 -06:00
Bjørn Erik Pedersen
755d1ffe7a
tpl/tmplimpl: Add MIME type to embedded JS
...
So they get minified correctly.
See #5042
2018-08-06 23:11:53 +02:00
Bjørn Erik Pedersen
d741064beb
Add optional lang as argument to rel/relref
...
Fixes #4956
2018-07-18 00:07:20 +02:00
Anthony Fok
2b73e89d6d
tpl: Set permission of embedded templates to 0644
2018-07-09 12:57:08 -06:00
Bjørn Erik Pedersen
91ab455d84
tpl: Remove some "debug info"
...
See #4881
2018-06-26 11:33:12 +02:00
Bjørn Erik Pedersen
ca1e46efb9
tpl: Update internal pagination template to support Bootstrap 4
...
Fixes #4881
2018-06-26 11:31:46 +02:00
Christian Oliff
2e6712e281
tpl: Always load GA script over HTTPS
2018-06-09 23:47:44 +02:00
Alexandros
65deb72dc4
tplimpl: Remove speakerdeck shortcode
...
Fixes #4830
2018-06-09 11:13:36 +02:00
Alex
07b96d16e8
Fixes #4798
2018-05-31 18:05:38 +02:00
Alex
ceaff7cafc
tpl: Remove frameborder attr YT iframe + CSS fixes
2018-05-30 14:06:32 +02:00
Alex
b84389c5e0
Fix vimeo_simple thumb scaling
2018-05-30 11:30:28 +02:00
Alexandros
8de5324479
Add vimeo_simple
...
Fixes #4749
2018-05-30 00:48:36 +02:00
Alex
d68367cbe7
fix typo instagram_simple
2018-05-27 11:06:40 +02:00
Bjørn Erik Pedersen
4ed1228d55
Fix GA anonymizeIp order
2018-05-25 16:05:45 +02:00
Bjørn Erik Pedersen
a51945ea4b
Add no-cookie variants of the Google Analytics templates
...
The current full set of options for GA is now:
```toml
[privacy]
[privacy.googleAnalytics]
disable = false
respectDoNotTrack = true
anonymizeIP = true
useSessionStorage = true
```
Fixes #4775
2018-05-25 15:56:10 +02:00
Bjørn Erik Pedersen
0bf0e1972d
tpl: Remove the shortcode assets for now
...
Not in use.
2018-05-25 14:34:40 +02:00
Bjørn Erik Pedersen
1f244b802e
tpl: Adjust instagram_simple margins
2018-05-25 12:38:25 +02:00
Bjørn Erik Pedersen
448081b840
Remove youtube_simple for now
...
We need to revisit and complete that.
See #4751
2018-05-25 11:16:23 +02:00
Bjørn Erik Pedersen
1f1d955b56
Add anonymizeIP to GA privacy config
...
See #4751
2018-05-25 10:53:39 +02:00
Bjørn Erik Pedersen
ffcf26e68c
Fix broken test
2018-05-24 13:03:23 +02:00
Bjørn Erik Pedersen
9753cb59f1
Support DNT in Twitter shortcode for GDPR
...
Fixes #4765
2018-05-24 12:25:52 +02:00
Bjørn Erik Pedersen
3bfe8f4be6
tpl: Alias tweet shortode to twitter
...
See #4765
2018-05-24 11:40:47 +02:00
Bjørn Erik Pedersen
6aa2c38507
Regenerate embedded templates
...
See #4761
2018-05-23 21:25:04 +02:00
Alexandros
6d69dac9da
Fix youtube_simple thumb scaling
...
Fixes #4761
2018-05-23 21:22:25 +02:00
Bjørn Erik Pedersen
9ad46a2035
Add instagram_simple shortcode
...
Fixes #4748
2018-05-23 16:52:08 +02:00
Bjørn Erik Pedersen
bed7a0faff
Remove the id from youtube_simple
...
For now, anyway.
See #4751
2018-05-23 10:24:01 +02:00
Bjørn Erik Pedersen
35ccf06dae
Fix some recently broken embedded templates
...
And add tests for them.
Fixes #4757
2018-05-23 10:03:11 +02:00
Bjørn Erik Pedersen
353148c2bc
Move the privacy config into a parent
...
See #4751
2018-05-22 18:11:03 +02:00
Bjørn Erik Pedersen
14705ecead
tpl: Add another class and an id to youtube_simple
...
To provide some more styling options.
See #4616
2018-05-22 09:11:34 +02:00
Bjørn Erik Pedersen
69ee6b41e3
Make the simple mode YouTube links schemaless
...
See #4616
2018-05-21 22:25:04 +02:00
Bjørn Erik Pedersen
88e3568680
Add YouTube shortcode simple mode
...
Adapted from the work of @onedrawingperday.
See #4616
2018-05-21 21:56:42 +02:00
Bjørn Erik Pedersen
5f24a2c047
Add PrivacyEnhanced mode for YouTube to the GDPR Policy
...
See #4616
2018-05-21 16:49:00 +02:00
Bjørn Erik Pedersen
710142016b
Add RespectDoNotTrack to GDPR privacy policy for Google Analytics
...
See #4616
2018-05-21 13:16:43 +02:00
Bjørn Erik Pedersen
f45b522ebf
tpl/tplimpl: Adjust GA templates
...
See #4616
2018-05-21 10:21:36 +02:00
Bjørn Erik Pedersen
6789207347
tpl/tplimpl/embedded: Wrap the relevant templates with the privacy policy disable check
...
See #4616
2018-05-21 00:41:42 +02:00
Bjørn Erik Pedersen
c2bb62d63e
tpl/tplimpl: Move README one level up
2018-05-05 11:00:39 +02: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