Comments (11)
Thank you! Also a huge thanks for creating this theme. It is by far the best looking theme for Hugo out there
from hextra.
Now that I think about it: It might be better UX if the folder name only toggles the list and is not a link to a site itself, as this can be unexpected and makes it harder to find the data you are looking for (or clicking on it just list the subpages)
Edit: I had an even better idea:
By default, if no _index.md
is set, it simply shows the links to the subpages.
But, one also add an _index.md
with a token like {{ subpages > }}
, to allow for adding more information about the category itself :)
from hextra.
Currently when a folder has no _index.md and you click on its name in the sidebar, you get redirected to a blank article page.
Hi, can you provide more details on how to reproduce this?
from hextra.
This is weird. I cloned the Hextra template, removed the _index.md
from folder
and it works as expected.
Whereas with the files from https://github.com/visual-dawg/hyprland-wiki it creates odd behaviour. Not sure why though.
I will clone its contents into the starter repo and see if maybe my setup was simply wrong
from hextra.
I created a reproducible repo using the start template here: https://github.com/Visual-Dawg/hextra-bug-report/tree/main
Edit: Here are the files using the Geekdocs theem: https://wiki.hyprland.org/
from hextra.
thanks, will look into it 👍
from hextra.
Hello
I am also interested in this. I tried to create a custom view by adding a list.html to the layouts/blog folder and copied the content from the hextra\layouts\blog\list.html file. However, this causes the page to render incorrectly. all the content is displayed one another. Instead of "sidebar | content | toc", it shows
"Sidebar
toc
content"
from hextra.
I tried to create a custom view by adding a list.html to the layouts/blog folder and copied the content from the hextra\layouts\blog\list.html file. However, this causes the page to render incorrectly. all the content is displayed one another. Instead of "sidebar | content | toc", it shows
"Sidebar
toc
content"
regarding this, can you open a separate discussion?
from hextra.
Thank you for your great looking template. Looking forward to this update to show folder content automatically.
from hextra.
I created a reproducible repo using the start template here: https://github.com/Visual-Dawg/hextra-bug-report/tree/main
This should be fixed by #325
but I guess you've added _index.md
to every sub-directories already :)
from hextra.
Nice, thank you! Yes, we did, but good to know for the future :D
from hextra.
Related Issues (20)
- Links don't work within Callout Shortcodes HOT 1
- Default Click-To-Zoom / Image-Zoom capability HOT 2
- CSS syntax error HOT 1
- The steps shortcode is not working HOT 5
- backslash in KaTeX is wrong HOT 3
- Pagination for blog listing page
- footnotes within callout shortcodes do not render correctly HOT 3
- Search bar in left sidebar menu (at top) HOT 1
- Show table of contents at top of content when there isn't enough width HOT 1
- Show "summary" and "last modified" under the title at the top of the page HOT 2
- Nested steps breaks the counter HOT 2
- Expanding the browser window keeps the footer hidden HOT 2
- Implement hextra/hero-container with optional front-page logo HOT 1
- Implement hextra/hero-section, defining a h2 heading on front-page HOT 9
- Make / page in docs mode visible in Menu HOT 1
- Make selected entry in sidebar always visible HOT 1
- Add Feature: Stats Overview Display HOT 2
- Usage of additional module breaks certain Hextra features HOT 5
- Images show in local, but not when deployed to GH pages HOT 3
- Html 5 validator issues on template HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hextra.