Replies: 1 comment 2 replies
-
Would you mind sharing your repo? That 'll make helping you way easier. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for making this fantastic theme!
I hope this is not too many questions at once, but I didn't want to spam the discussion with each of them...
I only have prior experience with building my own websites with HTML/CSS, and Hugo is fairly new to me. I have updated doks to the latest version from v0.2 to v0.3. I am using the child theme.
I have looked into (https://getdoks.org/ CSS for dotted lines and adding custom fonts? #104) but I have no idea where to put the .png file itself and what manages the main content of the website, as ./layouts/index.html only contains main page's sections and not the background itself.
Please see the following four mockups of what I have in mind (showing the inspect element tool as well):
https://imgur.com/a/MrQCv8W
Normally it would be something like
On the new version, I can't seem to order the list of menu items (even redone the pages from scratch), it seems to be ignoring the weight, and had the same issue as with collapse/expand as (Collapse and expand of items in sidebar do not work correctly. #596)
I circumvented both of issues with by numbering the categories and having them expanded them on default.
collapsibleSidebar = false
The identifiers themselves are matching.How can I add a small Discord icon to the Social Menu?
I don't mind if its a simple png icon (how do I do it that way, where to place the img?), but I guess it would be more elegant to use Font Awesome.
I have added
<script src="https://kit.fontawesome.com/21b8af5216.js" crossorigin="anonymous"></script>
to./layouts/partials/head/script-header.html
but addingdoesn't work for me. (Probably the form does not accept HTML)
Updated Content Security Policy with the recommended Laboratory extension, for some reason my embeded twitter feed still does not load. (Not that much of an issue, as I mostly wanted to have discord, youtube and vimeo to work.)
Followed A few small questions #64 but
<body class="{{ .Scratch.Get "class" }} dark">
still does load the page with light mode on default.
Thank you very much for your kind answer, and sorry if its too much to ask!
Beta Was this translation helpful? Give feedback.
All reactions