summaryrefslogtreecommitdiff
path: root/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'views/layouts')
-rwxr-xr-xviews/layouts/main.handlebars56
1 files changed, 26 insertions, 30 deletions
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars
index 46973a1..e967019 100755
--- a/views/layouts/main.handlebars
+++ b/views/layouts/main.handlebars
@@ -53,37 +53,33 @@
</head>
<body>
- <div class="container h-100">
- <div class="row" id="container">
- <div class="col-lg-2 col-md-3 col-sm-4" id="sidebar">
- {{>sidebar}}
- </div>
- <div class="col-sm pt-3" id="content">
- <div id="bodyContainer">
- {{{body}}}
- </div>
- <div id="footerContainer">
- {{#if showInstanceInformation}}
- <p class="small text-muted">
- <strong>{{siteName}}</strong>
- {{#each staticPages}}
- {{#if @first}}
- &middot;
- {{/if}}
+ <div id="container">
+ <header id="sidebar">
+ {{>sidebar}}
+ </header>
+ <section id="content">
+ {{{body}}}
+ <footer>
+ {{#if showInstanceInformation}}
+ <p class="small text-muted">
+ <strong>{{siteName}}</strong>
+ {{#each staticPages}}
+ {{#if @first}}
+ &middot;
+ {{/if}}
- <a href="{{this.path}}">{{this.title}}</a>
+ <a href="{{this.path}}">{{this.title}}</a>
- {{#unless @last}}
- &middot;
- {{/unless}}
- {{/each}}
- </p>
- {{/if}}
- <p class="small text-muted">
- <strong>Gathio</strong> version {{version}} &middot; <a href="https://github.com/lowercasename/gathio">GitHub</a> &middot; Made with <i class="far fa-heart"></i> by <a href="https://raphaelkabo.com">Raphael</a> and <a href="https://github.com/lowercasename/gathio/graphs/contributors">contributors</a>
+ {{#unless @last}}
+ &middot;
+ {{/unless}}
+ {{/each}}
</p>
- </div>
- </div>
- </div>
- </div>
+ {{/if}}
+ <p class="small text-muted">
+ <strong>Gathio</strong> version {{version}} &middot; <a href="https://github.com/lowercasename/gathio">GitHub</a> &middot; Made with <i class="far fa-heart"></i> by <a href="https://raphaelkabo.com">Raphael</a> and <a href="https://github.com/lowercasename/gathio/graphs/contributors">contributors</a>
+ </p>
+ </footer>
+ </section>
+ </div>
</html>