Skip to content

Commit

Permalink
many links are relative, not absolute
Browse files Browse the repository at this point in the history
disable socials
nicer 404
  • Loading branch information
iandennismiller committed Sep 22, 2023
1 parent 14b6b8f commit 50fba34
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ serve:
clean:
$(JEKYLL_CMD) $(JEKYLL_IMAGE) /bin/bash -c 'bundle exec jekyll clean'

incremental: clean
incremental:
$(JEKYLL_CMD) $(JEKYLL_IMAGE) \
/bin/bash -c 'JEKYLL_ENV=production bundle exec jekyll build --incremental'

Expand Down
2 changes: 1 addition & 1 deletion _includes/item-list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul>
{% for item in include.data %}
<li>
<a href="{{ site.baseurl }}/{{ include.dirname }}/{{ item.id|downcase }}.html">{{ item.title }}.</a>
<a href="./{{ item.id|downcase }}.html">{{ item.title }}.</a>
({{ item.year }}).
{{ item.author }}.
</li>
Expand Down
2 changes: 2 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ <h1 class="post-title">{{ page.title }}</h1>
</div>

<div class="social">
{% comment %}
{% include share-twitter.html url=page.url text=page.title %}
{% endcomment %}
</div>

</article>
2 changes: 1 addition & 1 deletion _pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image: /media/thumb-big.jpg
excerpt: I hope this will be a good reference for people seeking to discover Solarpunk readings.
---

![]({{ site.baseurl }}/media/headers/aerial-6.jpg)
![Aerial view of Solarpunk City](../media/headers/aerial-6.jpg)

I hope this will be a good reference for people seeking to discover Solarpunk readings.
I began this project because I was inspired by online discussions that produced expertly-curated book lists of Solarpunk literature.
Expand Down
2 changes: 1 addition & 1 deletion _pages/aesthetic.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
---

<p>
<img src="{{ site.baseurl }}/media/headers/aerial-7.jpg">
<img src="../media/headers/aerial-7.jpg">
</p>

<p>{{ page.excerpt }}</p>
Expand Down
2 changes: 1 addition & 1 deletion _pages/city.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
---

<p>
<img src="{{ site.baseurl }}/media/headers/street-1.jpg">
<img src="../media/headers/street-1.jpg">
</p>

<p>{{ page.excerpt }}</p>
Expand Down
16 changes: 8 additions & 8 deletions _pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,44 +14,44 @@
</p>

<p>
<a href="{{ site.baseurl }}/aesthetic/vision.html">
<img src="{{ site.baseurl }}/media/solarpunk-vision.jpeg">
<a href="./aesthetic/vision.html">
<img src="./media/solarpunk-vision.jpeg">
</a>
</p>

<h2><a href="{{ site.baseurl }}/aesthetic/">Solarpunk Aesthetic</a> ({{ site.data.aesthetic.size }} items)</h2>
<h2><a href="./aesthetic/">Solarpunk Aesthetic</a> ({{ site.data.aesthetic.size }} items)</h2>

<p>
This book list contains Solarpunk literature.
In these books, we discover compelling visions that inspire us to dream of Solarpunk futures.
</p>

<h2><a href="{{ site.baseurl }}/city/">Solarpunk City</a> ({{ site.data.city.size }} items)</h2>
<h2><a href="./city/">Solarpunk City</a> ({{ site.data.city.size }} items)</h2>

<p>
The city is a community and place where Solarpunk ideas can be applied.
These books explore the city as a place for Solarpunk practice.
</p>

<h2><a href="{{ site.baseurl }}/practice/">Solarpunk Practice</a> ({{ site.data.practice.size }} items)</h2>
<h2><a href="./practice/">Solarpunk Practice</a> ({{ site.data.practice.size }} items)</h2>

<p>
In practice, Solarpunk is expressed as techniques that build harmony among humans and nature.
These books contain knowledge and methods for enacting the changes we require.
</p>

<h2><a href="{{ site.baseurl }}/theory/">Solarpunk Theory</a> ({{ site.data.theory.size }} items)</h2>
<h2><a href="./theory/">Solarpunk Theory</a> ({{ site.data.theory.size }} items)</h2>

<p>
Solarpunk is a theory of change that is expressed in these works.
A set of principles and values guide us to build a better world.
</p>

<h2><a href="{{ site.baseurl }}/manifesto/">A Solarpunk Manifesto</a></h2>
<h2><a href="./manifesto/">A Solarpunk Manifesto</a></h2>

<p>
This document is a statement of Solarpunk values and principles authored by <em>The Solarpunk Community</em> in 2019.
<em>A Solarpunk Manifesto</em> has been <a href="{{ site.baseurl }}/manifesto/">translated into many languages</a>.
<em>A Solarpunk Manifesto</em> has been <a href="./manifesto/">translated into many languages</a>.
</p>

</div>
2 changes: 1 addition & 1 deletion _pages/manifesto.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image: /media/thumb-big.jpg
excerpt: Translations of A Solarpunk Manifesto
---

![]({{ site.baseurl }}/media/headers/aerial-4.jpg)
![Aerial view of Solarpunk City](../media/headers/aerial-4.jpg)

*A Solarpunk Manifesto* has been translated into the following languages:

Expand Down
2 changes: 1 addition & 1 deletion _pages/practice.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
---

<p>
<img src="{{ site.baseurl }}/media/headers/aerial-8.jpg">
<img src="../media/headers/aerial-8.jpg">
</p>

<p>{{ page.excerpt }}</p>
Expand Down
2 changes: 1 addition & 1 deletion _pages/theory.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
---

<p>
<img src="{{ site.baseurl }}/media/headers/aerial-5.jpg">
<img src="../media/headers/aerial-5.jpg">
</p>

<p>{{ page.excerpt }}</p>
Expand Down
2 changes: 1 addition & 1 deletion _pages/vision.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<p>
<video width="100%" controls="controls">
<source src="{{ site.baseurl }}/media/solarpunk-vision.mp4" type="video/mp4">
<source src="../media/solarpunk-vision.mp4" type="video/mp4">
</video>
</p>

Expand Down
9 changes: 8 additions & 1 deletion _root/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
permalink: /404.html
---
<!DOCTYPE html>
<html><body>404</body></html>
<html>
<body>
<div style="text-align: center; font-family: sans-serif; font-size: 4em;">
<h1>404</h1>
<p><img src="../media/headers/aerial-1.jpg"></p>
</div>
</body>
</html>

0 comments on commit 50fba34

Please sign in to comment.