Skip to content

Commit

Permalink
tweaks and slogans
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorchard committed Jul 25, 2024
1 parent 4d2a7f8 commit 3b7adc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export default {
"have you seen my stapler?",
"you can't park that there",
"this is not my beautiful blog",
"this place is not a place of honor",
],
language: "en",
baseurl: process.env.BASE_URL || "",
Expand Down
8 changes: 4 additions & 4 deletions templates/layoutPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ export default ({ site = {}, page = {}, head = "", js = "" }, content) => html`
<img src="${site.avatar}" />
<div class="title">
<h1>
<a href="${site.baseurl}/">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 250 20" alt="${site.title}">
<a href="${site.baseurl}/" title="${site.title}">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 250 20">
<text lengthAdjust="spacing" fill="currentColor" y="16" textLength="240" x="5">
${site.title}
</text>
</svg>
</a>
</h1>
<h2>
<rotating-tagline random initial="1" period="7000" taglines="${JSON.stringify(site.subtitles)}" alt="${site.subtitles[0]}">
<a href="${site.baseurl}/">
<rotating-tagline random initial="1" period="7000" taglines="${JSON.stringify(site.subtitles)}">
<a href="${site.baseurl}/" title="${site.subtitles[0]}">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 250 20">
<text class="tagline" lengthAdjust="spacing" fill="currentColor" y="16" textLength="240" x="5">
${site.subtitles[0]}
Expand Down

0 comments on commit 3b7adc9

Please sign in to comment.