Skip to content

Commit 5ef899c

Browse files
committed
Adds NSHint link to footer
1 parent 0597c3c commit 5ef899c

File tree

4 files changed

+95
-0
lines changed

4 files changed

+95
-0
lines changed

config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pygmentsStyle = "native"
2626
description = "I like to make mobile apps people enjoy using. Blogging about technical details at https://nshint.io"
2727
location = "Poland, Europe" # optional
2828
twitter = "mmatoszko" # optional
29+
nshint = true # optional
2930
github = "mmatoszko" # optional
3031
linkedin = "mateusz-matoszko-70b2748a" # optional
3132

Lines changed: 84 additions & 0 deletions
Loading

themes/hugo-steam-theme/layouts/partials/social.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
{{ with .Site.Params.bitbucket }}
2424
<a href="//bitbucket.org/{{ . }}" target="_blank" title="Bitbucket"><i class="fa fa-2x fa-fw fa-brands fa-bitbucket"></i> <span class="hidden">Bitbucket</span></a>&nbsp;
2525
{{ end }}
26+
{{ if .Site.Params.nshint }}
27+
<a href="//nshint.io" target="_blank" title="NSHint">
28+
<img src="images/icons/nshint_icon.svg" alt="NSHint" class="nshint">
29+
<span class="hidden">NSHint</span>
30+
</a>&nbsp;
31+
{{ end }}
2632
{{ with .OutputFormats.Get "RSS" }}
2733
<a href="{{ .RelPermalink }}" target="_blank" title="RSS"><i class="fa fa-2x fa-fw fa-rss"></i> <span class="hidden">RSS</span></a>
2834
{{ end }}

themes/hugo-steam-theme/static/css/screen.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ img.userimage {
293293
float: left;
294294
}
295295
/* === Footer === */
296+
img.nshint {
297+
width: 40px;
298+
vertical-align: sub;
299+
}
296300
footer {
297301
background: rgba(0, 0, 0, 0.05);
298302
margin: 4em 0 0;

0 commit comments

Comments
 (0)