Fork me on Github only on index, improved button layout
This commit is contained in:
parent
0b7da64f8b
commit
561329e1a6
|
@ -12,7 +12,9 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
{% if page.include-banner %}
|
||||
<a href="https://github.com/NuSkooler/enigma-bbs/"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
|
||||
{% endif %}
|
||||
<div id="container">
|
||||
<div class="sidebar" id="sidebar">
|
||||
<hr class="mobile-divide" />
|
||||
|
@ -27,15 +29,26 @@
|
|||
<section id="main_content">
|
||||
<div class="PageNavigation">
|
||||
{% if page.previous %}
|
||||
<a class="btn" href="{{page.previous.url | relative_url }}">« {{page.previous.title}}</a>
|
||||
<a class="btn" style="float:left;margin-right: 20px;" href="{{page.previous.url | relative_url }}">« {{page.previous.title}}</a>
|
||||
{% endif %}
|
||||
<a href="#sidebar" class="btn menu_button">MENU</a>
|
||||
{% if page.next %}
|
||||
<a class="btn" href="{{page.next.url | relative_url }}">{{page.next.title}} »</a>
|
||||
<a class="btn" style="float: right;margin-left: 20px" href="{{page.next.url | relative_url }}">{{page.next.title}} »</a>
|
||||
{% endif %}
|
||||
<br clear="both" />
|
||||
</div>
|
||||
|
||||
{{ content }}
|
||||
|
||||
<div class="PageNavigation">
|
||||
{% if page.previous %}
|
||||
<a class="btn" style="float:left;margin-right: 20px;" href="{{page.previous.url | relative_url }}">« {{page.previous.title}}</a>
|
||||
{% endif %}
|
||||
{% if page.next %}
|
||||
<a class="btn" style="float: right;margin-left: 20px" href="{{page.next.url | relative_url }}">{{page.next.title}} »</a>
|
||||
{% endif %}
|
||||
<br clear="both" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title: Home
|
||||
include-banner: true
|
||||
---
|
||||
![ENiGMA½ BBS](assets/images/enigma-bbs.png "ENiGMA½ BBS")
|
||||
|
||||
|
|
Loading…
Reference in New Issue