Skip to content

Commit 0484e86

Browse files
hardingbitschmidty
authored andcommitted
Preview: allow setting base URI to https://bitcoinops.org
1 parent aa28ede commit 0484e86

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ production-test:
5858

5959
new-topic:
6060
_contrib/new-topic
61+
62+
email: clean
63+
@ echo
64+
@ echo "[NOTICE] Latest Newsletter: http://localhost:4000/en/newsletters/$$(ls _posts/en/newsletters/ | tail -1 | tr "-" "/" | sed 's/newsletter.md//')"
65+
@ echo
66+
$(MAKE) preview JEKYLL_ENV=email

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
44

55
{%- include head.html -%}
6+
{% if jekyll.environment == 'email' -%}<base href="https://bitcoinops.org/">{% endif %}
67

78
<body>
89

0 commit comments

Comments
 (0)