projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re-do the layout: use SCSS, put the boxes differently to have the entire frame as...
[web.git]
/
_layouts
/
default.html
diff --git
a/_layouts/default.html
b/_layouts/default.html
index e19cd91e18b4bbe06bce2e98adbf4ec046b70759..3abd894719ef556ca3d38b1bafba4f4c056e4487 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>
<body><div id="frame">
{% 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">
-
- {% include menu.html %}
-
- <div id="page">
- <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
- <div id="content">
- {{ content }}
- </div>
- </div>
+
+ <header id="title">
+ <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
+ </header>
+
+ <nav id="navi">
+ {% include menu-level.html menu=site.structure base="" above=true %}
+ </nav>
+
+ <article id="content">
+ {{ content }}
+ </article>
</div></body>
</div></body>