From b5ca26c6110ee78fcaa5b3e5aa757ff3c71207fb Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Jul 2024 09:34:47 +0200 Subject: [PATCH 1/5] docs: add link for Monero build instructions Updated the volunteer section to include a missing direct link to the Monero build instructions on GitHub. --- archetypes/weekly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archetypes/weekly.md b/archetypes/weekly.md index 8709f0b..763bf04 100644 --- a/archetypes/weekly.md +++ b/archetypes/weekly.md @@ -82,7 +82,7 @@ Sources: [miningpoolstats.stream](https://miningpoolstats.stream/monero); [bitin {{< volunteer >}} {{% volunteer_item title="Test Monero Core Software" link="https://github.com/monero-project/monero" %}} -Anyone with moderate technical ability is encouraged to try to build and run Monero nightlies. Do not trust it with your Monero, but feel free to open an Issue on GitHub as problems arise. Instructions to build on your OS of choice can be found here. +Anyone with moderate technical ability is encouraged to try to build and run Monero nightlies. Do not trust it with your Monero, but feel free to open an Issue on GitHub as problems arise. Instructions to build on your OS of choice can be found [here](https://github.com/monero-project/monero#compiling-monero-from-source). {{% /volunteer_item %}} {{< /volunteer >}} From 530627ec8f68fe9a9a186b586ef4ec764ad5c86a Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Jul 2024 09:47:54 +0200 Subject: [PATCH 2/5] fix: correct image URLs for weekly Twitter and OG tags Updated the logic for Twitter and Open Graph image tags to use the correct image URLs for "weekly" section posts. This ensures that the cover images are correctly displayed on social platforms. --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 84edc38..351e142 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -20,10 +20,10 @@ - + - + {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} From b86ff148294d02b062d08f37cb84a39318a32875 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Jul 2024 10:10:38 +0200 Subject: [PATCH 3/5] feat: update markdown headers and links Added anchor tags to markdown headers for improved navigation. Renamed 'Donate' section to 'Support' to better reflect its content. Updated support and volunteer shortcodes to include IDs for better link targets. Improves user experience by making links directly to specific sections work. --- archetypes/weekly.md | 10 +++++----- layouts/shortcodes/support.html | 2 +- layouts/shortcodes/volunteer.html | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/archetypes/weekly.md b/archetypes/weekly.md index 763bf04..0f05a4b 100644 --- a/archetypes/weekly.md +++ b/archetypes/weekly.md @@ -14,21 +14,21 @@ title: "Issue {{ len (readDir "content/weekly") }}: {{ dateFormat "January 02" . - [CCS Proposals](#proposals) - [Price & Blockchain Stats](#stats) - [Volunteer Opportunities](#volunteer) -- [Donate](#donate) +- [Support](#support) -### Recent News +### Recent News {#news} {{% newsbyte %}} Haveno DEX [v1.0.8](https://github.com/haveno-dex/haveno/releases/tag/1.0.8) adding scripts to run Haveno on Tails OS; miscellaneous translations; general enhancements and a few bug fixes. Haveno Reto [v1.0.8](https://github.com/retoaccess1/haveno-reto/releases/tag/v1.0.8). {{% /newsbyte %}} -### Upcoming Events +### Upcoming Events {#events} {{% event "July 1, 2024 (Monday) - 18:00 UTC" %}} Seraphis Wallet Workgroup Meeting - [#no-wallet-left-behind](irc://irc.libera.chat/#no-wallet-left-behind) IRC channel; Matrix [room](https://matrix.to/#/#no-wallet-left-behind:monero.social). {{% /event %}} -### CCS Proposal Ideas +### CCS Proposal Ideas {#proposals} Below you can find some CCS proposal ideas open for discussion. @@ -42,7 +42,7 @@ full-time development 2024Q3 full-time development 2024Q3 {{% /ccs_item %}} -### Price & Blockchain Stats +### Price & Blockchain Stats {#stats} ###### Blockchain Stats diff --git a/layouts/shortcodes/support.html b/layouts/shortcodes/support.html index 477f58d..9a1c6c2 100644 --- a/layouts/shortcodes/support.html +++ b/layouts/shortcodes/support.html @@ -1,4 +1,4 @@ -

Support

+

Support

Revuo is an audience-funded newsletter. If you enjoy this content, please consider supporting it directly: {{ partial "donate.html" . }} diff --git a/layouts/shortcodes/volunteer.html b/layouts/shortcodes/volunteer.html index bf8deeb..f25ff88 100644 --- a/layouts/shortcodes/volunteer.html +++ b/layouts/shortcodes/volunteer.html @@ -1,4 +1,4 @@ -

Volunteer Opportunities

+

Volunteer Opportunities

If you want to get involved in making Monero better, but aren't sure how, check out some volunteer opportunities. {{ .Inner }} \ No newline at end of file From f6db3448bd94acc16aa24cf2a273fd1fe8fcb109 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Jul 2024 10:37:12 +0200 Subject: [PATCH 4/5] fix: correct assignment of table_date variable Simplified the assignment of the 'table_date' variable to ensure clearer readability and consistency across the price performance shortcodes. This change helps avoid potential reassignments within the same scope, ensuring the correct date is consistently used for display. --- layouts/shortcodes/price_performance.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/price_performance.html b/layouts/shortcodes/price_performance.html index 424f4ec..803ed67 100644 --- a/layouts/shortcodes/price_performance.html +++ b/layouts/shortcodes/price_performance.html @@ -16,7 +16,7 @@ {{ $price := split (.Get "price_usd") "," }} USD - ${{ index $price 0 }} + ${{ index $price 0 }} {{ $week := index $price 1 }} {{ $month := index $price 2 }} @@ -36,7 +36,7 @@ {{ $price := split (.Get "price_eur") "," }} EUR - €{{ index $price 0 }} + €{{ index $price 0 }} {{ $week := index $price 1 }} {{ $month := index $price 2 }} @@ -56,7 +56,7 @@ {{ $price := split (.Get "price_btc") "," }} BTC - ₿{{ index $price 0 }} + ₿{{ index $price 0 }} {{ $week := index $price 1 }} {{ $month := index $price 2 }} From 26f0a266ec040ce9e9abfdf1804d2e670c2982c1 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Jul 2024 11:16:05 +0200 Subject: [PATCH 5/5] feat: add custom link renderer for improved URL handling Introduced a custom link renderer in the default layout to create links with enhanced URL safety and behavior. Links now open in a new tab if they start with "http", and include a title attribute if provided. This ensures better user experience and security. --- layouts/_default/_markup/render-link.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 layouts/_default/_markup/render-link.html diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..a5cd49a --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{ .Text | safeHTML }} \ No newline at end of file