Add BASE_URL env to journal and woodpecker

This commit is contained in:
Isaac Mills 2024-04-16 10:57:40 -04:00
parent cd05079513
commit 94ec6161aa
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
3 changed files with 19 additions and 16 deletions

View file

@ -1,6 +1,8 @@
steps:
- name: build
image: journal
environment:
BASE_URL: https://compute.nations.lol
commands:
- bruin-journal-gen
volumes:

View file

@ -8,7 +8,7 @@
<meta content="{{title}}" property="twitter:title">
<meta property="og:title" content="{{title}}">
<meta property="og:type" content="article">
<meta property="og:image" content="/images/logo-z.png">
<meta property="og:image" content="{{base_url}}/images/logo-z.png">
<meta property="og:image:width" content="310">
<meta property="og:image:height" content="310">
<meta property="og:image:alt" content="The Compute logo">
@ -22,23 +22,24 @@
{% endfor %}
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="Webflow" name="generator">
<link href="/css/normalize.css" rel="stylesheet" type="text/css">
<link href="/css/webflow.css" rel="stylesheet" type="text/css">
<link href="/css/compute-c23f91.webflow.css" rel="stylesheet" type="text/css">
<link href="{{base_url}}/css/normalize.css" rel="stylesheet" type="text/css">
<link href="{{base_url}}/css/webflow.css" rel="stylesheet" type="text/css">
<link href="{{base_url}}/css/compute-c23f91.webflow.css" rel="stylesheet" type="text/css">
<script
type="text/javascript">!function (o, c) {var n = c.documentElement, t = " w-mod-"; n.className += t + "js", ("ontouchstart" in o || o.DocumentTouch && c instanceof DocumentTouch) && (n.className += t + "touch")}(window, document);</script>
<link href="/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="/images/webclip.png" rel="apple-touch-icon">
<link href="{{base_url}}/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="{{base_url}}/images/webclip.png" rel="apple-touch-icon">
</head>
<body>
<div data-animation="default" data-collapse="medium" data-duration="400" data-easing="ease" data-easing2="ease"
role="banner" class="w-nav">
<div class="container-2 w-container">
<a href="/" class="w-nav-brand"><img src="/images/logo-z.svg" loading="lazy" alt="Compute logo" height="64"></a>
<a href="{{base_url}}/" class="w-nav-brand"><img src="{{base_url}}/images/logo-z.svg" loading="lazy"
alt="Compute logo" height="64"></a>
<nav role="navigation" class="w-nav-menu">
<a href="/" class="w-nav-link">Home</a>
<a href="/atom" class="w-nav-link">RSS/Atom</a>
<a href="{{base_url}}/" class="w-nav-link">Home</a>
<a href="{{base_url}}/atom" class="w-nav-link">RSS/Atom</a>
<a href="https://discord.gg/mRHP9mSqG9" class="w-nav-link">Discord Server</a>
</nav>
<div class="w-nav-button">
@ -59,13 +60,13 @@
</div>
<article>{{body}}</article>
<hr>
<a href="/">
<a href="{{base_url}}/">
<h3 style="margin-left: 20px;min-height:200px">Read more from Compute</h3>
</a>
<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=66007382143b5f99deb20223"
type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<script src="/js/webflow.js" type="text/javascript"></script>
<script src="{{base_url}}/js/webflow.js" type="text/javascript"></script>
</body>
</html>
</html>

View file

@ -7,7 +7,7 @@
<meta content="{{title}}" property="twitter:title">
<meta property="og:title" content="{{title}}">
<meta property="og:type" content="article">
<meta property="og:image" content="/images/logo-z.png">
<meta property="og:image" content="{{base_url}}/images/logo-z.png">
<meta property="og:image:width" content="310">
<meta property="og:image:height" content="310">
<meta property="og:image:alt" content="The Compute logo">
@ -20,8 +20,8 @@
<meta property="og:article:author:username" content="{{author.username}}">
{% endfor %}
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="/images/webclip.png" rel="apple-touch-icon">
<link href="{{base_url}}/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="{{base_url}}/images/webclip.png" rel="apple-touch-icon">
</head>
<body>
@ -29,4 +29,4 @@
{{body}}
</body>
</html>
</html>