Browse Source

docs : add html-head.html include

pull/14/head
David DeSandro 14 years ago
parent
commit
eeded62492
  1. 12
      _includes/html-head.html
  2. 13
      _layouts/demo.html
  3. 13
      _layouts/doc.html
  4. 13
      _layouts/elements.html
  5. 11
      _layouts/inf-scroll-page.html

12
_includes/html-head.html

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{ page.title }} &middot; {{ site.name }} {% if page.category == 'docs' %}Docs{% elsif page.category == 'demos' %}Demo{% endif %}</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
<!-- scripts at bottom of page -->
</head>
<body class="{% if page.category == 'docs' %}doc{% elsif page.category == 'demos' %}demo{% endif %} {{ page.body_class }}">

13
_layouts/demo.html

@ -1,15 +1,4 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{ page.title }} &middot; {{ site.name }} Demo</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
<!-- Scripts at the end of the page -->
</head>
<body>
{% include html-head.html %}
<p id="demo-nav"><a href="../">{{ site.name }}</a> Demo</p>

13
_layouts/doc.html

@ -1,15 +1,4 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{ page.title }} &middot; {{ site.name }} Docs</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
</head>
<body class="doc {{ page.body_class }}">
{% include html-head.html %}
<nav id="docs-nav">
<h1><a href="../">{{ site.name }}</a> Docs</h1>

13
_layouts/elements.html

@ -1,18 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
{% include html-head.html %}
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
<p id="demo-nav"><a href="../">{{ site.name }}</a> Demo</p>
</head>
<body{% if page.body_class %} class="{{ page.body_class}}"{% endif %}>
<h1>{{ page.title }}</h1>
<section id="options" class="clearfix">
<h1>{{ page.title }}</h1>
<h3>Filters</h3>
<ul id="filters" class="option-set floated clearfix">

11
_layouts/inf-scroll-page.html

@ -1,13 +1,6 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Isotope Demo: {{ page.title }}</title>
{% include html-head.html %}
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" />
</head>
<body>
<p id="demo-nav"><a href="../">{{ site.name }}</a> Demo</p>
<h1>{{ page.title }}</h1>

Loading…
Cancel
Save