1
0
Fork 0

Template cleanup

This commit is contained in:
Daniel Kempkens 2014-12-28 21:05:32 +01:00
parent 08cd3b26e2
commit a90d783831
5 changed files with 23 additions and 23 deletions

View file

@ -15,16 +15,16 @@
</title> </title>
<!-- CSS --> <!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css"> <link rel="stylesheet" href="{{ "public/css/poole.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css"> <link rel="stylesheet" href="{{ "public/css/syntax.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css"> <link rel="stylesheet" href="{{ "public/css/hyde.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<!-- Icons --> <!-- Icons -->
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico"> <link rel="shortcut icon" href="{{ "public/favicon.ico" | prepend: site.baseurl }}">
<!-- RSS --> <!-- RSS -->
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ site.baseurl }}feed.xml"> <link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ "/feed.xml" | prepend: site.url }}">
<!-- humans.txt --> <!-- humans.txt -->
<link rel="author" href="humans.txt"> <link rel="author" href="humans.txt">

View file

@ -25,12 +25,12 @@ layout: default
</div> </div>
{% if page.comments %} {% if page.comments %}
<div class="comments"> <div class="comments">
<h2>Comments</h2> <h2>Comments</h2>
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}'; var disqus_shortname = '{{ site.disqus_shortname }}';
@ -40,5 +40,5 @@ layout: default
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})(); })();
</script> </script>
{% endif %} {% endif %}

View file

@ -42,4 +42,4 @@ Since it is nested, you need to call `polygon.coordinates[0]` in order to get ba
You could then use the the coordinates to draw the generated polygon on the map (along with the route), in order to produce something like this: You could then use the the coordinates to draw the generated polygon on the map (along with the route), in order to produce something like this:
![Buffered Polyline]({{ site.baseurl }}public/images/buffered-polyline-1.png) ![Buffered Polyline]({{ "public/images/buffered-polyline-1.png" | prepend: site.baseurl }})

View file

@ -50,4 +50,4 @@ The following `alias` makes it easier to start the Observer from a terminal. The
alias erlobserver='erl -sname observer -run observer -detached' alias erlobserver='erl -sname observer -run observer -detached'
{% endhighlight %} {% endhighlight %}
![Erlang Observer]({{ site.baseurl }}public/images/installing-erlang-17-0-using-kerl-1.png) ![Erlang Observer]({{ "public/images/installing-erlang-17-0-using-kerl-1.png" || prepend: site.baseurl }})

View file

@ -4,7 +4,7 @@ layout: null
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"> <feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title> <title>{{ site.title }}</title>
<link rel="self" href="{{ site.url }}/feed.xml" /> <link rel="self" href="{{ "/feed.xml" | prepend: site.url }}" />
<link href="{{ site.url }}/"/> <link href="{{ site.url }}/"/>
<link rel="hub" href="{{ site.hub_url }}/" /> <link rel="hub" href="{{ site.hub_url }}/" />
<updated>{{ site.time | date_to_xmlschema }}</updated> <updated>{{ site.time | date_to_xmlschema }}</updated>
@ -18,7 +18,7 @@ layout: null
<entry> <entry>
<id>{{ site.url }}{{ post.id }}</id> <id>{{ site.url }}{{ post.id }}</id>
<title>{{ post.title }}</title> <title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}" /> <link href="{{ post.url | prepend: site.url }}" />
<published>{{ post.date | date_to_xmlschema }}</published> <published>{{ post.date | date_to_xmlschema }}</published>
{% if post.modified != nil %} {% if post.modified != nil %}
<updated>{{ post.modified | date_to_xmlschema }}</updated> <updated>{{ post.modified | date_to_xmlschema }}</updated>