jackyzha0 / quartz

🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
https://quartz.jzhao.xyz
MIT License
7.18k stars 2.52k forks source link

Exclude references to files that are not exported #1396

Open uPagge opened 2 months ago

uPagge commented 2 months ago

I publish only a part of my files, and it happens that one note is published, but the files and links mentioned in it are not published, but the link is generated. Perhaps it is worth adding an option to the configuration, in which for such files the link will not be generated and it will be just text?

uPagge commented 2 months ago

Or maybe mark them with some css

uPagge commented 2 months ago

It seems this guy has it exactly like this

https://www.ssp.sh/brain/permanent-notes/

in the References section.

I think this solution will have a much better effect on SEO than leaving 404 links.