mirror of
https://github.com/rottenwheel/revuo-weekly.git
synced 2024-11-25 20:43:30 +01:00
Merge pull request #57 from kumitterer/master
Styling and meta tag fixes
This commit is contained in:
commit
50c084725b
@ -7,7 +7,7 @@
|
|||||||
width="2560"
|
width="2560"
|
||||||
height="1280"
|
height="1280"
|
||||||
viewBox="0 0 2560 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)"
|
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
@ -4447,15 +4447,15 @@
|
|||||||
<text
|
<text
|
||||||
id="text619"
|
id="text619"
|
||||||
xml:space="preserve"
|
xml:space="preserve"
|
||||||
transform="translate(0,781.6484)"
|
|
||||||
style="letter-spacing:15px"
|
style="letter-spacing:15px"
|
||||||
x="50%"
|
x="1280"
|
||||||
text-anchor="middle"><tspan
|
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"
|
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"
|
sodipodi:role="line"
|
||||||
id="tspan619"
|
id="tspan619"
|
||||||
x="1287.5"
|
x="1287.5"
|
||||||
y="0">__TITLE__</tspan></text>
|
y="725.64838">__TITLE__</tspan></text>
|
||||||
<text
|
<text
|
||||||
id="text620"
|
id="text620"
|
||||||
xml:space="preserve"
|
xml:space="preserve"
|
||||||
|
Before Width: | Height: | Size: 376 KiB After Width: | Height: | Size: 376 KiB |
@ -1,7 +1,6 @@
|
|||||||
baseURL = 'https://revuo-xmr.com/'
|
baseURL = 'https://revuo-xmr.com/'
|
||||||
languageCode = 'en-us'
|
languageCode = 'en-us'
|
||||||
title = 'Revuo Monero'
|
title = 'Revuo Monero'
|
||||||
description = 'Weekly and Quarterly Monero Newsletter'
|
|
||||||
disablePathToLower = true
|
disablePathToLower = true
|
||||||
canonifyURLs = true
|
canonifyURLs = true
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
@ -15,6 +14,8 @@ priority = 0.5
|
|||||||
quality = 50
|
quality = 50
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
description = 'Weekly and Quarterly Monero Newsletter'
|
||||||
|
|
||||||
dateFormat = "02 Jan 2006"
|
dateFormat = "02 Jan 2006"
|
||||||
|
|
||||||
nav_links = [
|
nav_links = [
|
||||||
|
@ -107,7 +107,7 @@ def create_issue_image(
|
|||||||
period_string = get_period_string(period_start, period_end)
|
period_string = get_period_string(period_start, period_end)
|
||||||
|
|
||||||
cover_template = cover_template.replace("__SITE__", site_title)
|
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)
|
cover_template = cover_template.replace("__DATE__", period_string)
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tempdir:
|
with tempfile.TemporaryDirectory() as tempdir:
|
||||||
|
BIN
static/img/revuo-monero.jpg
Normal file
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 |
Loading…
Reference in New Issue
Block a user