hugo/tpl/tplimpl/embedded
Maciej Sawicki d2d493ab5d
tpl: Fix series detection in opengraph
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
# in front matter
series:
    - My Series
```

```gohtml
{{/* in a template */}}
{{- $series := index .Site.Taxonomies.series$name }}

{{/* was resolved to */}}
{{- $series := index {'my-series': ...} "MySeries" }}
```
2020-12-16 12:13:30 +01:00
..
generate all: Fix minor typos 2020-12-16 12:11:32 +01:00
templates tpl: Fix series detection in opengraph 2020-12-16 12:13:30 +01:00
.gitattributes tpl/tplimpl: Make the autogenerated templates collapsed in PRs 2018-08-23 22:03:43 +02:00
README.md tpl: Fix golint godoc issues 2018-09-07 08:25:51 +02:00
templates.autogen.go tpl: Add title parameter to YouTube shortcode 2020-12-02 12:53:53 +01:00

Build Templates

If you add or modify any template in the templates folder, you also need to run mage generate to get the Go code in synch.