diff options
Diffstat (limited to 'views')
-rwxr-xr-x | views/layouts/main.handlebars | 23 | ||||
-rw-r--r-- | views/static.handlebars | 10 |
2 files changed, 29 insertions, 4 deletions
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index daa5a37..fb493a4 100755 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -68,12 +68,27 @@ {{{body}}} </div> <div id="footerContainer"> - <small class="text-muted"> - Version 1.3.0 · <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><br /> - </small> + {{#if showInstanceInformation}} + <p class="small text-muted"> + <strong>{{domain}}</strong> + {{#each staticPages}} + {{#if @first}} + · + {{/if}} + + <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> + </p> </div> </div> </div> </div> - </body> </html> diff --git a/views/static.handlebars b/views/static.handlebars new file mode 100644 index 0000000..d28d8f2 --- /dev/null +++ b/views/static.handlebars @@ -0,0 +1,10 @@ + +<article class="static-page"> + <header> + <h1>{{title}}</h1> + </header> + <main> + {{{content}}} + </main> +</article> + |