projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change the way we expect the header to look in the README
[web.git]
/
_layouts
/
default.html
diff --git
a/_layouts/default.html
b/_layouts/default.html
index e19cd91e18b4bbe06bce2e98adbf4ec046b70759..5fe8d4d67a6fd4f0f37a53667642429e227b75c1 100644
(file)
--- a/
_layouts/default.html
+++ b/
_layouts/default.html
@@
-9,21
+9,25
@@
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}">{% endif %}
<link rel="stylesheet" href="/style.css">
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}">{% endif %}
<link rel="stylesheet" href="/style.css">
- <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
+ {% capture canonicalurl %}{{ page.url | replace:'index.html','' }}{% endcapture %}
+ <link rel="canonical" href="{{ canonicalurl | prepend: site.url }}">
{% if page.rss or page.layout == 'post' %}<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}" />{% endif %}
</head>
{% if page.rss or page.layout == 'post' %}<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}" />{% endif %}
</head>
- <body><div id="frame">
+ <body><div id="-frame">
+
+ <header id="-title">
+ <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
+ </header>
- {% include menu.html %}
+ <nav id="-navi">
+ {% include menu-level.html menu=site.structure base="" above=true %}
+ </nav>
- <div id="page">
- <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
- <div id="content">
- {{ content }}
- </div>
- </div>
+ <article id="-content">
+ {{ content }}
+ </article>
</div></body>
</div></body>