Added donations on the panel, added fontawesome
This commit is contained in:
parent
d288cd5a16
commit
582f8abeb9
24
config.toml
24
config.toml
@ -12,23 +12,35 @@ staticDir = ["static"]
|
|||||||
description = "my blog, thoughts and other stuff"
|
description = "my blog, thoughts and other stuff"
|
||||||
avatar = "avatar.png"
|
avatar = "avatar.png"
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "website"
|
name = "fas fa-globe"
|
||||||
url = "https://rogs.me"
|
url = "https://rogs.me"
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "mail"
|
name = "fas fa-envelope"
|
||||||
url = "mailto:roger@rogs.me"
|
url = "mailto:roger@rogs.me"
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "github"
|
name = "fab fa-github"
|
||||||
url = "https://git.rogs.me/me"
|
url = "https://git.rogs.me/me"
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "linkedin"
|
name = "fab fa-linkedin"
|
||||||
url = "https://linkedin.com/in/rogergonzalez21"
|
url = "https://linkedin.com/in/rogergonzalez21"
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "twitter"
|
name = "fab fa-twitter"
|
||||||
url = "https://twitter.com/rogergonzalez21"
|
url = "https://twitter.com/rogergonzalez21"
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
name = "rss"
|
name = "fab fa-keybase"
|
||||||
|
url = "https://keybase.io/rogs"
|
||||||
|
[[params.social]]
|
||||||
|
name = "fas fa-rss"
|
||||||
url = "https://blog.rogs.me/index.xml"
|
url = "https://blog.rogs.me/index.xml"
|
||||||
|
[[params.donations]]
|
||||||
|
name = "fab fa-bitcoin"
|
||||||
|
url = "btc.txt"
|
||||||
|
[[params.donations]]
|
||||||
|
name = "fab fa-ethereum"
|
||||||
|
url = "eth.txt"
|
||||||
|
[[params.donations]]
|
||||||
|
name = "fab fa-paypal"
|
||||||
|
url = "https://www.paypal.me/rogsme21"
|
||||||
|
|
||||||
[params.style]
|
[params.style]
|
||||||
darkestColor = "#38761d"
|
darkestColor = "#38761d"
|
||||||
|
1
static/btc.txt
Normal file
1
static/btc.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
3QzsHJPtgy2oYMKesdVa9ShDTTuXoxzUpt
|
1
static/eth.txt
Normal file
1
static/eth.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0x6BC868b0F6e5f8613690F0B2051FAA798c37B28d
|
@ -10,6 +10,7 @@
|
|||||||
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
|
{{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
|
||||||
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
<link rel="stylesheet" href="{{ $style.Permalink }}" />
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
|
<link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
|
||||||
|
<script src="https://kit.fontawesome.com/0460fae059.js" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
@ -41,7 +42,13 @@
|
|||||||
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
|
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
|
||||||
<div class="app-header-social">
|
<div class="app-header-social">
|
||||||
{{ range .Site.Params.social }}
|
{{ range .Site.Params.social }}
|
||||||
<a target="_blank" href="{{ .url }}" rel="noreferrer noopener">{{ partial "icon.html" (dict "ctx" $ "name" .name ) }}</a>
|
<a target="_blank" href="{{ .url }}" rel="noreferrer noopener"><i class="{{ .name }}"></i></a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
<p>Donations:</p>
|
||||||
|
<div class="app-header-social">
|
||||||
|
{{ range .Site.Params.donations }}
|
||||||
|
<a target="_blank" href="{{ .url }}" rel="noreferrer noopener"><i class="{{ .name }}"></i></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user