Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display overview pages #44

Merged
merged 1 commit into from
Apr 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/assets/css/asciidoctor.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url(http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.0/css/font-awesome.css);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.0/css/font-awesome.css);
/* ========================================================================== Embedded content ========================================================================== */
/** Remove border when inside `a` element in IE 8/9. */
img { border: 0; }
Expand Down
2 changes: 1 addition & 1 deletion site/jbake.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ outfilesuffix=

# section specific templates
template.reference.file=reference.ftl
# template.about.file=about.ftl
template.about.file=about.ftl
# template.guides.file=guides.ftl
# template.community.file=community.ftl
# template.notfound.file=404.ftl
Expand Down
15 changes: 15 additions & 0 deletions site/templates/about.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<#include "header.ftl">

<#include "menu.ftl">

<div class="page-header">
<h1><#escape x as x?xml>${content.title}</#escape></h1>
</div>

<p><em></em></p>

<p>${content.body}</p>

<hr />

<#include "footer.ftl">
2 changes: 1 addition & 1 deletion site/templates/menu.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<!-- <li><a href="<#if (content.rootpath)??>${content.rootpath}<#else></#if>about/rationale.html">概要</a></li> -->
<li><a href="<#if (content.rootpath)??>${content.rootpath}<#else></#if>about/rationale.html">概要</a></li>
<li><a href="<#if (content.rootpath)??>${content.rootpath}<#else></#if>reference/documentation">リファレンス</a></li>
<!-- <li><a href="<#if (content.rootpath)??>${content.rootpath}<#else></#if>api/api.html">API</a></li>
<li><a href="<#if (content.rootpath)??>${content.rootpath}<#else></#if>community/downloads.html">リリース</a></li>
Expand Down