More Jekyll 3.3 fixes

main
Joel Marcey 8 years ago
parent c54cdc3784
commit f1aedda068
  1. 2
      docs/_includes/head.html
  2. 2
      docs/_includes/header.html
  3. 2
      docs/_includes/home_header.html
  4. 6
      docs/_includes/nav.html
  5. 3
      docs/_includes/nav/collection_nav.html
  6. 2
      docs/_includes/nav/collection_nav_group_item.html
  7. 20
      docs/css/main.scss

@ -21,5 +21,5 @@
<base href="{{ absolute_url }}/" />
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | absolute_url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ '/feed.xml' | absolute_url }}" />
</head>

@ -1,7 +1,7 @@
<div class="headerContainer">
<div id="header_wrap" class="wrapper headerWrapper">
<div class="inner">
<img class="projectLogo" height="200px" src="{{ relative_url }}/static/logo.svg" alt="{{ site.title }}" title="{{ site.title }}" />
<img class="projectLogo" height="200px" src="{{ '/static/logo.svg' | relative_url }}" alt="{{ site.title }}" title="{{ site.title }}" />
<h1 id="project_title">{{ site.title }}</h1>
<h2 id="project_tagline" class="fbossFontLight">{{ site.tagline }}</h2>

@ -15,7 +15,7 @@
</div>
</div>
<div class="projectLogo">
<img src="{{ relative_url }}/static/logo.svg" alt="{{ site.title }}">
<img src="{{ '/static/logo.svg' | relative_url }}" alt="{{ site.title }}">
</div>
</div>
</div>

@ -1,8 +1,8 @@
<div id="fixed_header" class="fixedHeaderContainer{% if include.alwayson %} visible{% endif %}">
<div class="headerWrapper wrapper">
<header>
<a href="{{ absolute_url }}/">
<img src="{{ relative_url }}/static/logo.svg">
<a href="{{ '/' | absolute_url }}">
<img src="{{ '/static/logo.svg' | relative_url }}">
<h2>{{ site.title }}</h2>
</a>
@ -11,7 +11,7 @@
<ul>
{% for item in site.data.nav %}
<li class="navItem{% if page.collection == item.category or page.category == item.category %} navItemActive{% endif %}">
<a href="{{ item.href }}">{{ item.title }}</a>
<a href="{{ item.href | absolute_url }}">{{ item.title }}</a>
</li>
{% endfor %}
{% if site.searchconfig %}

@ -43,7 +43,7 @@
}, false);
var collectionNav = document.getElementById('collection_nav');
var collectionNavToggler =
var collectionNavToggler =
document.getElementById('collection_nav_toggler');
collectionNavToggler.addEventListener('click', function(e) {
collectionNav.classList.toggle('toggleNavActive');
@ -62,4 +62,3 @@
}
}
</script>

@ -1 +1 @@
<li class="navListItem"><a class="navItem" href="{{ groupitem.url }}">{{ groupitem.title }}</a></li>
<li class="navListItem"><a class="navItem" href="{{ groupitem.url | absolute_url }}">{{ groupitem.title }}</a></li>

@ -5,40 +5,40 @@
@font-face {
font-family: 'Lato';
src: url('{{ relative_url }}/static/fonts/LatoLatin-Italic.woff2') format('woff2'),
url('{{ relative_url }}/static/fonts/LatoLatin-Italic.woff') format('woff');
src: url("{{ '/static/fonts/LatoLatin-Italic.woff2' | relative_url }}") format('woff2'),
url("{{ '/static/fonts/LatoLatin-Italic.woff' | relative_url }}") format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url('{{ relative_url }}/static/fonts/LatoLatin-Black.woff2') format('woff2'),
url('{{ relative_url }}/static/fonts/LatoLatin-Black.woff') format('woff');
src: url("{{ '/static/fonts/LatoLatin-Black.woff2' | relative_url }}") format('woff2'),
url("{{ '/static/fonts/LatoLatin-Black.woff' | relative_url }}") format('woff');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('{{ relative_url }}/static/fonts/LatoLatin-BlackItalic.woff2') format('woff2'),
url('{{ relative_url }}/static/fonts/LatoLatin-BlackItalic.woff') format('woff');
src: url("{{ '/static/fonts/LatoLatin-BlackItalic.woff2' | relative_url }}") format('woff2'),
url("{{ '/static/fonts/LatoLatin-BlackItalic.woff' | relative_url }}") format('woff');
font-weight: 900;
font-style: italic;
}
@font-face {
font-family: 'Lato';
src: url('{{ relative_url }}/static/fonts/LatoLatin-Light.woff2') format('woff2'),
url('{{ relative_url }}/static/fonts/LatoLatin-Light.woff') format('woff');
src: url("{{ '/static/fonts/LatoLatin-Light.woff2' | relative_url }}") format('woff2'),
url("{{ '/static/fonts/LatoLatin-Light.woff' | relative_url }}") format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Lato';
src: url('{{ relative_url }}/static/fonts/LatoLatin-Regular.woff2') format('woff2'),
url('{{ relative_url }}/static/fonts/LatoLatin-Regular.woff') format('woff');
src: url("{{ '/static/fonts/LatoLatin-Regular.woff2' | relative_url }}") format('woff2'),
url("{{ '/static/fonts/LatoLatin-Regular.woff' | relative_url }}") format('woff');
font-weight: normal;
font-style: normal;
}

Loading…
Cancel
Save