Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #39 (Link to logo is dead) #61

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/site.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ main = hakyll $ do
route idRoute
compile compressCssCompiler

match "static/*" $ do
route idRoute
compile copyFileCompiler

match "templates/*" $ do
compile templateBodyCompiler

Expand Down
6 changes: 6 additions & 0 deletions static/haskell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<nav id="menu" class="clearfix">
<div class="item left logo-container clearfix"><img class="logo" src="http://www.haskell.org/static/img/logo.png" alt="Haskell Logo"><span class="logo-text">PVP.haskell.org</span></div>
<div class="item left logo-container clearfix"><img class="logo" src="static/haskell.svg" alt="Haskell Logo"><span class="logo-text">PVP.haskell.org</span></div>
<div class="item link left"><a href="/v1.0">PVP-1.0</a> &nbsp;&bullet;&nbsp; <a href="/v1.1">PVP-1.1-draft</a> &nbsp;&bullet;&nbsp; <a href="/faq">FAQ</a></div>
</nav>

Expand Down