move donate to footer and remove projects from navbar

This commit is contained in:
night0721 2023-11-11 00:56:48 +00:00
parent 6ce762fc24
commit 79061ef0bd
2 changed files with 16 additions and 18 deletions

View file

@ -10,30 +10,20 @@ title = "Oscar Fu"
url = "/about" url = "/about"
weight = 10 weight = 10
[[menu.main]]
name = "Projects"
url = "/#projects"
weight = 20
[[menu.main]] [[menu.main]]
name = "Posts" name = "Posts"
url = "/posts" url = "/posts"
weight = 30 weight = 20
[[menu.main]] [[menu.main]]
name = "Contact" name = "Contact"
url = "/contact" url = "/contact"
weight = 40 weight = 30
[[menu.main]] [[menu.main]]
name = "Links" name = "Links"
url = "/links" url = "/links"
weight = 50 weight = 40
[[menu.main]]
name = "Donate"
url = "https://ko-fi.com/cathteam"
weight = 60
[[menu.social]] [[menu.social]]
name = "Discord" name = "Discord"
@ -62,7 +52,10 @@ title = "Oscar Fu"
[markup] [markup]
[markup.goldmark.parser] [markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false wrapStandAloneImageWithinParagraph = false
[markup.highlight] [markup.highlight]
style = 'catppuccin-macchiato' style = 'catppuccin-macchiato'
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

View file

@ -1,6 +1,11 @@
</main> </main>
<footer class="footer"> <footer class="footer">
<span class="footer-text">Licensed under GNU GPL v3. View the source code in <a href="https://github.com/night0721/night0721.github.io" rel="noopener noreferrer">Github</a></span> <span class="footer-text">Licensed under GNU GPL v3. View the source code in <a href="https://github.com/night0721/night0721.github.io" rel="noopener noreferrer">Github</a>.</span>
<br>
<br>
<span class="footer-text">
Built with Hugo. Support me by <a href="https://ko-fi.com/cathteam" rel="noopener noreferrer">donating</a>.
</span>
{{ partial "logos.html" . }} {{ partial "logos.html" . }}
</footer> </footer>
</body> </body>