diff options
author | Marcin Mierzejewski <marcin@mierzejewski.net> | 2020-05-01 15:38:16 +0300 |
---|---|---|
committer | Marcin Mierzejewski <marcin@mierzejewski.net> | 2020-05-01 15:38:16 +0300 |
commit | 9e36d6567f93424a4ea2f4222fb8a7c3650e85f9 (patch) | |
tree | 4392335d86cfd26e830603d6ceef99b10e0cd56d | |
parent | 4e1c9914ae61ec4f9a725dfeff58505eafd87b15 (diff) |
footer: add footer - powered by hugo and console theme
-rw-r--r-- | exampleSite/content/about/index.md | 8 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 1 | ||||
-rw-r--r-- | layouts/partials/footer.html | 4 | ||||
-rw-r--r-- | static/hugo-theme-console/css/console.css | 16 |
4 files changed, 25 insertions, 4 deletions
diff --git a/exampleSite/content/about/index.md b/exampleSite/content/about/index.md index 0933e41..ec0b6ba 100644 --- a/exampleSite/content/about/index.md +++ b/exampleSite/content/about/index.md @@ -9,9 +9,11 @@ A minimal, responsive and light theme for Hugo inspired by Linux console. ## Installation - $ mkdir themes - $ cd themes - $ git submodule add https://github.com/mrmierzejewski/hugo-theme-console.git hugo-theme-console +``` +$ mkdir themes +$ cd themes +$ git submodule add https://github.com/mrmierzejewski/hugo-theme-console.git hugo-theme-console +``` See the [Hugo documentation](https://gohugo.io/themes/installing/) for more information. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 01b3f86..e4c5145 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -51,6 +51,7 @@ <div class="container animated zoomIn fast"> {{ block "main" . }} {{ end }} + {{ partial "footer.html" . }} </div> </body> </html> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..29b2d08 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,4 @@ +<div class="footer"> + Powered by <a hreef="https://gohugo.io/">Hugo</a> with + <a href="https://github.com/mrmierzejewski/hugo-theme-console/">Console Theme</a>. +</div>
\ No newline at end of file diff --git a/static/hugo-theme-console/css/console.css b/static/hugo-theme-console/css/console.css index ec3b66b..7cd89e3 100644 --- a/static/hugo-theme-console/css/console.css +++ b/static/hugo-theme-console/css/console.css @@ -135,6 +135,7 @@ strong { --global-line-height: 1.6em; --page-width: 70em; --display-h1-decoration: 1; + --code-bg-color: #fff; } .terminal-menu li { @@ -156,6 +157,11 @@ figure { margin-right: 60px; } +.footer { + margin-top: 150px; + padding-top: 10px;; + border-top: 1px solid var(--secondary-color); +} @media only screen and (max-width: 850px) { .site-name { @@ -194,6 +200,12 @@ figure { .post-list-date { display: none; } + + .footer { + margin-top: 50px; + padding-top: 5px;; + border-top: 1px solid var(--secondary-color); + } } @@ -220,4 +232,6 @@ figure { .gallery-image { margin-top: 10px; margin-bottom: 10px; -}
\ No newline at end of file +} + + |