aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
-rw-r--r--abridge.svg1
-rw-r--r--config.toml1
-rw-r--r--sass/skins/_abridge-auto.scss2
-rw-r--r--sass/skins/_abridge-dark.scss2
-rw-r--r--static/android-chrome-192x192.pngbin156 -> 2772 bytes
-rw-r--r--static/android-chrome-192x192m.pngbin0 -> 2464 bytes
-rw-r--r--static/android-chrome-192x192x128m.pngbin152 -> 0 bytes
-rw-r--r--static/android-chrome-512x512.pngbin380 -> 6790 bytes
-rw-r--r--static/apple-touch-icon.pngbin155 -> 2817 bytes
-rw-r--r--static/banner.pngbin11217 -> 20004 bytes
-rw-r--r--static/favicon-16x16.pngbin113 -> 559 bytes
-rw-r--r--static/favicon-32x32.pngbin113 -> 982 bytes
-rw-r--r--static/favicon.icobin452 -> 2650 bytes
-rw-r--r--static/logo.svg1
-rw-r--r--static/mstile-150x150.pngbin181 -> 2505 bytes
-rw-r--r--static/safari-pinned-tab.svg2
-rw-r--r--static/site.webmanifest2
-rw-r--r--templates/base.html8
19 files changed, 22 insertions, 6 deletions
diff --git a/README.md b/README.md
index 316d5af..f57f846 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,16 @@
+<div align="center">
+<img src="abridge.svg"/>
+
# Abridge Zola Theme
-Abridge is a fast and lightweight Zola theme using semantic html, class-light [abridge.css](https://github.com/jieiku/abridge.css), and No JS.
+Abridge is a fast and lightweight Zola theme using semantic html, a class-light [abridge.css](https://github.com/jieiku/abridge.css), and No JS.
![abridge](screenshot.png)
+</div>
+
+---
+
## Demo
[https://jieiku.github.io/abridge-demo/](https://jieiku.github.io/abridge-demo/)
diff --git a/abridge.svg b/abridge.svg
new file mode 100644
index 0000000..da6da6f
--- /dev/null
+++ b/abridge.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#f90" viewBox="0 0 96 96" width="192" height="192"><path stroke-width="14" d="M14 99 46 7h4l32 92"/><path stroke-width="9" d="M-3 82c43-26 59-26 102 0"/><path stroke-linecap="round" stroke-width="1.5" d="M94 72v7m-5-9.8v7m-5-9.8v7.1M79 64v7M63 57.7v7m-5-8.2v7m-5-7.8v7m-5-7.2v7m-5-6.7v7m-5-6.3v7m-5-5.8v7M17 64v7m-5-4.6v7m-5-4.2v7M2 72v7"/></svg> \ No newline at end of file
diff --git a/config.toml b/config.toml
index 79ef3c6..4eb08cf 100644
--- a/config.toml
+++ b/config.toml
@@ -50,6 +50,7 @@ recent_items = 9
footer_credit = true
#footer_credit_override = '<p>Powered by <a href="https://www.getzola.org/">Zola</a> &#38; <a href="https://github.com/Jieiku/abridge/">Abridge</a></p>' # <i class="fa-solid fa-heart"></i>
+logo = { file="logo.svg", width="42", height="42", alt="Abridge", text="bridge" }
textlogo = '<font color="#f90">A</font>bridge'
sitedesc = false # enables or disables the display of the site description below the logo.
#copyright_start_year = 2019 # optional
diff --git a/sass/skins/_abridge-auto.scss b/sass/skins/_abridge-auto.scss
index dd0ccca..81d7f2f 100644
--- a/sass/skins/_abridge-auto.scss
+++ b/sass/skins/_abridge-auto.scss
@@ -35,6 +35,6 @@
--a1: #f90; //accent color 1 link
--a2: #fb0; //accent color 2 hover,focus
- --a3: #fb0; //accent color 3 h1-h2 hover,focus
+ --a3: #f90; //accent color 3 h1-h2 hover,focus
}
}
diff --git a/sass/skins/_abridge-dark.scss b/sass/skins/_abridge-dark.scss
index e49ce68..91c6703 100644
--- a/sass/skins/_abridge-dark.scss
+++ b/sass/skins/_abridge-dark.scss
@@ -18,7 +18,7 @@
--a1: #f90; //accent color 1 link
--a2: #fb0; //accent color 2 hover,focus
- --a3: #fb0; //accent color 3 h1-h2 hover,focus
+ --a3: #f90; //accent color 3 h1-h2 hover,focus
--cg: #483; //ins green
--cr: #d33; //del red
diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png
index fc9c419..f35179c 100644
--- a/static/android-chrome-192x192.png
+++ b/static/android-chrome-192x192.png
Binary files differ
diff --git a/static/android-chrome-192x192m.png b/static/android-chrome-192x192m.png
new file mode 100644
index 0000000..9630646
--- /dev/null
+++ b/static/android-chrome-192x192m.png
Binary files differ
diff --git a/static/android-chrome-192x192x128m.png b/static/android-chrome-192x192x128m.png
deleted file mode 100644
index 65d0700..0000000
--- a/static/android-chrome-192x192x128m.png
+++ /dev/null
Binary files differ
diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png
index f8df883..adb1e65 100644
--- a/static/android-chrome-512x512.png
+++ b/static/android-chrome-512x512.png
Binary files differ
diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png
index c603b5b..67bfc4f 100644
--- a/static/apple-touch-icon.png
+++ b/static/apple-touch-icon.png
Binary files differ
diff --git a/static/banner.png b/static/banner.png
index 7dd3a54..54a9d95 100644
--- a/static/banner.png
+++ b/static/banner.png
Binary files differ
diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png
index 46673b3..fbe79ae 100644
--- a/static/favicon-16x16.png
+++ b/static/favicon-16x16.png
Binary files differ
diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png
index 7f30ec9..3f885f5 100644
--- a/static/favicon-32x32.png
+++ b/static/favicon-32x32.png
Binary files differ
diff --git a/static/favicon.ico b/static/favicon.ico
index c412603..43e6530 100644
--- a/static/favicon.ico
+++ b/static/favicon.ico
Binary files differ
diff --git a/static/logo.svg b/static/logo.svg
new file mode 100644
index 0000000..02f7d64
--- /dev/null
+++ b/static/logo.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#f90" viewBox="0 0 96 96"><path stroke-width="14" d="M14 99 46 7h4l32 92"/><path stroke-width="9" d="M-3 82c43-26 59-26 102 0"/><path stroke-linecap="round" stroke-width="1.5" d="M94 72v7m-5-9.8v7m-5-9.8v7.1M79 64v7M63 57.7v7m-5-8.2v7m-5-7.8v7m-5-7.2v7m-5-6.7v7m-5-6.3v7m-5-5.8v7M17 64v7m-5-4.6v7m-5-4.2v7M2 72v7"/></svg> \ No newline at end of file
diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png
index 448313f..f26a5e5 100644
--- a/static/mstile-150x150.png
+++ b/static/mstile-150x150.png
Binary files differ
diff --git a/static/safari-pinned-tab.svg b/static/safari-pinned-tab.svg
index 40e7cc4..31cf03f 100644
--- a/static/safari-pinned-tab.svg
+++ b/static/safari-pinned-tab.svg
@@ -1 +1 @@
-<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="682.7" height="682.7" viewBox="0 0 512 512"><path d="M0 256v256h512V0H0v256zm448 0v192H64V64h384v192z"/></svg> \ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0 0 700 700"><path d="m299 .3-9.1 26.3A4063.6 4063.6 0 0 0 267.5 91a6071.6 6071.6 0 0 1-23 66c-.2.8-3.9 11.6-8.3 24a7157.4 7157.4 0 0 1-20.2 58l-7 20c-3.2 9.6-19.2 55.6-26.1 75l-2.4 7-5.8 17c-6 16.7-8.2 23.1-23.7 68a2904 2904 0 0 1-13.1 37.3 64 64 0 0 0-2.9 9.1c0 1.4-3.7 5.6-5 5.6-.4 0-.7-2.4-.6-5.3.3-6.9-1-10.4-3.9-11.1-5.5-1.4-7.2 2-7 13.7l.1 7.8-12.8 6.5L93 496v-6.9c0-7.3-1.6-10.1-5.7-10.1s-5.3 3-5.3 13.1v9.4l-4.8 2.5a497 497 0 0 0-12.4 6.6 77.3 77.3 0 0 1-7.9 4.1l-.3-5.2c-.3-6.6-1.3-9.3-3.7-10-5.5-1.8-7.6 2.1-7.4 14.1l.1 7.2-12.5 7.1-12.6 7-.3-4.7c-.4-7.2-1.1-9.2-3.5-10.1-2.2-.9-5.5.2-6.9 2.3a42 42 0 0 0-.8 10.1v9l-4.5 2.7L0 547v38c0 40.1-.1 39 4.3 35.2.9-.8 1.7-1.1 1.7-.7 0 .4.8.1 1.8-.7 1.5-1.4 17.2-10.8 28.2-17l13-7.5a1217.5 1217.5 0 0 1 36.8-20.4l10.8-6.1 5.7-3.1-.6 2.4c-.3 1.3-3.4 10.7-7 20.9C72.1 652.5 56 699 56 699.6c0 .2 24.2.4 53.9.4h53.8l8.1-23.3 14.7-42.2 15.1-43.5a4355 4355 0 0 1 11.4-32.5l10-28.8 7.3-20.7 8.1-2.6a419.8 419.8 0 0 1 68.1-14.9l7.5-1.1c13.5-2.2 55.2-2.1 72.5.1l8.1 1c4.9.5 6.7.8 12.4 2l6 1c8.4 1.3 27.7 5.9 41.5 9.8l15 4.3 2.7 7.5c1.5 4.1 4.6 12.8 6.8 19.4l8 23 32.7 94a592 592 0 0 0 6.3 18c.4 1.1 2.3 6.3 4 11.5l4.7 13.7 1.6 4.3h53.8c29.7 0 53.9-.1 53.9-.3 0-.7-2.4-7.9-8-23.7l-8-23-8.5-24.5-8-23-7-20c-3.2-8.8-6-17.1-6.3-18.4l-.5-2.4 5.4 3 11.9 6.5a1693.4 1693.4 0 0 1 81.8 47l3.2 2v-76.7l-4.5-2.4-4.5-2.4v-9.1c-.1-10.1-1.2-12.9-5.5-12.9-3.9 0-4.9 1.7-5.5 8.8l-.5 6.3-12.6-7-12.5-7 .1-7.6c.2-12.1-1.8-15.5-7.9-13.3-2.7 1.1-2.8 1.4-3 10.1-.1 2.5-.4 4.4-.9 4.3l-12.7-6.5-12-6.3v-9.6c0-10.3-1.2-12.9-5.8-12.9-3.8 0-5.2 2.6-5.2 10v6.9l-10.1-5c-5.6-2.8-11.2-5.5-12.5-5.9-2.7-1.1-2.6-.7-2.8-11-.3-9.4-1.1-11.8-4.3-12.6-4.3-1.1-6.7 2.3-6.7 10.1a19 19 0 0 1-.6 6.5c-2.2 0-4.4-4.4-9-17.5l-12.1-35-8.5-24.5-4.4-12.5-12-34.5-9.7-28-.9-2.5c-.1-.6-3-8.9-6.4-18.5l-7.5-21.5-14-40-8-23-13.5-39-17.1-49A20009.4 20009.4 0 0 1 401.8 2.7l-1-2.7h-50.9c-28 0-50.9.1-50.9.3zm63.5 200.2 4.5 13c1.8 4.9 5.2 14.6 7.5 21.5l12 34.5 9.2 26.5a84 84 0 0 0 2.3 6.5 13259.7 13259.7 0 0 0 23.3 67l11.5 33 9.5 27.1 1.5 4.1-7.6-1.7-7.7-1.6-.1-10.1c0-10.8-.7-12.7-4.8-13.5-4.8-.9-6 1.3-6 11.8l-.1 9.6-6-.7c-9.5-1-18.7-2.3-19.2-2.8a77 77 0 0 1-.4-10.3c.1-10.7-1.1-13.4-5.5-13.4s-5.4 2.3-5.4 13.1v9.9l-7.2-.4c-4-.2-9.8-.5-12.8-.5l-5.5-.1-.1-10.5c-.1-12.5-1.3-14.2-8.5-12.6-1.6.3-2.5 5.5-2.4 13.8l.2 9.3-6.1.1c-3.4 0-9.1.3-12.8.5l-6.8.5v-9.6c0-8.2-.3-9.8-2.1-11.6-1.4-1.4-2.7-1.8-4.2-1.4-4 1.2-4.7 3.4-4.7 13.6v9.8l-3.2.5c-5.5.9-10 1.5-16.4 2.2l-6 .6.2-8.8c.1-7.9-.1-9-2.1-11-1.5-1.5-3-2.1-4.4-1.7-3.9 1-4.7 3.6-4.6 13.8.1 5.3-.1 9.7-.4 9.9-.3.2-2.2.7-4.1 1-1.9.3-5 1-6.7 1.5-2.3.7-3.3.6-3.3-.1 0-1 13.2-39.6 20.5-59.8l4.3-12.5 8.7-25 12-34.5 12-34.5L322 245l8.5-24.5 13.2-38a324 324 0 0 1 6-16.8c.4-.7 7.1 17.6 12.8 34.8z"/></svg> \ No newline at end of file
diff --git a/static/site.webmanifest b/static/site.webmanifest
index 90130c2..6c11191 100644
--- a/static/site.webmanifest
+++ b/static/site.webmanifest
@@ -19,7 +19,7 @@
"type": "image/png"
},
{
- "src": "/android-chrome-192x192x128m.png",
+ "src": "/android-chrome-192x192m.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
diff --git a/templates/base.html b/templates/base.html
index 0eebe85..db0d505 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -30,7 +30,13 @@
<header>
<nav>
<header>
- <h1><a href="{{ get_url(path="/", trailing_slash=true) }}">{{ config.extra.textlogo | safe }}</a></h1>
+ {%- if config.extra.logo %}
+ <h1><a href="{{ config.base_url | safe }}">{%- if config.extra.logo.file %}<img src="{{ config.base_url | safe }}/{{ config.extra.logo.file | safe }}" {%- if config.extra.logo.alt %}alt="{{ config.extra.logo.alt | safe }}" {%- endif %}{%- if config.extra.logo.width %}width="{{ config.extra.logo.width | safe }}" {%- endif %}{%- if config.extra.logo.height %}height="{{ config.extra.logo.height | safe }}"{%- endif %}/>{%- endif %}{%- if config.extra.logo.text %}{{ config.extra.logo.text | safe }}{%- endif %}</a></h1>
+ {%- elif config.extra.textlogo %}
+ <h1><a href="{{ config.base_url | safe }}">{{ config.extra.textlogo | safe }}</a></h1>
+ {%- elif config.title %}
+ <h1><a href="{{ config.base_url | safe }}">{{ config.title | safe }}</a></h1>
+ {%- endif %}
</header>
<div>
<ul>