diff options
author | Luke Smith <luke@lukesmith.xyz> | 2022-04-15 13:59:09 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2022-04-15 13:59:09 -0400 |
commit | 55f1c86689e4f3e6968bea6ca9407a3ae87ce484 (patch) | |
tree | 7b9e17ec7eed0c6d2260716ffa50c5772b9c6f83 | |
parent | ab251b0fd01db72362ab0db65ecda7ae404e3001 (diff) |
add ether donation option
-rw-r--r-- | data/authors/techiedamien.json | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 6 | ||||
-rw-r--r-- | static/pix/eth.svg | 13 | ||||
-rw-r--r-- | static/style.css | 1 |
4 files changed, 19 insertions, 3 deletions
diff --git a/data/authors/techiedamien.json b/data/authors/techiedamien.json index 585d57d..bd26cdd 100644 --- a/data/authors/techiedamien.json +++ b/data/authors/techiedamien.json @@ -1,4 +1,4 @@ { - "name": "- TechieDamien - [website](https://techiedamien.xyz)", + "name": "TechieDamien", "website": "https://techiedamien.xyz" } diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 38f5805..53f64c5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,8 +17,10 @@ <li><img alt="XMR Logo" src="/pix/xmr.svg">Monero: <code style="overflow-wrap:break-word;font-size:xx-small">{{ $author.xmr }}</code></li> {{- end -}} {{- if $author.btc }} -<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin: -<code>{{ $author.btc }}</code> +<li><img src="/pix/btc.svg" alt="BTC Logo">Bitcoin: <code>{{ $author.btc }}</code></li> +{{- end -}} +{{- if $author.eth }} +<li><img src="/pix/eth.svg" alt="ETH Logo">Ether: <code>{{ $author.eth }}</code></li> {{- end -}} {{- if $author.donate }} <li><a href="{{ $author.donate }}">Donate/Tip</a></li> diff --git a/static/pix/eth.svg b/static/pix/eth.svg new file mode 100644 index 0000000..668f2cc --- /dev/null +++ b/static/pix/eth.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 1920 1920" enable-background="new 0 0 1920 1920" xml:space="preserve">
+<g>
+ <polygon fill="#8A92B2" points="959.8,80.7 420.1,976.3 959.8,731 "/>
+ <polygon fill="#62688F" points="959.8,731 420.1,976.3 959.8,1295.4 "/>
+ <polygon fill="#62688F" points="1499.6,976.3 959.8,80.7 959.8,731 "/>
+ <polygon fill="#454A75" points="959.8,1295.4 1499.6,976.3 959.8,731 "/>
+ <polygon fill="#8A92B2" points="420.1,1078.7 959.8,1839.3 959.8,1397.6 "/>
+ <polygon fill="#62688F" points="959.8,1397.6 959.8,1839.3 1499.9,1078.7 "/>
+</g>
+</svg>
diff --git a/static/style.css b/static/style.css index dbadbcf..fd368cb 100644 --- a/static/style.css +++ b/static/style.css @@ -47,6 +47,7 @@ code { } img[alt="BTC Logo"], +img[alt="ETH Logo"], img[alt="XMR Logo"] { max-width: 1em ; max-height: 1em ; |