mirror of https://github.com/ansible/ansible.git
Merge
parent
6f8e9c1b29
commit
d706aca82b
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
require('../wp-blog-header.php');
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
<div class="container">
|
||||
<?php if (function_exists('bootstrapwp_breadcrumbs')) bootstrapwp_breadcrumbs(); ?>
|
||||
</div><!--/.container -->
|
||||
</div><!--/.row -->
|
||||
|
||||
{% macro navBar() %}
|
||||
<div id="left-sidebar" class="span3 sidebar">
|
||||
<div class="side-nav sidebar-block left-side-nav">
|
||||
<ul><li><a href="/docs/"><strong>Documentation Home</strong></a></li></ul>
|
||||
{{ toctree(maxdepth=1) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{# Silence the sidebar's, relbar's #}
|
||||
{% block sidebar1 %}{% endblock %}
|
||||
{% block sidebar2 %}{% endblock %}
|
||||
{% block relbar1 %}{% endblock %}
|
||||
{% block relbar2 %}{% endblock %}
|
||||
|
||||
{%- block content %}
|
||||
<div class="container">
|
||||
<div class="row clear-both">
|
||||
<!-- BEGIN LEFT-SIDEBAR -->
|
||||
{% block header %}{{ navBar() }}{% endblock %}
|
||||
<!-- END LEFT-SIDEBAR -->
|
||||
<!-- BEGIN ARTICLE CONTENT AREA -->
|
||||
<div class="span8 main-column two-columns-left">
|
||||
{% block body %} {% endblock %}
|
||||
</div><!-- END ARTICLE CONTENT AREA -->
|
||||
</div> <!-- class=row -->
|
||||
</div> <!-- class=container -->
|
||||
{%- endblock %}
|
||||
|
||||
<?php get_footer('home'); ?>
|
||||
@ -0,0 +1,8 @@
|
||||
{%- if prev %}
|
||||
<li><a href="{{ prev.link|e }}"
|
||||
title="{{ _('previous chapter') }}">{{ "«"|safe }} {{ prev.title }}</a></li>
|
||||
{%- endif %}
|
||||
{%- if next %}
|
||||
<li><a href="{{ next.link|e }}"
|
||||
title="{{ _('next chapter') }}">{{ next.title }} {{ "»"|safe }}</a></li>
|
||||
{%- endif %}
|
||||
@ -0,0 +1,7 @@
|
||||
{%- if pagename != "search" %}
|
||||
<form class="pull-left" action="{{ pathto('search') }}" method="get">
|
||||
<input type="text" name="q" placeholder="Search" />
|
||||
<input type="hidden" name="check_keywords" value="yes" />
|
||||
<input type="hidden" name="area" value="default" />
|
||||
</form>
|
||||
{%- endif %}
|
||||
@ -0,0 +1,4 @@
|
||||
{%- if show_source and has_source and sourcename %}
|
||||
<li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
|
||||
rel="nofollow">{{ _('Source') }}</a></li>
|
||||
{%- endif %}
|
||||
@ -0,0 +1,5 @@
|
||||
# Twitter Bootstrap Theme
|
||||
[theme]
|
||||
inherit = basic
|
||||
stylesheet = basic.css
|
||||
pygments_style = tango
|
||||
Loading…
Reference in New Issue