Permalink
Browse files

remove old hacks for prefix

  • Loading branch information...
1 parent 6f9e0ab commit 58fe71e7e12cc534f3c6d3d407f05ad18d7e57f9 @shiftkey shiftkey committed May 19, 2016
Showing with 0 additions and 8 deletions.
  1. +0 −7 _includes/base.html
  2. +0 −1 _layouts/default.html
View
@@ -1,7 +0,0 @@
-<!-- _includes/base.html -->
-{% assign base = '' %}
-{% assign depth = page.url | split: '/' | size | minus: 1 %}
-{% if depth == 1 %}{% assign base = '.' %}
-{% elsif depth == 2 %}{% assign base = '..' %}
-{% elsif depth == 3 %}{% assign base = '../..' %}
-{% elsif depth == 4 %}{% assign base = '../../..' %}{% endif %}
@@ -3,7 +3,6 @@
---
<!DOCTYPE html>
<html>
- {% include base.html %}
{% include head.html %}
<body>
{% include header.html %}

0 comments on commit 58fe71e

Please sign in to comment.