aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-19 08:55:35 -0300
committerEuAndreh <eu@euandre.org>2020-12-19 08:55:35 -0300
commitfd572e8bb8d19d7c3a5c6b56c4ea44446e5efd80 (patch)
tree1963c32ee4257b6ad12511949899ad06fe278856
parentdefault.nix: Don't start server on shellHook (diff)
downloadeuandre.org-fd572e8bb8d19d7c3a5c6b56c4ea44446e5efd80.tar.gz
euandre.org-fd572e8bb8d19d7c3a5c6b56c4ea44446e5efd80.tar.xz
Move images/ -> static/
Diffstat (limited to '')
-rw-r--r--_config.yml2
-rw-r--r--_includes/categories.html2
-rw-r--r--_includes/link-listing.html2
-rw-r--r--_layouts/default.html4
-rw-r--r--_plugins/add-anchor-to-header-from-header-id.rb2
-rw-r--r--_plugins/graphviz-block.rb2
-rw-r--r--static/atom.svg (renamed from images/atom.svg)0
-rw-r--r--static/envelope.svg (renamed from images/envelope.svg)0
-rw-r--r--static/link.svg (renamed from images/link.svg)0
-rw-r--r--static/lock.svg (renamed from images/lock.svg)0
10 files changed, 7 insertions, 7 deletions
diff --git a/_config.yml b/_config.yml
index 93eb586..d21259d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -31,7 +31,7 @@ exclude:
- result*
- metadata.json
- tests.sh
- - images/graphviz/
+ - static/graphviz/
- drafts
collections:
diff --git a/_includes/categories.html b/_includes/categories.html
index 10a9433..7f1e4cd 100644
--- a/_includes/categories.html
+++ b/_includes/categories.html
@@ -22,7 +22,7 @@
<h2 id="{{ category | replace:" ", "-" }}">
<a href="#{{ category | replace:" ", "-" }}">{{ category }}</a>
<a href="{% link {{ feed_link }} %}">
- <img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
+ <img class="simple-icon" src="/static/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>
</h2>
<ul>
diff --git a/_includes/link-listing.html b/_includes/link-listing.html
index d0bc891..e526f81 100644
--- a/_includes/link-listing.html
+++ b/_includes/link-listing.html
@@ -1,7 +1,7 @@
<h2>
{{ site.t[include.kind].listing[page.lang] }}
<a href="{{ site.t[include.kind].feed.url[page.lang] }}">
- <img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
+ <img class="simple-icon" src="/static/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>
</h2>
diff --git a/_layouts/default.html b/_layouts/default.html
index cbc7eb0..8458cbe 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -82,11 +82,11 @@
<footer>
<ul>
<li>
- <img class="simple-icon" src="/images/envelope.svg" alt="{{ site.t.alt.envelope_icon[page.lang] }}" />
+ <img class="simple-icon" src="/static/envelope.svg" alt="{{ site.t.alt.envelope_icon[page.lang] }}" />
<a href="mailto:{{ site.author.email }}">{{ site.author.email }}</a>
</li>
<li>
- <img class="simple-icon" src="/images/lock.svg" alt="{{ site.t.alt.lock_icon[page.lang] }}" />
+ <img class="simple-icon" src="/static/lock.svg" alt="{{ site.t.alt.lock_icon[page.lang] }}" />
<a href="/public-key.txt">81F90EC3CD356060</a>
</li>
</ul>
diff --git a/_plugins/add-anchor-to-header-from-header-id.rb b/_plugins/add-anchor-to-header-from-header-id.rb
index 373389a..7138262 100644
--- a/_plugins/add-anchor-to-header-from-header-id.rb
+++ b/_plugins/add-anchor-to-header-from-header-id.rb
@@ -5,7 +5,7 @@ Jekyll::Hooks.register [:documents, :pages], :post_render do |doc|
doc.output =
doc.output.gsub(
/<h([1-6])(.*?)id="([\w-]+)"(.*?)>(.*?)<\/h[1-6]>/,
- '<div class="header-anchor"><h\1\2id="\3"\4>\5</h\1><a href="#\3"><img class="simple-icon" src="/images/link.svg" aria-hidden="true" alt="' + alt + '" /></a></div>'
+ '<div class="header-anchor"><h\1\2id="\3"\4>\5</h\1><a href="#\3"><img class="simple-icon" src="/static/link.svg" aria-hidden="true" alt="' + alt + '" /></a></div>'
)
end
end
diff --git a/_plugins/graphviz-block.rb b/_plugins/graphviz-block.rb
index 4ddd2ee..a2e32bf 100644
--- a/_plugins/graphviz-block.rb
+++ b/_plugins/graphviz-block.rb
@@ -1,7 +1,7 @@
require 'tempfile'
require 'digest'
-OUTPUT_DIR = '/images/graphviz'
+OUTPUT_DIR = '/static/graphviz'
module Jekyll
class GraphvizBlock < Liquid::Block
diff --git a/images/atom.svg b/static/atom.svg
index 8d9a80b..8d9a80b 100644
--- a/images/atom.svg
+++ b/static/atom.svg
diff --git a/images/envelope.svg b/static/envelope.svg
index aa58507..aa58507 100644
--- a/images/envelope.svg
+++ b/static/envelope.svg
diff --git a/images/link.svg b/static/link.svg
index eab23a3..eab23a3 100644
--- a/images/link.svg
+++ b/static/link.svg
diff --git a/images/lock.svg b/static/lock.svg
index e8b33a2..e8b33a2 100644
--- a/images/lock.svg
+++ b/static/lock.svg