Comments (10)
Working on this
from zola.
Here are some example files - the first one, with zola's current version, produces links where the final bit of the URL is the placeholder (not the whole URL). The second markdown file produces the correct links.
numerik1_ss2021.md
analysis2_ss2024.md
I've checked this again, by deleting the public
directory and then doing a clean build with zola v0.19.1
.
from zola.
You had that line the markdown right? If so might be a regression in shortcodes in HTML due to the pulldown-cmark update.
from zola.
I am also having this issue. On a markdown page I have multiple a-hrefs and use a shortcode to link to static resources. They now, on most pages, show up as @@ZOLA_SC_PLACEHOLDER@@
. Weird is though that it's not on all pages - more recently updated ones (but with the same a-href and shortcode) don't seem to suffer this issue.
from zola.
Can you share an example md file that has the issue?
from zola.
For anyone using zola via homebrew: I found a nice guide that explains how to get an older version of a formula. I'm now back on v0.18.0
and that doesn't have the issue with the placeholder.
from zola.
Ok I can reproduce it with your files. For some reasons it's the
2021-07-26: **Das Ferientutorium zur Numerik I wird vom 20. September bis zum
24. September täglich von 10 bis 16 Uhr via [WebEx][15] stattfinden. Es wird
veranstaltet von Melinda Hagedorn, die freundlicherweise bereits <a href="{{ get_url(path = "static/numerik1_ss2021/zusatzuebungen.pdf") }}">Aufgaben
zum selbststudium</a> bereit gestellt hat, die im Laufe des Tutoriums dann
besprochen werden können. Eine Anmeldung ist nicht erforderlich.**
paragraph that causes issues. If i remove the HTML tag in there it does render the rest fine 🤔
from zola.
You had that line the markdown right? If so might be a regression in shortcodes in HTML due to the pulldown-cmark update.
IIRC I tracked this down to 13682e1 specifically at some point so yeah.
from zola.
If anyone is interested, since we have a repro above, we should be able to write tests and fix it somewhat easily. It could be a good first issue!
from zola.
Raised a fix: #2601
Edit: Better fix by @clarfonthey -> #2606
from zola.
Related Issues (20)
- Zola 0.19 and ViteJs don't go together well? HOT 15
- Two shortcode problems HOT 3
- Breaking changes documentation for v0.19 (generate_feeds, feed_filenames, path..) HOT 2
- How to iterate through the list of top-level sections HOT 4
- Guide to Deploy to Codeberg Pages
- Feature request: load_data for TSV and other non-comma-separated CSV HOT 2
- How create a frontmatter extra object HOT 1
- `linenos` syntax highlighting is a semantic mess HOT 11
- Variable `config.feed_filename` not found in context while rendering 'section.html' HOT 4
- Feature Request: TLA+ Syntax Highlighting Support
- Live reload not working on Windows HOT 3
- How to change html tags based on whether a variable exist in a page or not. HOT 5
- In Zola templates that extend another template, variables declared at top-level are silently ignored HOT 2
- Confusing error message when trying to import macros in any place other than the start of the template file
- Undocumented or Faulty: linking colocated assets on a slug page through template HOT 3
- Get unrendered page.content in templates HOT 1
- Zola panics if static directory does not exist (with compile_sass = false) HOT 1
- How do I include another markdown file in `docs` markdown file? HOT 2
- Footnotes are not permalinked HOT 1
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 zola.