Skip to content

Commit

Permalink
favicon and add more relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago committed Feb 7, 2014
1 parent 4eacbbe commit c0fbd43
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 10 deletions.
9 changes: 5 additions & 4 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{% endif %}
<link href='http://fonts.googleapis.com/css?family=Poly:400,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" media="screen, projection" href="{{site.url}}/res/screen.css" type="text/css">
<link rel="stylesheet" media="print" href="{{site.url}}/res/print.css" type="text/css">
<link rel="stylesheet" media="screen, projection" href="/res/screen.css" type="text/css">
<link rel="stylesheet" media="screen, projection" href="/res/syntax.css" type="text/css">
<link rel="stylesheet" media="print" href="/res/print.css" type="text/css">

<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{{site.owner.twitter}}">
Expand All @@ -25,13 +26,13 @@
<meta name="description" content="{{site.description}}">
{% endif %}

<meta property="og:url" content="{{site.url}}/{{ page.url | remove_first:'index.html' }}">
<meta property="og:url" content="/{{ page.url | remove_first:'index.html' }}">
<meta property="og:site_name" content="{{site.title}}">
<meta property="og:type" content="article">
<meta property="og:locale" content="en_GB" />
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date: "%Y-%m-%d" }}">
{% endif %}
<!-- Add custom CSS here -->
<link href="{{site.url}}/assets/css/font-awesome.min.css" rel="stylesheet">
<link href="/assets/css/font-awesome.min.css" rel="stylesheet">
</head>
6 changes: 3 additions & 3 deletions _includes/pagescript.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script src="{{site.url}}/assets/js/jquery-1.10.2.js"></script>
<script src="{{site.url}}/assets/js/simpleJekyllSearch.js"></script>
<script src="/assets/js/jquery-1.10.2.js"></script>
<script src="/assets/js/simpleJekyllSearch.js"></script>

<script type="text/javascript">
/* Jekyll Simple Search option */

$(document).ready(function() {
$('.search-field').simpleJekyllSearch({
jsonFile: '{{site.url}}/search.json',
jsonFile: '/search.json',
searchResults: '.search-results',
template: '<li><a href="{url}"><time datetime="{date}">{shortdate}</time> &mdash; {title}</a></li>',
noResults: '<p>Nothing found.</p>'
Expand Down
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<h1 class="logo" id="blog-title"><a href="/">{{ site.name }}</a></h1>
<ul class="navigation">
<li><a href="/archive"{% if page.url contains "/archive" %}class="active"{% endif %} title="Archived articles">Archive</a></li>
<!-- <li><a href="{{site.url}}/about/"{% if page.url contains "/about/" %}class="active"{% endif %}>About me</a></li> -->
<!-- <li><a href="/about"{% if page.url contains "/about" %}class="active"{% endif %}>About me</a></li> -->
</ul>
</header>

Expand All @@ -26,10 +26,10 @@ <h1 class="logo" id="blog-title"><a href="/">{{ site.name }}</a></h1>
{% if paginator.page %}
<div id="paginator" class="content">
{% if paginator.next_page %}
<a href="{{site.url}}/page{{ paginator.next_page }}/">Older entries</a>
<a href="/page{{ paginator.next_page }}/">Older entries</a>
{% endif %}
{% if paginator.previous_page %}
<a href="{{site.url}}/page{{ paginator.previous_page }}/">Newer entries</a>
<a href="/page{{ paginator.previous_page }}/">Newer entries</a>
{% endif %}
</div>
{% endif %}
Expand Down
Binary file added favicon.ico
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions res/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ a:visited:hover { color:#af00cf; }
/*a > img { margin-bottom:-1px; }*/
a.img { border:none; background:transparent !important; }

/*code {
font-family: monospace;
background-color: black;
color: white;
}*/


/* Headlines */
h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a, h1 > a:hover,
h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover {
Expand Down
60 changes: 60 additions & 0 deletions res/syntax.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.highlight { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */
.highlight .o { font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { font-weight: bold } /* Keyword.Constant */
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d14 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
.highlight .sc { color: #d14 } /* Literal.String.Char */
.highlight .sd { color: #d14 } /* Literal.String.Doc */
.highlight .s2 { color: #d14 } /* Literal.String.Double */
.highlight .se { color: #d14 } /* Literal.String.Escape */
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
.highlight .si { color: #d14 } /* Literal.String.Interpol */
.highlight .sx { color: #d14 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d14 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */

0 comments on commit c0fbd43

Please sign in to comment.