Skip to content

Commit

Permalink
Use ref shortcode instead of lang-link
Browse files Browse the repository at this point in the history
Also fix some links
  • Loading branch information
Hans5958 committed May 22, 2021
1 parent 15868af commit 611cd5d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ minify:

enableGitInfo: true

refLinksErrorLevel: WARNING

defaultContentLanguage: en
# enableMissingTranslationPlaceholders: true
languages:
Expand All @@ -52,8 +54,6 @@ languages:
weight: 1
contentDir: content

# TEMPORARY

params:
sa_version: 1.12.0 # Not currently used
contributors_issue: 71
Expand Down
6 changes: 3 additions & 3 deletions content/farewell.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ <h1 class="mb-3">Farewell!</h1>
<p>You may reinstall the extension by clicking the install button above. You can also leave a review on <a href="https://chrome.google.com/webstore/detail/fbeffbjdlemaoicjdapfpikkikjoneco">the Chrome extension page</a> or <a href="https://addons.mozilla.org/firefox/addon/scratch-messaging-extension/">the Firefox addon page</a>.</p>
<p>Based of your reasons of uninstalling the extension, here are some other things that you can do.</p>
<ul>
<li>Having problems? Please tell us <a href='{{ "/feedback" | absLangURL }}'>here</a> or create an issue <a href="https://github.com/ScratchAddons/ScratchAddons/issues">here</a>.</li>
<li>A feature is missing? Tell us <a href='{{ "/feedback" | absLangURL }}'>here</a> or suggest by <a href="https://github.com/ScratchAddons/ScratchAddons/issues">creating an issue</a> or post about it on <a href="https://github.com/ScratchAddons/ScratchAddons/discussions">our Discussions tab</a>.</li>
<li>Disappointed, or have something to say? Tell us <a href='{{ "/feedback" | absLangURL }}'>here</a>.</li>
<li>Having problems? Please tell us <a href='{{< ref "/feedback" >}}'>here</a> or create an issue <a href="https://github.com/ScratchAddons/ScratchAddons/issues">here</a>.</li>
<li>A feature is missing? Tell us <a href='{{< ref "/feedback" >}}'>here</a> or suggest by <a href="https://github.com/ScratchAddons/ScratchAddons/issues">creating an issue</a> or post about it on <a href="https://github.com/ScratchAddons/ScratchAddons/discussions">our Discussions tab</a>.</li>
<li>Disappointed, or have something to say? Tell us <a href='{{< ref "/feedback" >}}'>here</a>.</li>
</ul>
</section>

Expand Down
2 changes: 1 addition & 1 deletion content/scratch-messaging-transition.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2>Is there anything that I need to do?</h2>

<section id="feedback" class="container mb-4 text-center">
<h2>Send feedback</h2>
<p>If you have anything to say, please <a href='{{ "/feedback" | absLangURL }}' target="_blank">go here to send feedback</a>.</p>
<p>If you have anything to say, please <a href='{{< ref "/feedback" >}}' target="_blank">go here to send feedback</a>.</p>
<p>You can also <a href="https://github.com/ScratchAddons/ScratchAddons/issues/new/choose" target="_blank">open a new issue on GitHub</a>.</p>
</section>

Expand Down
2 changes: 1 addition & 1 deletion content/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ <h2 class="h4">Want to support us?</h2>

<section id="transition" class="container">
<h2 class="h4">Coming from Scratch Messaging Extension?</h2>
<p>Scratch Messaging Extension (by griffpatch) has been updated and is now called Scratch Addons. <a href='{{< lang-link "/scratch-messaging-transition" >}}'>Read more</a>.</p>
<p>Scratch Messaging Extension (by griffpatch) has been updated and is now called Scratch Addons. <a href='{{< ref "/scratch-messaging-transition" >}}'>Read more</a>.</p>
</section>
1 change: 0 additions & 1 deletion layouts/shortcodes/lang-link.html

This file was deleted.

0 comments on commit 611cd5d

Please sign in to comment.