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>
<!-- CSS -->
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
<link rel="stylesheet" href="{{ "public/css/poole.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "public/css/syntax.css" | prepend: site.baseurl }}">
<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">
<!-- Icons -->
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
<link rel="shortcut icon" href="{{ "public/favicon.ico" | prepend: site.baseurl }}">
<!-- 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 -->
<link rel="author" href="humans.txt">

View file

@ -25,20 +25,20 @@ layout: default
</div>
{% if page.comments %}
<div class="comments">
<h2>Comments</h2>
<div id="disqus_thread"></div>
</div>
<div class="comments">
<h2>Comments</h2>
<div id="disqus_thread"></div>
</div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}';
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
{% 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:
![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'
{% 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"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<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 rel="hub" href="{{ site.hub_url }}/" />
<updated>{{ site.time | date_to_xmlschema }}</updated>
@ -18,7 +18,7 @@ layout: null
<entry>
<id>{{ site.url }}{{ post.id }}</id>
<title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}" />
<link href="{{ post.url | prepend: site.url }}" />
<published>{{ post.date | date_to_xmlschema }}</published>
{% if post.modified != nil %}
<updated>{{ post.modified | date_to_xmlschema }}</updated>