The code, templates and content for my Hakyll powered blog at blog.rekahsoft.ca
Go to file
Collin J. Doering 5bbacb1725 Added initial implementation of error messages
Cleans up error reporting when an ajax call fails, and thus
the #page-content div can't be filled. This is accomplished by using
a #status which has a p.message element that can be populated for text
displaying status messages. By adding either .error or .success
to #status causes it to be highlighted as either a error or success message
respectively.

When its the first load of the page, and #page-content hasn't yet been
populated with content, an error message is shown in the #page-content
div.

Removed the /posts/ and /tags/ fallbacks in the generated
manifest.appcache because even when online, ajax calls for invalid URLs
under those paths return the respective fallback page instead of an
error message, and populate the #page-content div with the fallback. So
from this point forward the fact that the website is offline will be
handled from JavaScript.

When a page is not accessible in the application cache and the user is
offline, an error message is displayed using the mechanism mentioned
above.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -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 Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
lib Removed submodules 2014-03-13 04:47:59 -04:00
pages Fixed link to git repository on home page 2015-01-14 04:50:28 -05:00
posts Fixed use of 'i' instead of 'I' in first blog post 2015-01-14 04:50:28 -05:00
sass Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
src Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
templates Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
.gitignore Bump to Hakyll 4.6 and clean up 2015-01-14 04:50:28 -05:00
.gitmodules Removed submodules 2014-03-13 04:47:59 -04:00
blog-rekahsoft-ca.cabal Bump to Hakyll 4.6 and clean up 2015-01-14 04:50:28 -05:00
LICENSE Corrected license file and updated cabal file 2015-01-14 04:50:28 -05:00
Setup.hs Initial cabalization of site 2015-01-14 04:50:28 -05:00