Configuration options to enable less content #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am very much enjoying using BSSG!
I have been looking at ways of simplifying the displayed content, to remove some of the elements that I would prefer not to be there.
I can do this via hand-editing the build scripts, but it would be amazing to do this via a configuration option, so that I do not have the patch the scripts with each update.
On the index page, I am trying to:
so that it is a cleaner list.
On each post, I am trying to:
I think that these are relatively straightforward, in the sense of being new configuration items, and corresponding if statements in the build scripts. I will see if I can make it work!
Interesting idea - if you want, I can have a look at it to make it permanent. If you can do it, I'll surely merge it
I suspect that you would make a better job of it than I could, but I am mindful that I have sent quite a lot of feedback and suggestions this week!
A broader consideration might be separating layout from the build script, so that one could edit / arrange the HTML as one wished, like a template, without needing to edit a build script. But that is probably a much bigger undertaking.
I am also enjoying using BSSG! And I too had a desire to change some of the displayed content. But I took a different approach:
I wanted to suppress the final menu item at the top of the page (“RSS”) but was okay with it appearing at the bottom.
A friend suggested I add this to my “my-styles.css” file:
And sure enough… “RSS” was gone from the top of my pages.
A different approach; one that adds zero code complexity. Perhaps some of these CSS tricks could be added to the docs to address these sorts of requests.
I have used CSS in the same way to hide DOM elements for now, but it is a workaround, not a solution, since the DOM still contains those elements, and thus the page size is higher than it needs to be.
But yes, as a temporary workaround, I did the same.