Skip to content
Browse files

Adding custom 404 page

  • Loading branch information...
1 parent 94a6fce commit ef1f16e5b9831e32e765e094fc3f452b5c4a9953 @credmp committed Jan 1, 2013
Showing with 14 additions and 204 deletions.
  1. +0 −197 404.html
  2. +14 −7 404.md
  3. BIN assets/404.jpg
View
197 404.html
@@ -1,197 +0,0 @@
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
-
- <head>
-
- <title>Constantly Learning</title>
-
-
-
-
- <link rel="stylesheet" type="text/css" href="/bootstrap/css/bootstrap.min.css"/>
-
- <!-- AUTOMATICALLY GENERATED. DO NOT EDIT. -->
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-affix.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-alert.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-button.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-carousel.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-collapse.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-dropdown.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-modal.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-popover.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-scrollspy.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-tab.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-tooltip.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-transition.min.js"></script>
-
- <script type="text/javascript" src="/bootstrap/js/bootstrap-typeahead.min.js"></script>
-
-
-
- <!-- Fonts -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet' type='text/css'>
-
- <!-- RSS FEED -->
- <link href="http://feeds.bretthard.in/bretthardin" rel="alternate" type="application/atom+xml" title="Brett Hardin" />
-
- <script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript" ></script>
-
- <script type="text/javascript">
- $(function(){
- $(window).scroll(function(){
-
- var height_of_header = 192;
-
- if($(window).scrollTop() > height_of_header) $('.below-header-sticky').addClass('fixed');
- else $('.below-header-sticky').removeClass('fixed');
-
- });
- });
- </script>
-
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-28805964-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
-
- <body>
-
- <div class="top-bar">
- <div style="float: right; padding: 5px 5px;">
- <!-- AddThis Follow BEGIN -->
- <div class="addthis_toolbox addthis_default_style">
- <a class="addthis_button_facebook_follow" addthis:userid="hardin.brett"></a>
- <a class="addthis_button_twitter_follow" addthis:userid="miscsecurity"></a>
- <a class="addthis_button_rss_follow" addthis:userid="http://feeds.bretthard.in/bretthardin"></a>
- </div>
- <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f8cae456464e357"></script>
- <!-- AddThis Follow END -->
- </div>
- </div>
-
-
- <div class="header-bar">
- <div class="container">
- <div class="header">
- <a href="/">constantly learning</a>
- </div>
- <ul class="nav nav-pills center">
- <li><a href="/books" onClick="_gaq.push(['_trackEvent', 'Clicked Link', 'read']);">Read</a></li>
- <li><a href="/tags" onClick="_gaq.push(['_trackEvent', 'Clicked Link', 'write']);">Write</a></li>
- <li><a href="/talks" onClick="_gaq.push(['_trackEvent', 'Clicked Link', 'talk']);">Talk</a></li>
- <li><a href="/about" onClick="_gaq.push(['_trackEvent', 'Clicked Link', 'About Me']);">About Me</a></li>
- </ul>
- </div></div>
-
- <div class="below-header-sticky" style="padding: 15px">
- <div class="input-append">
- <form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=bretthardin', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" style="margin-bottom: 0px">
- <input type="text" placeholder="Subscribe via email" name="email"/>
- <input type="hidden" value="bretthardin" name="uri"/>
- <input type="hidden" name="loc" value="en_US"/>
- <input type="submit" class="btn btn-success" value="Subscribe!" onclick="_gaq.push(['_trackEvent', 'Subscribe', 'Email', 'Side Bar']);"/>
- </form>
- </div>
- </div>
-
- <div class="container main-content">
- <div class="row">
- <div class="span8">
- <div style="text-align: center">
- <h1>Kaaaaaaaaaaaahn!!!!!</h1>
- <h4>I've abandoned this page on another planet.</h4>
-
- <img src="/assets/images/kahn.gif" />
-
- <h2>Please <a href="https://twitter.com/miscsecurity">let me know</a> this page no longer exists</h2>
- </div>
-
-
- </div>
-
- <div class="span4" style="padding-top: 10px;">
- <div class="side_bar">
- <h2>About Me</h2>
- <div class="about_me" style="text-align: justify;">
- <img class="avatar img-circle" alt="Brett Hardin" src="https://en.gravatar.com/userimage/8781599/408ff2d80d284339d894c762915fde94.jpg" />
-
- <p><small>
- <a href="/about">Brett Hardin</a> hates writing in third-person. I'm the Founder of <a href="http://www.sourceninja.com/">SourceNinja</a> and love learning. If you found this article helpful or annoying, I'd love to <a href="#disqus_thread">start a dialogue.</a>
- </small>
- </p>
-
- <div style="padding-bottom: 10px;">
- <!-- AddThis Follow BEGIN -->
- <div class="addthis_toolbox addthis_32x32_style addthis_default_style">
- <a class="addthis_button_facebook_follow" addthis:userid="hardin.brett"></a>
- <a class="addthis_button_twitter_follow" addthis:userid="miscsecurity"></a>
- <a class="addthis_button_google_follow" addthis:userid="114765575870882823509"></a>
- <a class="addthis_button_rss_follow" addthis:userid="http://feeds.bretthard.in/bretthardin"></a>
- </div>
- <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f8cae456464e357"></script>
- <!-- AddThis Follow END -->
- </div>
- </div>
-
- <h2>Popular Articles</h2>
- <div class="trending_content">
- <!-- AddThis Trending Content BEGIN -->
- <div id="addthis_trendingcontent"></div>
- <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f8cae456464e357"></script>
- <script type="text/javascript">
- addthis.box("#addthis_trendingcontent", {
- feed_title : "",
- feed_type : "trending",
- feed_period : "month",
- num_links : 5,
- height : "auto",
- width : "auto",
- remove : "Constantly Learning: "});
- </script>
- <!-- AddThis Trending Content END -->
-
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <footer class="footer">
- <div class="container">
- <p style="float: left;">Site Built with Sublime Text2, BootStrap, and Jekyll</p>
- <p style="float: right;">Copyright &copy; 2012 <a href="http://twitter.com/miscsecurity">Brett Hardin</a></p>
- </div>
- </footer>
-
- <!-- HitTail Code -->
- <script type="text/javascript">
- (function(){ var ht = document.createElement('script');ht.async = true;
- ht.type='text/javascript';ht.src = '//97082.hittail.com/mlt.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ht, s);})();
- </script>
-
- <!-- Twitter -->
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </body>
- </html>
View
21 404.md
@@ -1,11 +1,18 @@
---
-layout: sidebar
+layout: page
---
-<div style="text-align: center">
-<h1>Kaaaaaaaaaaaahn!!!!!</h1>
-<h4>I've abandoned this page on another planet.</h4>
-<img src="/assets/images/kahn.gif" />
+# Y U R NOT FOUND?
+
+![Y U R NOT FOUND?](/assets/404.jpg)
+
+It seems you tried to find something that doesn't exist!? Does this happen often to you?
+
+Perhaps what you are looking for is available in this list?
+
+ * [An overview of Topics I wrote about](tags.html)
+ * [A collection of links](links.html)
+ * [Something about credmp](about.html)
+
+<h2>Please <a href="https://twitter.com/credmp">let me know</a> this page no longer exists</h2>
-<h2>Please <a href="https://twitter.com/miscsecurity">let me know</a> this page no longer exists</h2>
-</div>
View
BIN assets/404.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ef1f16e

Please sign in to comment.
Something went wrong with that request. Please try again.