Browse Source

Dump

pull/1/head
Yarmo Mackenbach 1 month ago
parent
commit
060daae416
6 changed files with 53 additions and 2 deletions
  1. +0
    -0
      keys/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc
  2. +0
    -0
      keys/9F0048AC0B23301E1F77E994909F6BD6F80F485D.pgp
  3. +7
    -0
      routes/static.js
  4. +1
    -1
      views/id.pug
  5. +1
    -1
      views/pgp.pug
  6. +44
    -0
      views/work.pug

9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc → keys/9F0048AC0B23301E1F77E994909F6BD6F80F485D.asc View File


9F0048AC0B23301E1F77E994909F6BD6F80F485D.pgp → keys/9F0048AC0B23301E1F77E994909F6BD6F80F485D.pgp View File


+ 7
- 0
routes/static.js 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

+ 1
- 1
views/id.pug 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

+ 1
- 1
views/pgp.pug 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
- 0
views/work.pug 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)

Loading…
Cancel
Save