homepage.js/view/main.pug

47 lines
1.7 KiB
Plaintext

extends layout/main.pug
block root
- var title = 'Main page'
block content
h1(align='center') Welcome on my website!
p
| Hi there! My name is Alice and I like to build software.
hr
p
| Currently I am working on a college project (which is going to air in june)
br
| This website was built using Express.js
p
| Check out my
a(href='https://github.com/b1ek') GitHub page
| and my
a(href='/resume') resume
hr
table(style='position:relative;left:50%;transform:translateX(-50%);width:90%')
tr
td(width='20%')
h4 Guest book
| (
a(href='/guestbook.rss') RSS
| )
if (gb_entries)
ul(style='margin:0 10px;padding:0')
each entry in gb_entries
li(style='padding-bottom:10px')
| #{entry.name} says:
br
| #{entry.text}
a(href='/guestbook') Write something in my guestbook!
td(width='50%' style='border-left:1px solid #c2c4c2;border-right:1px solid #c2c4c2;padding:0 1%')
h3 Articles
ul
each article in articles
li(style='font-size:16pt')
h5= article.title
ul
li= article.shortText
td(width='20%')
h4 Links
a(href='https://cameronsworld.net') cameronsworld.net
a(href='https://')