Use sitemeta data variable for webmaster's name on shrine pages

This commit is contained in:
Helen Chong 2024-06-02 14:30:38 +08:00
parent c272f60d1c
commit a82def494e
6 changed files with 12 additions and 9 deletions

View File

@ -1,7 +1,7 @@
{% extends "global/shrineinfo.njk" %} {% extends "global/shrineinfo.njk" %}
{% block shrineAbout %} {% block shrineAbout %}
<p>Welcome to Leilukin's shrine for {% cite "A Summers End — Hong Kong 1986" %}, an indie visual novel developed by Oracle and Bone. Set in 1980s Hong Kong, it tells of a love story between two women.</p> <p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "A Summers End — Hong Kong 1986" %}, an indie visual novel developed by Oracle and Bone. Set in 1980s Hong Kong, it tells of a love story between two women.</p>
{% endblock %} {% endblock %}
{% block shrineLinks %} {% block shrineLinks %}

View File

@ -1,7 +1,7 @@
{% extends "global/shrineinfo.njk" %} {% extends "global/shrineinfo.njk" %}
{% block shrineAbout %} {% block shrineAbout %}
<p>Welcome to Leilukin's shrine for {% cite "Cassette Beasts" %}, an indie monster collecting turn-based open-world role-playing video game developed by Bytten Studio and published by Raw Fury.</p> <p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "Cassette Beasts" %}, an indie monster collecting turn-based open-world role-playing video game developed by Bytten Studio and published by Raw Fury.</p>
{% endblock %} {% endblock %}
{% block shrineLinks %} {% block shrineLinks %}

View File

@ -1,7 +1,7 @@
{% extends "global/shrineinfo.njk" %} {% extends "global/shrineinfo.njk" %}
{% block shrineAbout %} {% block shrineAbout %}
<p>Welcome to Leilukin's shrine for {% cite "Star Wars: Knights of the Old Republic" %}, a series of role-playing video games set in the {% cite "Star Wars" %} universe, taking place almost 4,000 years before the events of the Skywalker film saga.</p> <p>Welcome to {{ sitemeta.siteAuthor.name }}'s shrine for {% cite "Star Wars: Knights of the Old Republic" %}, a series of role-playing video games set in the {% cite "Star Wars" %} universe, taking place almost 4,000 years before the events of the Skywalker film saga.</p>
{% endblock %} {% endblock %}
{% block shrineLinks %} {% block shrineLinks %}

View File

@ -2,16 +2,17 @@
layout: asummersend/content layout: asummersend/content
tags: shrine home tags: shrine home
title: A Summers End — Hong Kong 1986 Shrine title: A Summers End — Hong Kong 1986 Shrine
desc: My shrine for A Summers End — Hong Kong 1986
isContentDivided: true isContentDivided: true
eleventyNavigation: eleventyNavigation:
key: A Summers End Shrine key: A Summers End Shrine
parent: Shrines parent: Shrines
title: A Summers End — Hong Kong 1986 Shrine title: A Summers End — Hong Kong 1986 Shrine
eleventyComputed:
desc: "{{ sitemeta.siteAuthor.name }}'s shrine for A Summers End — Hong Kong 1986."
--- ---
<section class="content__section"> <section class="content__section">
<h2>Welcome to Leilukin's {% cite "A Summers End — Hong Kong 1986" %} Shrine!</h2> <h2>Welcome to My {% cite "A Summers End — Hong Kong 1986" %} Shrine!</h2>
<img src="/assets/shrines/asummersend/images/ASE_Key_art_intro.png" alt="Promotional image of A Summers End — Hong Kong 1986"> <img src="/assets/shrines/asummersend/images/ASE_Key_art_intro.png" alt="Promotional image of A Summers End — Hong Kong 1986">

View File

@ -2,16 +2,17 @@
layout: cassettebeasts/content layout: cassettebeasts/content
tags: shrine home tags: shrine home
title: Cassette Beasts Shrine title: Cassette Beasts Shrine
desc: My shrine for Cassette Beasts.
isContentDivided: true isContentDivided: true
eleventyNavigation: eleventyNavigation:
key: Cassette Beasts Shrine key: Cassette Beasts Shrine
parent: Shrines parent: Shrines
eleventyComputed:
desc: "{{ sitemeta.siteAuthor.name }}'s shrine for Cassette Beasts."
--- ---
{% set imageAssetBaseUrl = '/assets/shrines/cassettebeasts/images/' %} {% set imageAssetBaseUrl = '/assets/shrines/cassettebeasts/images/' %}
<section class="content__section"> <section class="content__section">
<h2>Welcome to Leilukin's {% cite "Cassette Beasts" %} Shrine!</h2> <h2>Welcome to My {% cite "Cassette Beasts" %} Shrine!</h2>
<img src="{{ imageAssetBaseUrl }}CassetteBeasts_keyart_16_9.png" alt="Promotional image of Cassette Beasts"> <img src="{{ imageAssetBaseUrl }}CassetteBeasts_keyart_16_9.png" alt="Promotional image of Cassette Beasts">
<p>{% cite "Cassette Beasts" %} is a 2D/3D hybrid monster collecting open-world role-playing video game developed by Bytten Studio, an indie team based in Brighton, United Kingdom, co-founded by Jay Baylis and Tom Coxon, and published by Raw Fury.</p> <p>{% cite "Cassette Beasts" %} is a 2D/3D hybrid monster collecting open-world role-playing video game developed by Bytten Studio, an indie team based in Brighton, United Kingdom, co-founded by Jay Baylis and Tom Coxon, and published by Raw Fury.</p>

View File

@ -2,16 +2,17 @@
layout: starwarskotor/content layout: starwarskotor/content
tags: shrine home tags: shrine home
title: "Star Wars: Knights of the Old Republic Shrine" title: "Star Wars: Knights of the Old Republic Shrine"
desc: "My shrine for Star Wars: Knights of the Old Republic series."
isContentDivided: true isContentDivided: true
eleventyNavigation: eleventyNavigation:
key: KotOR Shrine key: KotOR Shrine
parent: Shrines parent: Shrines
title: "Star Wars: Knights of the Old Republic Shrine" title: "Star Wars: Knights of the Old Republic Shrine"
eleventyComputed:
desc: "{{ sitemeta.siteAuthor.name }}'s shrine for Star Wars: Knights of the Old Republic series."
--- ---
<section class="content__section"> <section class="content__section">
<h2>Welcome to Leilukin's {% cite "Star Wars: Knights of the Old Republic" %} Shrine!</h2> <h2>Welcome to My {% cite "Star Wars: Knights of the Old Republic" %} Shrine!</h2>
<img src="/assets/shrines/starwarskotor/images/swkotor-header.jpg" alt="Cover art compilation of Star Wars: Knights of the Old Republic series"> <img src="/assets/shrines/starwarskotor/images/swkotor-header.jpg" alt="Cover art compilation of Star Wars: Knights of the Old Republic series">