Compare commits

...

6 Commits

Author SHA1 Message Date
rottenwheel
7bbda8393a
Merge pull request #9 from kumitterer/main
Requested changes
2024-07-23 23:01:45 +00:00
Kumi
26f0a266ec
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.
2024-07-23 11:16:05 +02:00
Kumi
f6db3448bd
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.
2024-07-23 10:37:12 +02:00
Kumi
b86ff14829
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.
2024-07-23 10:10:38 +02:00
Kumi
530627ec8f
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.
2024-07-23 09:47:54 +02:00
Kumi
b5ca26c611
docs: add link for Monero build instructions
Updated the volunteer section to include a missing direct link to the Monero build instructions on GitHub.
2024-07-23 09:34:47 +02:00
6 changed files with 14 additions and 13 deletions

View File

@ -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
@ -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 >}}

View File

@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>

View File

@ -20,10 +20,10 @@
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ .Title }}" />
<meta name="twitter:image" content="{{ if and (eq .Section "posts") (.Params.image) }}/{{ .Params.image }}{{ else }}/img/revuo-monero.png{{ end }}" />
<meta name="twitter:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.png{{ end }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:image" content="{{ if and (eq .Section "posts") (.Params.image) }}/{{ .Params.image }}{{ else }}/img/revuo-monero.png{{ end }}" />
<meta property="og:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.png{{ end }}" />
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}

View File

@ -16,7 +16,7 @@
<tr>
{{ $price := split (.Get "price_usd") "," }}
<td data-th="XMR to">USD</td>
<td data-th='{{ $td := .Get "table_date" }}'>${{ index $price 0 }}</td>
<td data-th='{{ $td }}'>${{ index $price 0 }}</td>
{{ $week := index $price 1 }}
{{ $month := index $price 2 }}
@ -36,7 +36,7 @@
<tr class="row3">
{{ $price := split (.Get "price_eur") "," }}
<td data-th="XMR to">EUR</td>
<td data-th='{{ $td := .Get "table_date" }}'>€{{ index $price 0 }}</td>
<td data-th='{{ $td }}'>€{{ index $price 0 }}</td>
{{ $week := index $price 1 }}
{{ $month := index $price 2 }}
@ -56,7 +56,7 @@
<tr>
{{ $price := split (.Get "price_btc") "," }}
<td data-th="XMR to">BTC</td>
<td data-th='{{ $td := .Get "table_date" }}'>₿{{ index $price 0 }}</td>
<td data-th='{{ $td }}'>₿{{ index $price 0 }}</td>
{{ $week := index $price 1 }}
{{ $month := index $price 2 }}

View File

@ -1,4 +1,4 @@
<h3>Support</h3>
<h3 id="support">Support</h3>
Revuo is an <a href="/support">audience-funded newsletter</a>. If you enjoy this content, please consider supporting it directly:
{{ partial "donate.html" . }}

View File

@ -1,4 +1,4 @@
<h3>Volunteer Opportunities</h3>
<h3 id="volunteer">Volunteer Opportunities</h3>
If you want to get involved in making Monero better, but aren't sure how, check out some volunteer opportunities.
{{ .Inner }}