Change layout
This commit is contained in:
parent
4e2d6342b4
commit
2db7c774a2
BIN
images/Git-Icon-Black.png
Normal file
BIN
images/Git-Icon-Black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 684 B |
BIN
images/Git-Icon-Black_orig.png
Normal file
BIN
images/Git-Icon-Black_orig.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
images/git_16.png
Normal file
BIN
images/git_16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 485 B |
BIN
images/git_32.png
Normal file
BIN
images/git_32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 684 B |
BIN
images/profile_grayscale.jpg
Normal file
BIN
images/profile_grayscale.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
@ -1,7 +0,0 @@
|
||||
---
|
||||
title: Home
|
||||
---
|
||||
|
||||
<h2>Welcome</h2>
|
||||
|
||||
<p>Not much here yet. See the top bar</p>
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: About
|
||||
title: Mats Rauhala
|
||||
---
|
||||
|
||||
![](./images/profile.jpg)
|
13
site.hs
13
site.hs
@ -25,7 +25,7 @@ main = hakyll $ do
|
||||
route idRoute
|
||||
compile compressCssCompiler
|
||||
|
||||
match (fromList ["about.markdown", "contact.markdown"]) $ do
|
||||
match (fromList ["index.markdown", "contact.markdown"]) $ do
|
||||
route $ setExtension "html"
|
||||
compile $ pandocCompiler
|
||||
>>= loadAndApplyTemplate "templates/default.html" defaultContext
|
||||
@ -59,17 +59,6 @@ main = hakyll $ do
|
||||
>>= loadAndApplyTemplate "templates/default.html" archiveCtx
|
||||
>>= relativizeUrls
|
||||
|
||||
match "index.html" $ do
|
||||
route idRoute
|
||||
compile $ do
|
||||
let indexCtx =
|
||||
constField "title" "Home" `mappend`
|
||||
defaultContext
|
||||
|
||||
getResourceBody
|
||||
>>= applyAsTemplate indexCtx
|
||||
>>= loadAndApplyTemplate "templates/default.html" indexCtx
|
||||
>>= relativizeUrls
|
||||
|
||||
match "templates/*" $ compile templateBodyCompiler
|
||||
|
||||
|
@ -14,9 +14,10 @@
|
||||
<a href="/">rauhala.info</a>
|
||||
</div>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<!-- Git logo from https://git-scm.com/downloads/logos -->
|
||||
<!-- Logo by Jason Long -->
|
||||
<a href="https://git.rauhala.info"><img src="/images/git_16.png" alt="git" /></a>
|
||||
<a href="/guides.html">Guides</a>
|
||||
<a href="/about.html">About</a>
|
||||
<a href="/contact.html">Contact</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user