The code, templates and content for my Hakyll powered blog at blog.rekahsoft.ca
Go to file
Collin J. Doering e2fd291e8f Fixed opening issue with links within page-content
Previously, all anchor clicks within #page-content was handled by a
event listener that checked whether the anchor's href was to an
'external' url and if so loaded it directly. Otherwise it passed the
value of the anchors href attribute to the jquery address plugin (via
the $.address.value function).

This unfortunately cause clicking on anchors to work fine but when
opening them in a new page or window (or copying the link) caused the
link to reference the html snippet of the page/post instead of the
entire application.

To rectify this, this commit simply transforms internal urls href
attribute after the snippet is loaded into #page-content.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-22 00:24:52 -05:00
clay Fixed rendering of source code 2015-01-19 23:40:37 -05:00
files Further various fixes and improvements 2014-03-12 20:59:58 -04:00
fonts Remove unused fonts 2015-01-14 04:50:28 -05:00
images Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
images-src Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
js Fixed opening issue with links within page-content 2015-01-22 00:24:52 -05:00
lib Removed submodules 2014-03-13 04:47:59 -04:00
pages Fixed creative commons license link on home page 2015-01-19 23:40:03 -05:00
posts Fixed use of 'i' instead of 'I' in first blog post 2015-01-14 04:50:28 -05:00
src Completed porting haml templates back to html 2015-01-14 04:50:29 -05:00
templates Completed porting haml templates back to html 2015-01-14 04:50:29 -05:00
.gitignore Added symbolic link for easy execution of site generator 2015-01-14 04:50:29 -05:00
.gitmodules Removed submodules 2014-03-13 04:47:59 -04:00
LICENSE Corrected license file and updated cabal file 2015-01-14 04:50:28 -05:00
README.md Cleaned up README build instructions 2015-01-14 04:50:29 -05:00
Setup.hs Initial cabalization of site 2015-01-14 04:50:28 -05:00
blog-rekahsoft-ca.cabal Ported sass/_blog.sass to clay and modularized clay css files 2015-01-14 04:50:29 -05:00
site Added symbolic link for easy execution of site generator 2015-01-14 04:50:29 -05:00

README.md

Source Code for #! λ Slang

About

#! λ Slang is the personal technical blog of Collin Doering, built using software that respects our freedoms.

Features

  • Hakyll generated static site
  • Clay used for css pre-processing

License

Simply put, you're welcome to use the code used to generate this site though there are a few restrictions:

  • Any images and artwork that embody the likeness of "#! λ Slang" are not to be distributed or used and are strictly copyright
  • The content of pages and posts can be used with attribution, providing you aren't making money off of it

Please see the LICENSE file for full details.

Building

All that is needed to build this site is cabal and a way to fetch required packages (whether directly via the internet or by using the fetch argument to cabal).

$ cabal sandbox init # optional but recommended
$ cabal configure
$ cabal install --only-dependencies
$ cabal build
$ ./site build  # build site
$ ./site server # view site at http://localhost:3000