Compare commits

...

2 Commits

Author SHA1 Message Date
Andrew Coleman 80381b31e3 add justfile for ease of deployment 2023-01-12 14:47:54 -05:00
Andrew Coleman 65c52c8b5f fix urls by not using get_path 2023-01-12 14:47:46 -05:00
3 changed files with 15 additions and 4 deletions

11
justfile Normal file
View File

@ -0,0 +1,11 @@
just := "just"
# lists all tasks available
default:
@{{ just }} --list
build:
zola build
deploy: build
rsync -arvu --delete -e ssh public/* potassium:/usr/local/www/

View File

@ -2,7 +2,7 @@
{% set section = get_section(path="_index.md") %}
<a href="{{ section.permalink | safe }}">
<div class="logo">
<img src="{{ get_url(path=config.extra.juice_logo_path) }}" alt="logo">
<img src="{{ config.extra.juice_logo_path }}" alt="logo">
{{ config.extra.juice_logo_name }}
</div>
</a>

View File

@ -13,8 +13,8 @@
{% include "_variables.html" %}
<link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/normalize.css">
<link rel="stylesheet" href="{{ get_url(path="juice.css") }}">
<link rel="stylesheet" type="text/css" href="/normalize.css">
<link rel="stylesheet" type="text/css" href="/juice.css">
{% block head %}
{% endblock head %}
</head>
@ -43,7 +43,7 @@
Explore More ⇩
</div>
<img class="hero-image" style="max-width: 512px;" src="{{ get_url(path="2020-11-11_07-52-28.jpg") }}">
<img class="hero-image" style="max-width: 512px;" src="/2020-11-11_07-52-28.jpg">
<div class="explore-more text"
onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})">