add a picture of me
This commit is contained in:
parent
d29e14275e
commit
c9526ca75e
@ -22,7 +22,7 @@
|
||||
|
||||
<main role="main">
|
||||
<h1>Archives</h1>
|
||||
<!-- Here you can find all my previous posts: -->
|
||||
Here you can find all my previous posts:
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
|
BIN
_site/images/sitting_on_bridge.jpeg
Normal file
BIN
_site/images/sitting_on_bridge.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 257 KiB |
@ -5,36 +5,33 @@
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Rowan TL's Website - Home</title>
|
||||
<link rel="stylesheet" href="./css/default.css" />
|
||||
<link rel="stylesheet" href="/css/default.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="logo">
|
||||
<a href="./">Rowan Torbitzky-Lane's Website</a>
|
||||
<a href="/">Rowan Torbitzky-Lane's Website</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="./">Home</a>
|
||||
<a href="./about.html">About</a>
|
||||
<a href="./contact.html">Contact</a>
|
||||
<a href="./archive.html">Archive</a>
|
||||
<a href="/">Home</a>
|
||||
<a href="/about.html">About</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
<a href="/archive.html">Archive</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main role="main">
|
||||
<img src="/images/sitting_on_bridge.jpeg" style="float: right; right: 10px; height:15%; width:15%" />
|
||||
<h1>Home</h1>
|
||||
<h2>Welcome</h2>
|
||||
|
||||
<!-- <img src="/images/haskell-logo.png" style="float: right; margin: 10px;" /> -->
|
||||
|
||||
<h2 id="welcome">Welcome</h2>
|
||||
<p>Welcome to my website!</p>
|
||||
|
||||
<!-- <p></p> -->
|
||||
|
||||
<h2>Links</h2>
|
||||
<a href="https://github.com/RowanTL">My Github Page<a>
|
||||
|
||||
<!-- <p>…or you can find more in the <a href="/archive.html">archives</a>.</p> -->
|
||||
|
||||
<h2 id="links">Links</h2>
|
||||
<p>
|
||||
<p><a href="https://github.com/RowanTL">My Github Page</a><span><br />
|
||||
</span><a href="https://git.evotrade.org">My Personal Git Repo</a></p>
|
||||
<a>
|
||||
</p>
|
||||
<p><!-- <p>…or you can find more in the <a href="/archive.html">archives</a>.</p> --></p>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
|
BIN
images/sitting_on_bridge.jpeg
Normal file
BIN
images/sitting_on_bridge.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 257 KiB |
@ -4,13 +4,13 @@ title: Home
|
||||
|
||||
<h2>Welcome</h2>
|
||||
|
||||
<!-- <img src="/images/haskell-logo.png" style="float: right; margin: 10px;" /> -->
|
||||
|
||||
<p>Welcome to my website!</p>
|
||||
|
||||
<!-- <p></p> -->
|
||||
|
||||
<h2>Links</h2>
|
||||
<p>
|
||||
<a href="https://github.com/RowanTL">My Github Page<a>
|
||||
<br>
|
||||
<a href="https://git.evotrade.org">My Personal Git Repo<a>
|
||||
</p>
|
||||
|
||||
<!-- <p>…or you can find more in the <a href="/archive.html">archives</a>.</p> -->
|
||||
|
21
site.hs
21
site.hs
@ -45,16 +45,19 @@ main = hakyll $ do
|
||||
|
||||
match "index.html" $ do
|
||||
route idRoute
|
||||
compile $ do
|
||||
posts <- recentFirst =<< loadAll "posts/*"
|
||||
let indexCtx =
|
||||
listField "posts" postCtx (return posts) `mappend`
|
||||
defaultContext
|
||||
-- compile $ do
|
||||
-- posts <- recentFirst =<< loadAll "posts/*"
|
||||
-- let indexCtx =
|
||||
-- listField "posts" postCtx (return posts) `mappend`
|
||||
-- defaultContext
|
||||
|
||||
getResourceBody
|
||||
>>= applyAsTemplate indexCtx
|
||||
>>= loadAndApplyTemplate "templates/default.html" indexCtx
|
||||
>>= relativizeUrls
|
||||
-- getResourceBody
|
||||
-- >>= applyAsTemplate indexCtx
|
||||
-- >>= loadAndApplyTemplate "templates/home.html" defaultContext
|
||||
-- >>= relativizeUrls
|
||||
compile $ do
|
||||
tpl <- loadBody "templates/home.html"
|
||||
pandocCompiler >>= applyTemplate tpl defaultContext
|
||||
|
||||
match "templates/*" $ compile templateBodyCompiler
|
||||
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
<!-- Here you can find all my previous posts: -->
|
||||
Here you can find all my previous posts:
|
||||
$partial("templates/post-list.html")$
|
||||
|
34
templates/home.html
Normal file
34
templates/home.html
Normal file
@ -0,0 +1,34 @@
|
||||
<!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">
|
||||
<title>Rowan TL's Website - $title$</title>
|
||||
<link rel="stylesheet" href="/css/default.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div class="logo">
|
||||
<a href="/">Rowan Torbitzky-Lane's Website</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/about.html">About</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
<a href="/archive.html">Archive</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main role="main">
|
||||
<img src="/images/sitting_on_bridge.jpeg" style="float: right; right: 10px; height:15%; width:15%" />
|
||||
<h1>$title$</h1>
|
||||
$body$
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
Site proudly generated by
|
||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user