diff options
Diffstat (limited to 'views/layouts/main.handlebars')
| -rwxr-xr-x | views/layouts/main.handlebars | 56 | 
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}} -                    · -                  {{/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}} +                  · +                {{/if}} -                  <a href="{{this.path}}">{{this.title}}</a> +                <a href="{{this.path}}">{{this.title}}</a> -                  {{#unless @last}} -                    · -                  {{/unless}} -                {{/each}} -              </p> -            {{/if}} -            <p class="small text-muted"> -              <strong>Gathio</strong> version {{version}} · <a href="https://github.com/lowercasename/gathio">GitHub</a> · 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}} +                  · +                {{/unless}} +              {{/each}}              </p> -          </div> -        </div> -      </div> -    </div> +          {{/if}} +          <p class="small text-muted"> +            <strong>Gathio</strong> version {{version}} · <a href="https://github.com/lowercasename/gathio">GitHub</a> · 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>  | 
