1
0
mirror of https://github.com/taigrr/homer synced 2025-01-18 04:53:12 -08:00

Optionnal footer support

This commit is contained in:
Bastien Wirtz
2020-02-26 21:56:25 -08:00
parent 672bd42a79
commit 51956c3abd
4 changed files with 18 additions and 7 deletions

View File

@@ -13,7 +13,7 @@
</head>
<body>
<div id="app" v-if="config" :class="[isDark ? 'is-dark' : 'is-light']">
<div id="app" v-if="config" :class="[isDark ? 'is-dark' : 'is-light', !config.footer ? 'no-footer': '']">
<div id="bighead">
<section class="first-line">
<div v-cloak class="container">
@@ -104,11 +104,8 @@
</section>
<footer class="footer">
<div class="container">
<div class="content has-text-centered">
<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a
href="https://vuejs.org/">vuejs</a>
& <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i
class="fab fa-github-alt"></i></a></p>
<div class="content has-text-centered" v-if="config.footer" v-html="config.footer">
</div>
</div>
</footer>