The New Beginnings
This commit is contained in:
2
_includes/footer.pug
Normal file
2
_includes/footer.pug
Normal file
@@ -0,0 +1,2 @@
|
||||
footer
|
||||
p Vlad Faust © 2020
|
||||
10
_includes/head.pug
Normal file
10
_includes/head.pug
Normal file
@@ -0,0 +1,10 @@
|
||||
//- Meta
|
||||
meta(charset='UTF-8')
|
||||
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
||||
title= title ? title : "Vlad Faust"
|
||||
|
||||
//- Icons
|
||||
link(rel='icon', href='/public/icon/cap.svg', sizes='any', type='image/svg+xml')
|
||||
|
||||
//- Fonts
|
||||
link(href="https://fonts.googleapis.com/css2?family=Vollkorn:wght@400;700&display=swap", rel="stylesheet")
|
||||
18
_includes/header.pug
Normal file
18
_includes/header.pug
Normal file
@@ -0,0 +1,18 @@
|
||||
header
|
||||
a.me(href="/")
|
||||
img(src='/public/img/me.jpg')
|
||||
div.text
|
||||
p
|
||||
| Hello, my name is
|
||||
a(href='/') Vlad Faust
|
||||
| .
|
||||
p.tablet-hide
|
||||
| I'm a passionate developer currently working on
|
||||
a(href='/posts/2020-08-20-the-onyx-programming-language') my own programming language
|
||||
| .
|
||||
p.tablet-hide
|
||||
| You can follow me on
|
||||
a(href='https://twitter.com/vladfaust') Twitter
|
||||
| and
|
||||
a(href='https://github.com/vladfaust') GitHub
|
||||
| and also send nudes to mail at vladfaust.com
|
||||
22
_includes/post.pug
Normal file
22
_includes/post.pug
Normal file
@@ -0,0 +1,22 @@
|
||||
doctype html
|
||||
html(lang='en')
|
||||
head
|
||||
include /head.pug
|
||||
|
||||
//- Styles
|
||||
link(rel='stylesheet', href='/public/styles/post.css')
|
||||
link(rel='stylesheet', href='https://unpkg.com/prismjs@1.20.0/themes/prism.css')
|
||||
body
|
||||
include /header.pug
|
||||
|
||||
main.line-numbers
|
||||
h1= title
|
||||
p.meta
|
||||
time.pubtime(datetime=page.date.toISOString())= page.date.toDateString()
|
||||
if location
|
||||
| ,
|
||||
= location
|
||||
hr
|
||||
article!= content
|
||||
|
||||
include /footer.pug
|
||||
Reference in New Issue
Block a user