pidgin/nest

a43164c34fb9
Parents bf284c4ce0fc
Children 74890bc9a66d
Add cross links to the plugins section

To do this, we had to move the text where we add the links away from the i18n
string list since Hugo does not support using shortcodes (e.g. for links) in
there.

Also added a new param that points to the docs page that explains our
contribution process (we'll reuse this new param in a later commit for the
development/contributing section of nest)

Testing Done:
Ran dev-server.sh and verified the content looks as intended and links worked

Reviewed at https://reviews.imfreedom.org/r/784/
--- a/hugo/config.toml Thu Jul 01 02:56:53 2021 -0500
+++ b/hugo/config.toml Sat Jul 03 23:28:03 2021 -0500
@@ -12,6 +12,8 @@
editURL = "https://keep.imfreedom.org/pidgin/nest/file/default/hugo/content/"
disableShortcutsTitle = true
+contributeGuideURL = "https://docs.pidgin.im/libpurple/latest/chapter-code-contributions.html"
+
# These enable Open Graph and Twitter cards
description = "Pidgin is a universal chat client, allowing you to consolidate all your different messaging apps into a single tool."
images = ["/images/pidgin-circle-256.png"]
--- a/hugo/i18n/en.toml Thu Jul 01 02:56:53 2021 -0500
+++ b/hugo/i18n/en.toml Sat Jul 03 23:28:03 2021 -0500
@@ -46,9 +46,6 @@
[Community-Info]
other = "Created by the pidgin community"
-[Plugin-Info]
-other = "This page contains a list of plugins from trusted authors and the community. If you believe a plugin should be on this list, please get in touch with us or open a pull request with the update."
-
[Modified]
other = "Modified"
--- a/hugo/layouts/shortcodes/plugintable.html Thu Jul 01 02:56:53 2021 -0500
+++ b/hugo/layouts/shortcodes/plugintable.html Sat Jul 03 23:28:03 2021 -0500
@@ -12,7 +12,7 @@
{{/*** Content ***/}}
<p>
- {{ T "Plugin-Info" }}
+ This page contains a list of plugins from trusted authors and the community. If you believe a plugin should be on this list, please <a href="{{ ref . "contact" }}">get in touch</a> with us or <a href="{{ .Site.Params.contributeGuideURL }}">open a pull request</a> with the update.
</p>
<ul>