Compare commits

...

5 Commits

Author SHA1 Message Date
rottenwheel
50c084725b
Merge pull request #57 from kumitterer/master
Styling and meta tag fixes
2024-08-07 08:25:27 +00:00
Kumi
e0a6f0d15c
Merge branch 'rottenwheel:master' into master 2024-08-07 08:56:54 +02:00
Kumi
d3fa303364
fix: correct text alignment and title formatting in SVG
Adjusted text alignment and positioning in the cover template SVG for better rendering. Modified issue title format in the issue image creation script to uppercase for consistency.
2024-08-07 08:46:30 +02:00
Kumi
d7570c1d0c
feat: replace revuo-monero logo image
Swapped the revuo-monero.png with revuo-monero.jpg image.
2024-08-06 12:03:04 +02:00
Kumi
b54a5f4625
fix(config): move description to params section
Moved the 'description' field from the main config section to the 'params' section for better organization and adherence to Hugo's recommended configuration structure. This change helps maintain cleaner and more modular configuration files.
2024-08-06 12:02:29 +02:00
5 changed files with 8 additions and 7 deletions

View File

@ -7,7 +7,7 @@
width="2560"
height="1280"
viewBox="0 0 2560 1280"
sodipodi:docname="8fcxhv.svg"
sodipodi:docname="cover-template.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
@ -4447,15 +4447,15 @@
<text
id="text619"
xml:space="preserve"
transform="translate(0,781.6484)"
style="letter-spacing:15px"
x="50%"
text-anchor="middle"><tspan
x="1280"
text-anchor="middle"
y="725.64838"><tspan
style="font-variant:normal;font-weight:100;font-stretch:normal;font-size:250px;font-family:'DM Sans';letter-spacing:15px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
sodipodi:role="line"
id="tspan619"
x="1287.5"
y="0">__TITLE__</tspan></text>
y="725.64838">__TITLE__</tspan></text>
<text
id="text620"
xml:space="preserve"

Before

Width:  |  Height:  |  Size: 376 KiB

After

Width:  |  Height:  |  Size: 376 KiB

View File

@ -1,7 +1,6 @@
baseURL = 'https://revuo-xmr.com/'
languageCode = 'en-us'
title = 'Revuo Monero'
description = 'Weekly and Quarterly Monero Newsletter'
disablePathToLower = true
canonifyURLs = true
enableRobotsTXT = true
@ -15,6 +14,8 @@ priority = 0.5
quality = 50
[params]
description = 'Weekly and Quarterly Monero Newsletter'
dateFormat = "02 Jan 2006"
nav_links = [

View File

@ -107,7 +107,7 @@ def create_issue_image(
period_string = get_period_string(period_start, period_end)
cover_template = cover_template.replace("__SITE__", site_title)
cover_template = cover_template.replace("__TITLE__", f"Issue {issue_number}")
cover_template = cover_template.replace("__TITLE__", f"ISSUE {issue_number}")
cover_template = cover_template.replace("__DATE__", period_string)
with tempfile.TemporaryDirectory() as tempdir:

BIN
static/img/revuo-monero.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB