Content from config fragment inserted two times
See original GitHub issueIs this a BUG REPORT or FEATURE REQUEST?: bug (most likely)
What happened: The html blocks of a config fragment is inserted two times.
What you expected to happen: Only one insertion.
How to reproduce it (as minimally and precisely as possible): One example where it happened is the official documentation. Take a look at the html code of https://about.okkur.org/syna/fragments/config/ You’ll find the following code block:
<link rel='stylesheet' href='https://bootswatch.com/4/united/bootstrap.min.css'>
<script>
document.getElementsByTagName("body")[0].style.cursor = "url('http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur'), auto";
</script>
<link rel='stylesheet' href='https://bootswatch.com/4/united/bootstrap.min.css'>
<script>
document.getElementsByTagName("body")[0].style.cursor = "url('http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur'), auto";
</script>
Environment:
- Syna Theme version: v0.16.2, v0.17.0, master revision 045b938589a6
- Hugo version:
Hugo Static Site Generator v0.70.0/extended linux/amd64 BuildDate: unknown
from ArchLinux
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
android fragment created twice on orientation change
i have placed the logs as can be seen in the code above and here is the output when i start the app...
Read more >Communicating with fragments - Android Developers
The Fragment library provides two options for communication: a shared ViewModel and the Fragment Result API. The recommended option depends on ...
Read more >Creating and Using Fragments | CodePath Android Cliffnotes
Fragments are content controllers and contain most views, layouts, and event ... a FrameLayout ) to your activity where the fragment is inserted...
Read more >Content Fragment Models (Assets - Experience League - Adobe
Learn how Content Fragment Models serve as a foundation for your headless content in AEM and how to create Content Fragments with structured ......
Read more >Dynamic Layouts using the Fragment Manager –
It includes two fragments that can be renders only one at at time in portrait mode, ... of fragments are displayed, based on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This does indeed look like a bug. Also hey fellow Archer 😉
Thanks for reporting. Always happy for PRs as well 😉
Thanks for the offer. If I find a bug again where I think that I might can fix it, I’ll ask or create a PR.