Fix templates and layout a bit
This commit is contained in:
Родитель
70c10fd360
Коммит
9178a90795
|
@ -1,16 +1,9 @@
|
|||
<!-- Navigation -->
|
||||
<nav class="navbar {% if page.url == '/index.html' %}affix-top{% else %} affix {% endif %}"
|
||||
role="navigation"
|
||||
{% if page.url == '/index.html' %}
|
||||
data-spy="affix"
|
||||
data-offset-top="700"
|
||||
{% endif %}
|
||||
>
|
||||
<nav class="navbar" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse"
|
||||
data-target="#p2pu-menu">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#p2pu-menu">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
|
@ -41,11 +34,11 @@
|
|||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://thepeople.p2pu.org/category/learning/">Discussion</a>
|
||||
<a href="http://community.p2pu.org/category/learning/">Discussion</a>
|
||||
</li>
|
||||
<li>
|
||||
<!--li>
|
||||
<a href="http://thepeople.p2pu.org" class="btn btn-primary">Sign Up</a>
|
||||
</li>
|
||||
</li-->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
layout: base
|
||||
---
|
||||
<div class="row">
|
||||
<div class="content col-lg-12">
|
||||
<div class="col-lg-12">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
layout: base
|
||||
---
|
||||
|
||||
<div class="row">
|
||||
<div class="content col-lg-12">
|
||||
{{ content }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="content col-lg-12">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: course_about
|
||||
layout: base
|
||||
---
|
||||
<!-- Banner -->
|
||||
<section id="banner">
|
||||
|
|
Загрузка…
Ссылка в новой задаче