Comments (5)
Hello @tenpast
Try <a href="https://examplesite.com" target="_blank">link</a>
this
from vex-hugo.
Hi @somratpro
Thank you for your response.
How do I escape the quotation marks (")? Otherwise when the .yml file is parsed by Hugo it will interpret the quotation mark as part of the yaml structure and mess up the file:
content : " Some content <a href="https://examplesite.com" target="_blank">link</a> more content"
from vex-hugo.
you can use single 'quote'
from vex-hugo.
Yes, that worked, I used a single quote for the yaml content delimiter.
Thank you :)
from vex-hugo.
I'm adding this as a follow-up in case this question ever comes up again. Escaping single quotes has the disadvantage that any use of single quotes then becomes a problem (example, apostrophes). The way to make the above work with double quotes is to escape the double quotes with a back-slash (like so: \"
). Then the content section looks something like this:
content : " Some content <a href=\"https://examplesite.com\" target=\"_blank\">link</a> more content"
from vex-hugo.
Related Issues (20)
- Vex-hugo generates two analytics.js in source HOT 1
- Product Slider isn't displaying when language direction is RTL HOT 2
- Switching language and clicking on menu item jumps back to English HOT 2
- "Order couldn’t be processed" message by snipcart in test mode HOT 1
- "Domain crawling error" message by snipcart HOT 1
- Page Not Found when I click on suscribe button HOT 1
- How to set Fr langage by default ? HOT 1
- Borken URL on Home button when I am in french HOT 4
- Contact information logo is present even if the value is empty HOT 1
- Multilingual only applies to post content? HOT 3
- The structure of the web site URL don't respects the Snipcart prerequisite HOT 3
- Improve the Google PageSpeed Insights score HOT 3
- Error sitemap.xml with the Google Search Console HOT 1
- vex-hugo don't generate a robot.txt file HOT 1
- Installation is very confusing HOT 1
- How can I disable the snipcart globally? HOT 1
- How do I customize the payment gateway part in Vex? HOT 4
- App Store Buttons HOT 2
- hi
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 vex-hugo.