add a picture of me
This commit is contained in:
parent
d29e14275e
commit
c9526ca75e
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<main role="main">
|
<main role="main">
|
||||||
<h1>Archives</h1>
|
<h1>Archives</h1>
|
||||||
<!-- Here you can find all my previous posts: -->
|
Here you can find all my previous posts:
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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 http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Rowan TL's Website - Home</title>
|
<title>Rowan TL's Website - Home</title>
|
||||||
<link rel="stylesheet" href="./css/default.css" />
|
<link rel="stylesheet" href="/css/default.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<a href="./">Rowan Torbitzky-Lane's Website</a>
|
<a href="/">Rowan Torbitzky-Lane's Website</a>
|
||||||
</div>
|
</div>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="./">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="./about.html">About</a>
|
<a href="/about.html">About</a>
|
||||||
<a href="./contact.html">Contact</a>
|
<a href="/contact.html">Contact</a>
|
||||||
<a href="./archive.html">Archive</a>
|
<a href="/archive.html">Archive</a>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main role="main">
|
<main role="main">
|
||||||
|
<img src="/images/sitting_on_bridge.jpeg" style="float: right; right: 10px; height:15%; width:15%" />
|
||||||
<h1>Home</h1>
|
<h1>Home</h1>
|
||||||
<h2>Welcome</h2>
|
<h2 id="welcome">Welcome</h2>
|
||||||
|
|
||||||
<!-- <img src="/images/haskell-logo.png" style="float: right; margin: 10px;" /> -->
|
|
||||||
|
|
||||||
<p>Welcome to my website!</p>
|
<p>Welcome to my website!</p>
|
||||||
|
<h2 id="links">Links</h2>
|
||||||
<!-- <p></p> -->
|
<p>
|
||||||
|
<p><a href="https://github.com/RowanTL">My Github Page</a><span><br />
|
||||||
<h2>Links</h2>
|
</span><a href="https://git.evotrade.org">My Personal Git Repo</a></p>
|
||||||
<a href="https://github.com/RowanTL">My Github Page<a>
|
<a>
|
||||||
|
</p>
|
||||||
<!-- <p>…or you can find more in the <a href="/archive.html">archives</a>.</p> -->
|
<p><!-- <p>…or you can find more in the <a href="/archive.html">archives</a>.</p> --></p>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
<h2>Welcome</h2>
|
||||||
|
|
||||||
<!-- <img src="/images/haskell-logo.png" style="float: right; margin: 10px;" /> -->
|
|
||||||
|
|
||||||
<p>Welcome to my website!</p>
|
<p>Welcome to my website!</p>
|
||||||
|
|
||||||
<!-- <p></p> -->
|
|
||||||
|
|
||||||
<h2>Links</h2>
|
<h2>Links</h2>
|
||||||
|
<p>
|
||||||
<a href="https://github.com/RowanTL">My Github Page<a>
|
<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> -->
|
<!-- <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
|
match "index.html" $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
-- compile $ do
|
||||||
posts <- recentFirst =<< loadAll "posts/*"
|
-- posts <- recentFirst =<< loadAll "posts/*"
|
||||||
let indexCtx =
|
-- let indexCtx =
|
||||||
listField "posts" postCtx (return posts) `mappend`
|
-- listField "posts" postCtx (return posts) `mappend`
|
||||||
defaultContext
|
-- defaultContext
|
||||||
|
|
||||||
getResourceBody
|
-- getResourceBody
|
||||||
>>= applyAsTemplate indexCtx
|
-- >>= applyAsTemplate indexCtx
|
||||||
>>= loadAndApplyTemplate "templates/default.html" indexCtx
|
-- >>= loadAndApplyTemplate "templates/home.html" defaultContext
|
||||||
>>= relativizeUrls
|
-- >>= relativizeUrls
|
||||||
|
compile $ do
|
||||||
|
tpl <- loadBody "templates/home.html"
|
||||||
|
pandocCompiler >>= applyTemplate tpl defaultContext
|
||||||
|
|
||||||
match "templates/*" $ compile templateBodyCompiler
|
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")$
|
$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