geocation.com/includes/head.pug

86 lines
3.1 KiB
Plaintext
Raw Normal View History

2022-04-10 14:26:00 -04:00
doctype html
html(lang="en")
head
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible" content="IE=edge")
meta(name="viewport" content="width=device-width, initial-scale=1")
meta(name="Description" lang="en" content="open source html and css template")
meta(name="author" content="mlp design")
meta(name="robots" content="index, follow")
2022-04-10 23:46:08 -04:00
if title
title #{title} - Geocation
else
title Geocation
2022-04-10 14:26:00 -04:00
link(rel="stylesheet" href="css/style.css")
link(rel="stylesheet" href="css/custom.css")
2022-04-13 20:07:19 -04:00
link(rel="stylesheet" href="css/slidy.css")
2022-04-10 14:26:00 -04:00
body
2022-04-13 20:07:19 -04:00
// div(id="menu")
// nav
// label(for="show-menu" class="responsive") &#9776
// input(type="checkbox" id="show-menu" role="button")
// ul(id="topnav")
// li: span(class="icon")
// a(href="#" title="Your Logo" class="logo") 👽
// li: a(href="teaching.html") Teaching
// li: a(href="education.html") Education
// li: a(href="outreach.html") Outreach
// li: a(href="community-involvement.html") Community Involvement
// // li: a(href="contact.html") Contact
// // li
// // span.icon
// // a(href="#" class="search") 🔍
// span.hide: a(href="#" title="Your Logo" class="logo") 👽
// span.hide: a(href="#" class="search") 🔍
2022-04-10 14:26:00 -04:00
2022-04-13 20:07:19 -04:00
// div(id="container")
2022-04-10 14:26:00 -04:00
div(id="pageheader")
div(class="col")
2022-04-10 23:46:08 -04:00
if title
h1
a(href="index.html") Geocation
2022-04-13 20:07:19 -04:00
// | | #{title}
2022-04-10 23:46:08 -04:00
else
2022-04-13 20:07:19 -04:00
a(href="index.html"): h1 Geocation
2022-04-10 23:46:08 -04:00
2022-04-10 14:26:00 -04:00
div(class="col")
ul#sub
2022-04-13 20:07:19 -04:00
li: a(href="teaching.html") Teaching
li: a(href="education.html") Education
li: a(href="outreach.html") Outreach
li: a(href="community-involvement.html") Community Involvement
// li: a(href="contact.html") Contact
mixin bigimage(src, alt, ryanhawk)
figure
2022-04-14 00:05:40 -04:00
// =img_big(src=src, alt=alt)
- var loc = src.replace(/[.].+?$/, "");
- var ext = src.replace(/^.+[.]/, "");
a(href=`images/${loc}-full.${ext}`)
2022-04-17 19:10:01 -04:00
picture.big
source(type="image/webp" srcset=`images/${loc}-full.webp`)
source(srcset=`images/${loc}-full.${ext}`)
img(src=`images/${loc}-full.${ext}`)
// img(srcset=`images/${loc}-full.webp images/${loc}-full.${ext}` src=`images/${loc}-full.${ext}`, alt=alt)
// img(src=`images/${loc}-full.webp`)
2022-04-13 20:07:19 -04:00
figcaption
2022-04-14 00:05:40 -04:00
block
2022-04-13 20:07:19 -04:00
if ryanhawk
+ryanhawk
mixin ryanhawk
br
| Photo courtesy:
a(href="https://ryanhawk.com/") RyanHawk.com
2022-04-14 00:05:40 -04:00
// mixin img_big(src, alt, href)
// if href
// a(href=href)
// img.big(src=src, alt=alt)
// else
// a(href="#{src}.")
// img.big(src=src, alt=alt)