This commit is contained in:
Yarmo Mackenbach 2020-09-25 12:44:14 +02:00
parent 2e862dfe95
commit 060daae416
6 changed files with 53 additions and 2 deletions

View File

@ -6,4 +6,11 @@ router.use('/favicon.png', express.static(path.join(__dirname, '../', 'public',
router.use('/static', express.static(path.join(__dirname, '../', 'public')))
router.use('/static', express.static(path.join(__dirname, '../', 'content', 'img')))
router.use('/*.asc', (req, res, next) => {
res.sendFile(path.join(__dirname, '../', 'keys', `${req.params[0]}.asc`))
})
router.use('/*.pgp', (req, res, next) => {
res.sendFile(path.join(__dirname, '../', 'keys', `${req.params[0]}.pgp`))
})
module.exports = router

View File

@ -44,4 +44,4 @@
| Location:
span.p-country-name The Netherlands
pre(style="display:none").key
include ../9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc
include ../keys/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc

View File

@ -27,4 +27,4 @@ block content
h3#pgp-public-key Plaintext
pre.select-all
code
include ../9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc
include ../keys/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc

44
views/work.pug Normal file
View File

@ -0,0 +1,44 @@
extends templates/main
mixin foss_contribution($item)
p
a(href="{$item['url-repo']}") !{$item['repo']}
| —
a(href="{$item['url-item']}") #!{$item['id']}
br
| !{$item['title']}
block content
header
h1
| Work
nav
| >>
a(href="/about") about me
| >
a(href="/work") work
main
h2 >> VCS accounts
.wrapper-table
table
tbody
tr
td Codeberg
td
a(href="https://codeberg.org/yarmo" rel="me") @yarmo
tr
td GitLab
td
a(href="https://gitlab.com/yarmo" rel="me") @yarmo
tr
td Github
td
a(href="https://github.com/YarmoM" rel="me") @YarmoM
h2 >> Contributions
each $item in $foss
+foss_contribution($item)