Skip to content

Commit

Permalink
Revert "Fixes barryclark#50"
Browse files Browse the repository at this point in the history
This reverts commit c9efc1f.
  • Loading branch information
le4ker committed Nov 19, 2015
1 parent af55425 commit 80c9c06
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 100 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ You can watch it in action [here](https://panossakkos.github.io/personal-jekyll-
* RSS feed
* Cool (anti-procrastinating) 404 page
* [Android Web App mode](https://developer.chrome.com/multidevice/android/installtohomescreen)
* Syntax highlighting
* Forcing of https protocol
* Protection from Email harvesting
* Travis CI integration with [html-proofer](https://github.com/gjtorikian/html-proofer)
Expand Down
20 changes: 3 additions & 17 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<meta name="author" content="{{site.author}}">
<meta name="keywords" content="{{site.keyword}}">
<link rel="canonical" href="{{page.url | replace:'index.html','' | prepend: site.baseurl}}">
{% if page.url == "/404.html" | prepend: {{site.baseurl}} %}
<meta http-equiv="refresh" content="20; url={{site.baseurl}}/">
{% endif %}
<title>{{site.title}} {% if page.title %} | {{page.title}}{% endif %}</title>

<!-- Bootstrap Core CSS -->
Expand All @@ -41,25 +44,8 @@
{% if site.favicon %}
<link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}{{site.favicon}}">
{% endif %}

{% if page.url == "/404.html" | prepend: {{site.baseurl}} %}
<meta http-equiv="refresh" content="20; url={{site.baseurl}}/">
{% endif %}

{% if site.web-app-mode %}

<!-- Android Web App mode -->

<link rel="manifest" href="{{site.baseurl}}/manifest.json">

{% endif %}

{% if page.section-type == "post" %}

<!-- Code highlighting in Post pages -->

<link href="{{site.baseurl}}/css/syntax.css" rel="stylesheet">

{% endif %}
</head>

Expand Down
14 changes: 0 additions & 14 deletions _posts/2015-06-19-writing-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,3 @@ In order to generate the tag pages, simply run the *generate-tags* script from t
The script will parse all your posts, and generate the tag pages for the newly added tags.

If you are not using Github Pages, you can automate the execution of this script during build time.

### Syntax highlighting

If you want to include a code snippet in your post, simply use the following syntax:

{% highlight c linenos %}
#include<stdio.h>

int main()
{
printf("Hello, world of syntax highlighting!");
return 0;
}
{% endhighlight %}
68 changes: 0 additions & 68 deletions css/syntax.css

This file was deleted.

0 comments on commit 80c9c06

Please sign in to comment.