Support date range in footer copyright element#1821
Conversation
|
@emckean - what would be the right starting year for the copyright in the User Guide? |
5572768 to
6589430
Compare
6589430 to
76dda7c
Compare
76dda7c to
2206e77
Compare
| {{ with .Site.Copyright -}} | ||
| <span class="td-footer__copyright"> | ||
| {{- . | $page.RenderString -}} | ||
| </span> | ||
| {{- end -}} |
There was a problem hiding this comment.
Hi @chalin,
What’s the rationale behind this change (previously it was {{ with .Site.Copyright }}{{ . | safeHTML }}{{ end }})? I’m worried that it makes it difficult to include HTML badges like the ones generated from https://chooser-beta.creativecommons.org/.
|
Hi @chalin, friendly ping as I don’t know if you received a notification for my question above? |
|
Thanks for the ping @yann-soubeyrand -- I'll get back to you |
|
Thanks! In the meantime, I found how to achieve what I needed by putting this in my config: I’m using AsciiDoc and |
@yann-soubeyrand: My rational was to make processing consistent across alternatives, but it doesn't really need to be consistent -- I can claim backwards compatibility for |
User Guide screenshots
Wide screen:
Narrow screen: