Is there a shorthand Jekyll notation for a absolute HTML link where text is the same as the link? - jekyll

In Jekyll markdown, I'm trying to create an HTML link without duplicating the HTML link.
This is the currently documented approach to creating a link to another website.
[some text](https://example.com/some/link)
So in practice if I want to have the URL show up in my text I end up with:
[https://jekyllrb.com/docs/liquid/tags/#linking-to-posts](https://jekyllrb.com/docs/liquid/tags/#linking-to-posts)
This, to me, is undesirable because it makes a long URL twice as long and makes the original markup harder to follow.
My question is: Does Jeykll have a syntax that makes the text display the same as the URL?
Searching for solution
I found the following that were useful but did not answer my question
Jekyll docs - https://jekyllrb.com/docs/liquid/tags/#linking-to-posts
Post saying how external links can be made https://mademistakes.com/mastering-jekyll/how-to-link/#when-do-you-use-absolute-urls
Question about links within your Jekyll website.
jekyll markdown internal links

The HTML tag shorthand would be <https://jekyllrb.com/docs/liquid/tags/#linking-to-posts/>, see also this post.

Related

How can I use a file or text with footer-html? I'm using wkhtmltopdf

I'm using wkhtmltopdf to convert an html template into a pdf, and I want to use some html as a footer, but as far as I can tell I have to make the html a webpage, which means it would be visible to the public. So I have two questions:
Is there any way to use a string or a file with footer-html?
If not, is there any way to prevent the footer webpage from being visible to the public? I'm using flask to make my website.
Why do you not want anyone to see the footer tag?
A <footer> element typically contains:
authorship information
copyright information
contact information
sitemap
back to top links
related documents
Also, no one can see your html unless you publish it.
If this does not answer your question, consider to edit it with a more clear question.
If you really want to hide it you can go to the link below ^^
W3schools Example

Displaying Evernote Notes in Angular 2 - Sanitizing HTML stripped some content

Currently I have it set up so my Notes in evernote can be displayed on a website for content, but they don't show the way they should. I can't figure out how to get it to just display the way I try. Pictures don't show, links, videos, it all gets stripped out and says
WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss).
I understand to prevent xss attacks they've done this to me, but how to I stop it??
Currently I'm using this in the HTML template
<div [innerHTML]="note"></div>
where note is the string containing my ENML.
I'm just not sure where to start. I am hoping there's a quick easy way to just make it display the way it displays in Evernote itself.
Found the solution! I just did a pipe to mark the content as safe, like this guy did here:D

Create Tabs or Hide/Unhide Content in Jekyll?

Essentially what the question says - is there some way to achieve the equivalent of Angular's ng-if or just the html's visibility: hidden; and toggle it in Jekyll?
Please understand what Jekyll is: It is a static site generator that outputs static HTML on change (not on request, like PHP does). There is no such thing as hiding or unhiding things in Jekyll. All tabs should exists in the the HTML/DOM that Jekyll generates. Some of them can initially be hidden, but that is as far as Jekyll goes.
The actual switching between the visible elements should be done by javascript, as javascript can change the HTML/DOM after the request.
So, to answer your question: You can create/generate different tabs in Jekyll, but you should toggle them using javascript.
Does that answer your question?

How to add Microdata to Blogger posts?

How can I put Microdata into my Blogger post?
I am searching over the Internet for the past hour but I am not able to find anything.
When I use the Google Structured Data Marker, it gives me HTML but I don't know where to put that HTML.
I think you're trying Markup Helper.
Go to webmaster tools > Search Appearance > Data Highlighter, there you can add data and publish them.
Edit the template of your Blogger blog. There you could add your Microdata to the HTML.
Documentation at support.google.com: Edit the HTML of your blog's layout

Simple blog in CSS and HTML only

I have a simple html/css-only static website on which I would like to add a blog. Comments and RSS aren't necessary.
Now, how do I do that, without having to write all my entries in pure html?
My website consists of a vertical menu and an area to the right of it, where all the content goes on each page. I would like a blog inside that area on the blog page, so a blog on a separate page with its own layout is not what I'm looking for.
Googling this doesn't really help me much since the majority of the hits are on sites offering blog services.
Thanks in advance, I hope I'm not being too difficult. Please leave some feedback on my question if you think there are things I should have tried out before asking.
If i understand what you want the answer is that ist is not possible in pure html and css. With only Html and css you can not make a blog (if you dont want to edit the source everytime you write an entry and have to make a new file for each entry and so on).
You need some code (php or so) that is able to store and load the entrys into your site.
Html and css are not meant to make things working. With Html you define the elements so that they are structed and then with css you "style" your work. But for the task of a blog (i think you want an editor for the text on the site, the ability to edit, delete, more than one site and so on) you need something like php or aps.net that is able to "interact".