Comments (9)
Generating a sitemap would be a pretty simple addition. The menu could also be added to each static page when it's saved, then replaced with JavaScript when the page is loaded. Adding a sitemap may be enough, not too sure.
from dodgercms.
Is there any actual need for the dynamic menu? What are the benefits of having a dynamic menu on the published site?
from dodgercms.
Let's say you delete an entry. If you go to a different entry in your system on the front end, the menu would still show the one you deleted. If the menu were static, every page would need to be regenerated each time the uri structure of any entry were edited or deleted.
from dodgercms.
Ok. So you don't have to regenerate the entire site structure because of this. Interesting.
from dodgercms.
... and what about the breadcrumbs, is there a good reason to keep them dynamic as well?
from dodgercms.
It's the same reasoning. For example, let's say this is your URL
structure.
root
│ index
└───folder1 (Docs)
│ install
│ help
Docs is the label for folder1
. The breadcrumbs for the pages /folder1/install
and /folder1/help
would be Home >> Docs >> Install
and Home >> Docs >> Help
.
If I change the label for folder1
to Documentation, the breadcrumbs would be incorrectly shown, unless I recompiled each static page in that folder with the new information.
This is the reason it's dynamic - to prevent each page from having to be regenerated each time entries/folders are edited, added and removed.
from dodgercms.
Ok. So let's give users a choice of incorporating a static version of the breadcrumbs and menu that is then removed and replaced with a dynamic version. Which obviously will be outdated, but will allow the site to get indexed by bots that don't parse dynamic content. And I guess also add a sitemap.
from dodgercms.
A static version would be a good. I've been thinking of adding a button in the backend that goes through each entry and updates its html and pushes it up to s3.
from dodgercms.
That would probably be ideal. To have a way to regenerate all the pages that is not mandatory. The only concern would be the amount of time it takes to perform the operation. Any concerns with timeouts, etc.
from dodgercms.
Related Issues (9)
- Getting Access Denied. Please make sure the user attached to the access key has access to assets.project.com HOT 5
- How to create multiple layouts? HOT 1
- getting entry is not a function.
- Navigation render not working
- Does somebody still use it?
- Folder links
- Missing menu and breadcrumbs
- Getting access denied on data.site.com HOT 6
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 dodgercms.