Comments (3)
Hold on, the docs never says that img_cdn
will be used for external link URLs.
The reason for this is simply because we can't predict what type of resource the external link will be, and if it's some internal page, then it's wrong to automatically add the image CDN to it.
For instance:
Input
[![cover](/path/to/cover.png)](/path/to/some-docs.html)
Output
<!-- Wrong, HTML pages don't need image CDN -->
<a href="{CDN}/path/to/some-docs.html">
<img src="{CDN}/path/to/cover.png" ... />
</a>
from jekyll-theme-chirpy.
Yes, that makes perfect sense, of course.
I was just so focused on getting my images up on a CDN network, and didn't think about the generic nature of clicking the image...
Thanks.
from jekyll-theme-chirpy.
Perhaps you could consider adding a CDN to the external links to achieve the desired effect.
[![The flower](/images/the-flower.jpg)]({CDN}/images/the-flower-high-res.jpg)
from jekyll-theme-chirpy.
Related Issues (20)
- default layout should pass lang=lang as parameter to search-loader.html HOT 1
- Github Pages deploy error HOT 2
- Liquid code being displayed in related-posts.html HOT 7
- Customize font-familiy with Chirpy Starter template? HOT 1
- Lack of Ρlear update flow to new version HOT 4
- Failed to customize font-familiy with Chirpy Starter HOT 2
- code block seems to not be compatible with omnivore parser
- Visual text glitches in the sidebar that disappear on hover HOT 3
- unknow specific language for codeblock will cause format error on chirpy 6.2.3 HOT 2
- Preview images on home page fail to render in 6.5.4 HOT 7
- Liquid syntax error
- Supports Matomo Analytics HOT 1
- Private Blog Posts HOT 3
- Add support for JSON-LD Structured Data
- Linkedin Share
- Custom Background Image and Side Bar Image HOT 3
- Support TOC to automatically move position HOT 1
- Support bibliography in yaml
- Support RTL language Posts HOT 1
- Jekyll serve fails on GNU/Llinux 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 jekyll-theme-chirpy.