summaryrefslogtreecommitdiff
path: root/layouts/partials/templates/opengraph.html
AgeCommit message (Collapse)Author
2022-05-08remove shits from opengraphReorx
2022-05-05add site title after titleReorx
2022-05-05cover.relative -> cover.absoluteReorx
2022-03-27Use `site` function instead of `.Site` or `$.Site`Aditya Telange
- The site function provides global access to the same data as the .Site page method. - Current context (`.`) is never considered.
2021-05-01Update hugo internal templatesAditya Telange
Remove .Site.Authors from embedded templates https://github.com/gohugoio/hugo/commit/f6745ad3588a7b3aaae228fec18fe0027affd566
2021-03-23Update internal tempplate from hugoDaniel Atwood
cp from ffd9dac4218b8f1709de04f7131ca661715fc481 & fe77f7434bc0d7a9b54af69014eb28dbea2b236b tpl: Update date logic of opengraph and schema internal templates * Fix: updated date logic in opengraph template * Updated date logic in schema template * Reformatted opengraph and schema * Wrapped PublishDate and Lastmod in with tpl: Make the build green again Co-authored-by: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= <bjorn.erik.pedersen@gmail.com> Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2020-12-16templates: Fix series detection in opengraphMaciej Sawicki
When inside front matter you specified series with spaces, then the opengraph template wouldn't detect other articles, because in `.Site.Taxonomies.series` they are stored by urlized key. Example: ```yaml series: - My Series ``` ```gohtml {{/* in a template */}} {{- $series := index .Site.Taxonomies.series$name }} {{/* was resolved to */}} {{- $series := index {'my-series': ...} "MySeries" }} ``` (cherry picked from commit d2d493ab5d6a054001a8448ea0de2949dac4b30e)
2020-10-12templates: social-meta: prefer cover image over other imagesAditya Telange
2020-10-11templates: add cover image to be linked into metaAditya Telange
for opengraph, schema and twitter
2020-10-11templates: Add Twitter Cards, OpenGraph, SchemaAditya Telange
This code is licensed under Apache License 2.0 and is part of https://github.com/gohugoio/hugo