Skip to content

Commit

Permalink
Use JSON-LD on actor and author pages
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Apr 25, 2019
1 parent 28b6629 commit 7322235
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions in/actor.tt
@@ -1,5 +1,7 @@
[% META title = 'Actor' -%]

<script type="application/ld+json">
[% actor.json_ld %]</script>
<p class="text-muted">[% template.title or 'Literature on TV' %]</hp>

<h1 class="display-3">[% actor.name %]</h1>
Expand Down
2 changes: 2 additions & 0 deletions in/author.tt
@@ -1,5 +1,7 @@
[% META title = 'Author' %]

<script type="application/ld+json">
[% author.json_ld %]</script>
<p class="text-muted">[% template.title or 'Literature on TV' %]</p>

<h1 class="display-3">[% author.name %]</h1>
Expand Down

0 comments on commit 7322235

Please sign in to comment.