1
Fork 0

Add list of accounts to about page

This commit is contained in:
Jake Howard 2017-12-31 23:00:10 +00:00
parent 52b597b758
commit 763f7ddc44
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 19 additions and 2 deletions

View file

@ -5,3 +5,5 @@ title: About
In the interest of privacy, there's very little personal information here. In the interest of privacy, there's very little personal information here.
The information that is here is either not personal enough to bother protecting, or has been selectively chosen as nothing bad. The information that is here is either not personal enough to bother protecting, or has been selectively chosen as nothing bad.
{{% social_list %}}

View file

@ -55,13 +55,13 @@ accounts:
icon: fa-codepen icon: fa-codepen
npm: npm:
name: npm name: NPM
username: TheOrangeOne username: TheOrangeOne
link: https://www.npmjs.com/~TheOrangeOne/ link: https://www.npmjs.com/~TheOrangeOne/
icon: fa-file-code-o icon: fa-file-code-o
keybase: keybase:
name: keybase name: Keybase
username: RealOrangeOne username: RealOrangeOne
link: https://keybase.io/realorangeone link: https://keybase.io/realorangeone
icon: fa-key icon: fa-key

View file

@ -0,0 +1,15 @@
<div class="row">
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
<div class="col-sm-3 mt-3">
<div class="card text-center">
<h1 class="display-3"><i class="fa {{ $e.icon }}"></i></h1>
<div class="card-body">
<h3>{{ $e.name }}</h3>
<a href="{{ $e.link }}">
<p>{{ $e.username }}</p>
</a>
</div>
</div>
</div>
{{ end }}
</div>