wip: Sketching out identify section
This commit is contained in:
parent
598b9b553c
commit
3ab7e0823c
10 changed files with 244 additions and 13 deletions
9
content/about/_index.md
Normal file
9
content/about/_index.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: About me
|
||||
menu:
|
||||
main:
|
||||
params:
|
||||
prefix: fad
|
||||
icon: fa-circle-info
|
||||
weight: -1
|
||||
---
|
10
content/about/crypto/_index.md
Normal file
10
content/about/crypto/_index.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Cryptocurrencies
|
||||
menu:
|
||||
main:
|
||||
parent: About me
|
||||
params:
|
||||
prefix: fad
|
||||
icon: fa-bitcoin-sign
|
||||
weight: -1000
|
||||
---
|
3
content/about/crypto/ubq/index.md
Normal file
3
content/about/crypto/ubq/index.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
title: UBIQ
|
||||
---
|
10
content/about/identities/_index.md
Normal file
10
content/about/identities/_index.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: Online accounts
|
||||
|
||||
menu:
|
||||
main:
|
||||
parent: About me
|
||||
params:
|
||||
prefix: fad
|
||||
icon: fa-id-card
|
||||
---
|
6
content/about/identities/github.md
Normal file
6
content/about/identities/github.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: GitHub
|
||||
date: 2017-02-01
|
||||
link: https://github.com/MillironX
|
||||
fa-thumbnail: fab fa-github
|
||||
---
|
6
content/about/identities/orcid.md
Normal file
6
content/about/identities/orcid.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: ORCiD
|
||||
date: 2020-02-26
|
||||
link: https://orcid.org/0000-0003-1219-9320
|
||||
fa-thumbnail: fab fa-orcid
|
||||
---
|
6
content/about/identities/stack-overflow.md
Normal file
6
content/about/identities/stack-overflow.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: StackExchange
|
||||
date: 2014-08-08
|
||||
link: https://stackexchange.com/users/4863541/milliron-x
|
||||
fa-thumbnail: fab fa-stack-overflow
|
||||
---
|
151
content/about/pgp/index.md
Normal file
151
content/about/pgp/index.md
Normal file
|
@ -0,0 +1,151 @@
|
|||
---
|
||||
title: PGP Key
|
||||
|
||||
menu:
|
||||
main:
|
||||
parent: About me
|
||||
params:
|
||||
prefix: fad
|
||||
icon: fa-key-skeleton
|
||||
weight: -1000
|
||||
---
|
||||
|
||||
```plaintext
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBGPMAT0BEADA1RP5RozTQ4KpoEhzh6Z9h5SyzpFzDUrGjM7gS3aRSv1mZv8S
|
||||
36YBs/sZJ4vWAiEmv1b83HzlS0j1MkaTaBTKWldS1ocHidrXJ7NfbpMYg7kd34lx
|
||||
cZDK59TDcWTV6nOczs6TUlGhf3iZezt/Gv6Iqur9rYKTv/6c0D+aPaVdq9OwADIN
|
||||
F4Voyj58cHgkCjP4l/mdhmizH7eqZJ8a2PUVyYxLiDD39DV0w3c6C5DP4+Vs4HQB
|
||||
6VYAYUlvD1WcIiXwmq+Snx7bnzCZ5U0D6HKPNC4moRydaIqt86IeTvv2Yb1093c1
|
||||
TFaw6ogBV8a4mVD1UxrG4TUb3ghcBARB134gkWMTrQ2d08hNl+wRrDBRBS+7VWOy
|
||||
yva8VbjkQZxpNWipyxISFvzQmN4/lZhyPQbAfSZGvuA7JCAKaXuRi9i/TgW/DIBq
|
||||
RoTyjX4081qMrkVYFjBOIoVBw5tvAf0E5wvczbO8laE7Ab2gMsBhVVDqnh6RGmss
|
||||
jEkiIKcaxuUFENJlXzRU6/j8C1MbNnvlAZ4UNivpp1/fJ4lltIKzVvOfHNPQQ5AQ
|
||||
GakBVKwxFhxm1E8nKHMyL2FlubB5i7i8r39ql52uLcX10egK06PWjfbET08M0Ts0
|
||||
8NOsvc6OAMm5fQkfJQnRmueQOmi+8yDgymkOu2YAHIAKmBPFrotRtsrL/QARAQAB
|
||||
tDNUaG9tYXMgQS4gQ2hyaXN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P1UWVi
|
||||
w5T0b1O+0acxNrYePuvMU/U0tZg9UTc7tqwol/UNIXUVeQBZiFibMbDR4k3DDC9p
|
||||
mw1KJOGEWauud4A6+9tFcprnAWV1fz/TiaWWdWySESqQHf7X25rYiPfSam/KKliF
|
||||
C7A5hrBtxeldV55ykEvOO8CVsQCujCNMKKAZn60ukRn4UyHXm1XyCBmZjQ//TjU5
|
||||
kQtMseeByepCY9baiY11rx8Y8+/ozEkNCCtGjPHsvhDv3trBgT+NnFPrv5rYrkbM
|
||||
HeSmBJsxaDpF44ZJQNaisoiw3vpEXnMPiFkYFzfhq+fQpB/PHG9WfhE3H/3tb5Aa
|
||||
+q5Kgg8wJ+zt7kMSCO2gDvRTFIFkovRh60VOPr6EQYTVBgOhGjTs0Vjn3QCEyPK8
|
||||
OpBA4yFFcGx7kBKjMG0zeUddmbmUd15Up5I5WqqwdaHJuP0iLYYk3KjjDxT4PA5O
|
||||
oBQbH7m2JqKqNzyXfrtW3Ai2eFvBVeeWQ9744S4RNhINz/tsgQBHS309xCIVprJc
|
||||
JmDXvGmIa3nuNL+6k2Tmuy6YCvYB/y1Gy5v7QhnT5hjm53u1bFfyWEz11zEjZuYl
|
||||
Yu+Gj5FXgjglDEUqKY29rUMQv5R4vAYL03xMHLr3r8HBgg33+Mg/OubmsdpW6oOm
|
||||
UK03mHA0G9if3ND8MBoA2Ztatbl0F+Qy7Cm7YyaNo3yjVOVxdzQoKj5k9xZwRgKR
|
||||
urixHWnwo5kO1/P4eDnMM0b7CxxC3wtCICMi8vJ5BgbcvoqxnjLJksneVBUr8Q3n
|
||||
ENvNgLbXwK1Z1J3C2YHa7TDFfVlqJ1KW/Z3KjSy6I2PbnxCasCOT5bunogBAo3BW
|
||||
j7FKWc0JDiIR9Xk12ZHAQ0Zm3hEP6waOg1JIbrM=
|
||||
=Mb3J
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
```
|
42
layouts/partials/menu.html
Normal file
42
layouts/partials/menu.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ $url := .URL | absURL }}
|
||||
{{ $active := or (eq $currentPage.Permalink (absURL .URL)) ($currentPage.IsMenuCurrent "main" .) }}
|
||||
{{ if .HasChildren }}
|
||||
<li class="nav-item dropdown">
|
||||
<a
|
||||
class="nav-link pl-0 dropdown-toggle {{ if $active }}active{{ end }}"
|
||||
href="{{ $url }}"
|
||||
data-bs-toggle="dropdown"
|
||||
role="button"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="false"
|
||||
>
|
||||
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
|
||||
{{ .Name }}
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
{{ range .Children }}
|
||||
{{ $childurl := .URL | absURL }}
|
||||
<a
|
||||
class="dropdown-item {{ if $active }}active{{ end }}"
|
||||
href="{{ $childurl }}"
|
||||
>
|
||||
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
|
||||
{{ .Name }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li class="nav-item">
|
||||
<a
|
||||
class="nav-link pl-0 {{ if $active }}active{{ end }}"
|
||||
href="{{ $url }}"
|
||||
>
|
||||
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
|
||||
{{ .Name }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -28,19 +28,7 @@
|
|||
</a>
|
||||
<div class="collapse navbar-collapse sidebar">
|
||||
<ul class="flex-column navbar-nav w-100 justify-content-between">
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="nav-item">
|
||||
<a
|
||||
class="nav-link pl-0 {{ if $currentPage.IsMenuCurrent "main" . }}
|
||||
active
|
||||
{{ end }}"
|
||||
href="{{ .URL }}"
|
||||
>
|
||||
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
|
||||
{{ .Name }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ partial "menu.html" . }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue