]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Merge pull request #27 from traeblain/feature-burger
authorBastien Wirtz <bastien.wirtz@gmail.com>
Wed, 18 Mar 2020 05:17:07 +0000 (22:17 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 05:17:07 +0000 (22:17 -0700)
Added Hamburger Menu for small screens per Bulma spec.

README.md
app.js
config.yml

index edd7d7071454694b159fc3a9e425896fd88e80d2..11d4714d80c3ab36b038ca97268cf413024f1e27 100644 (file)
--- a/README.md
+++ b/README.md
@@ -45,6 +45,7 @@ message:
   content: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque risus mi, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum felis venenatis efficitur. Aenean ac eleifend lacus, in mollis lectus. Donec sodales, arcu et sollicitudin porttitor, tortor urna tempor ligula."
 
 # Optional navbar
+# links: [] # Allows for navbar (dark mode, layout, and search) without any links
 links:
   - name: "ansible"
     icon: "fa-github"
diff --git a/app.js b/app.js
index a2960690a88072846cde77e93179307251c5f0ee..6c8307436749b5a33e039aafefc5aaed994b6805 100644 (file)
--- a/app.js
+++ b/app.js
@@ -21,6 +21,7 @@ const app = new Vue({
         this.checkOffline();
         try {
             this.config =  await this.getConfig();
+            document.title = this.config.title + ' | Homer';
         } catch (error) {
             this.offline = true;
         }
index e8c4352b275520b41c37d8850da709a4fb0a7db8..1b97458fe0deeb4833df1b7d51215f91863f038b 100644 (file)
@@ -16,6 +16,7 @@ message:
   content: "This is a dummy homepage demo. Find more information on github.com/bastienwirtz/homer"
 
 # Optional navbar
+# links: [] # Allows for navbar (dark mode, layout, and search) without any links
 links:
   - name: "ansible"
     icon: "fab fa-github"