v0.0.2
This commit is contained in:
parent
d086c1d493
commit
0f1d41a991
30 changed files with 1013 additions and 1536 deletions
23
.sajt/layouts/default.pug
Normal file
23
.sajt/layouts/default.pug
Normal file
|
@ -0,0 +1,23 @@
|
|||
doctype html
|
||||
html(lang="en")
|
||||
head
|
||||
meta(charset="utf-8")
|
||||
meta(name="viewport" content="width=device-width, initial-scale=1")
|
||||
title Artur Gurgul - #{title}
|
||||
meta(name="author" content="Artur Gurgul")
|
||||
meta(name="description" content="This is my notepad")
|
||||
|
||||
link(rel="shortcut icon" href="/favicon.png")
|
||||
link(rel="alternate" type="application/atom+xml" title="#{site.data.theme.name}" href="#{site.url}/atom.xml")
|
||||
link(rel="stylesheet" href="/static/css/all.css")
|
||||
link(rel="stylesheet" href="/static/css/hightlight.css")
|
||||
body
|
||||
.container
|
||||
.sidebar
|
||||
include sidebar.pug
|
||||
.scroll
|
||||
.content
|
||||
h1.title= title
|
||||
#post!= content
|
||||
.footer
|
||||
include footer.pug
|
2
.sajt/layouts/footer.pug
Executable file
2
.sajt/layouts/footer.pug
Executable file
|
@ -0,0 +1,2 @@
|
|||
.disclaimer
|
||||
p © Artur Gurgul, 2024 — Public Domain Licence
|
10
.sajt/layouts/sidebar.pug
Executable file
10
.sajt/layouts/sidebar.pug
Executable file
|
@ -0,0 +1,10 @@
|
|||
nav
|
||||
h2(style="font-size: 20px; margin: 0px;") Hi. I'm
|
||||
a(href="/") Artur Gurgul
|
||||
h2(style="font-size: 15px; margin-top: -0.5em;") and this is my notepad.
|
||||
hr.hr-text(data-content="Contents")
|
||||
ul#blog-posts.posts
|
||||
each page in pages.filter(it => it.hidden != true && it.title != undefined )
|
||||
li
|
||||
span »
|
||||
a(href=page.url, style=(false ? "font-weight: bold;" : ""))= page.title
|
Loading…
Add table
Add a link
Reference in a new issue