forked from expressjs/expressjs.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add gutter links for tags - add JS to handle gutter tags - add CSS for gutter + posts - add blog specfic layout
- Loading branch information
1 parent
4878e46
commit e1196ec
Showing
4 changed files
with
86 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<ul id="blog-side-menu"> | ||
{% for tag in site.tags %} | ||
<h3>{{ tag[0] }}</h3> | ||
<ul> | ||
{% for post in tag[1] %} | ||
<li><a href="{{ post.url }}">{{ post.title }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endfor %} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<!--- | ||
Copyright (c) 2016 StrongLoop, IBM, and Express Contributors | ||
License: MIT | ||
--> | ||
<html lang="{{ page.lang }}"> | ||
{% include head.html %} | ||
|
||
<body> | ||
|
||
<section class="content"> | ||
<h1>BLOG POSTS LAYOUT</h1> | ||
|
||
{% include header/header-{{ page.lang }}.html %} | ||
|
||
{% include blog/menu.md %} | ||
|
||
<div id="overlay"></div> | ||
|
||
{{ content }} | ||
|
||
</section> | ||
|
||
{% include footer/footer-{{ page.lang }}.html %} | ||
<script src="/js/theme.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters