Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed sublime project

  • Loading branch information...
commit db490ceaf8e6f526d876d49aa8cd7843d604ec24 1 parent d66ae5b
@wunki authored
View
2  posts/2012-05-16-apologies-for-making-money.md
@@ -89,4 +89,4 @@ our brain to ignore ads.
[sale of Instagram]: http://www.facebook.com/zuck/posts/10100318398827991
[Twitter]: http://twitter.com
[Facebook]: http://www.facebook.com
-[our App]: http://itunes.apple.com/us/app/invy/id511271654?mt=8
+[our App]: http://itunes.apple.com/us/app/invy/id511271654?mt=8
View
20 wunki.hs
@@ -12,12 +12,12 @@ import Hakyll
main :: IO ()
main = hakyllWith config $ do
-
+
-- Compress CSS
match "stylesheets/*" $ do
route idRoute
compile compressCssCompiler
-
+
-- Copy images
match "images/*" $ do
route idRoute
@@ -27,7 +27,7 @@ main = hakyllWith config $ do
match "images/posts/*" $ do
route idRoute
compile copyFileCompiler
-
+
-- Copy javascripts
match "javascripts/*" $ do
route idRoute
@@ -47,7 +47,7 @@ main = hakyllWith config $ do
match "robots.txt" $ do
route idRoute
compile copyFileCompiler
-
+
-- Render posts
match "posts/*" $ do
route $ setExtension ".html"
@@ -90,11 +90,11 @@ main = hakyllWith config $ do
metaCompile $ require_ "tags"
>>> arr tagsMap
>>> arr (map (\(t, p) -> (tagIdentifier t, makeTagList t p)))
-
+
-- Render RSS feed
match "rss.xml" $ route idRoute
create "rss.xml" $ requireAll_ "posts/*" >>> renderRss feedConfiguration
-
+
-- Read templates
match "templates/*" $ compile templateCompiler
@@ -119,7 +119,7 @@ main = hakyllWith config $ do
tagIdentifier :: String -> Identifier (Page String)
tagIdentifier = fromCapture "tags/*"
-
+
-- Common variables
description = "A person's progression in the world of programming. Watch me how I stagger on the never-ending road to digital mastery."
keywords = "petar, radosevic, wunki, bread and pepper, programming, haskell, freebsd, rest"
@@ -142,8 +142,8 @@ makeTagList tag posts =
--
wunkiCompiler :: Compiler Resource (Page String)
wunkiCompiler = pageCompilerWith defaultHakyllParserState wunkiWriterOptions
-
--- | Custom HTML options for pandoc
+
+-- | Custom HTML options for pandoc
--
wunkiWriterOptions :: WriterOptions
wunkiWriterOptions = defaultHakyllWriterOptions
@@ -157,7 +157,7 @@ config = defaultHakyllConfiguration
{ deployCommand = "rsync --checksum -ave 'ssh -p 22000' \
\_site/* wunki@141.138.137.36:/usr/local/www/wunki"
}
-
+
feedConfiguration :: FeedConfiguration
feedConfiguration = FeedConfiguration
{ feedTitle = "Wunki"
View
10 wunki.sublime-project
@@ -1,10 +0,0 @@
-{
- "folders":
- [
- {
- "path": "/Users/wunki/Sites/wunki",
- "folder_exclude_patterns": ["_*", ".hsenv"],
- "file_exclude_patterns": ["*.hi", "*.o"]
- }
- ]
-}
Please sign in to comment.
Something went wrong with that request. Please try again.