From 55f1c86689e4f3e6968bea6ca9407a3ae87ce484 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 15 Apr 2022 13:59:09 -0400 Subject: [PATCH] add ether donation option --- data/authors/techiedamien.json | 2 +- layouts/_default/single.html | 6 ++++-- static/pix/eth.svg | 13 +++++++++++++ static/style.css | 1 + 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 static/pix/eth.svg 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 @@
  • XMR LogoMonero: {{ $author.xmr }}
  • {{- end -}} {{- if $author.btc }} -
  • BTC LogoBitcoin: -{{ $author.btc }} +
  • BTC LogoBitcoin: {{ $author.btc }}
  • +{{- end -}} +{{- if $author.eth }} +
  • ETH LogoEther: {{ $author.eth }}
  • {{- end -}} {{- if $author.donate }}
  • Donate/Tip
  • 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 @@ + + + + + + + + + + + + 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 ;