-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
313 additions
and
652 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
{% assign is_external_guide = include.url | startswith: 'http' %} | ||
{% if is_external_guide %} | ||
{% assign guide_url = include.url %} | ||
{% assign guide_url = include.url %} | ||
{% elsif include.docversion == 'latest' %} | ||
{% assign guide_url = site.baseurl | append: include.url %} | ||
{% assign guide_url = site.baseurl | append: include.url %} | ||
{% else %} | ||
{% assign guide_url = site.baseurl | append: '/version/' | append: include.docversion | append: include.url %} | ||
{% assign guide_url = site.baseurl | append: '/version/' | append: include.docversion | append: include.url %} | ||
{% endif %} | ||
<div class="{% if include.origin == 'quarkiverse-hub' %}quarkiverse {% endif %}grid__item docs-card {{ include.class }}"> | ||
<qs-guide type="{{ include.type | escape }}" | ||
title="{{ include.title | escape }}" | ||
url="{{ guide_url }}" | ||
summary="{{ include.summary | markdownify }}" | ||
keywords="{{ include.keywords | escape }}" | ||
categories="{{ include.categories | escape }}" | ||
origin="{{ include.origin | escape }}" | ||
> | ||
<!-- WE KEEP PART OF THE CONTENT FOR SEO --> | ||
<h4><a href="{{ guide_url }}" {% if is_external_guide %}target="_blank" {% endif %}>{{ include.title }}</a></h4> | ||
<div class="description">{{ include.summary | markdownify }}</div> | ||
<div class="keywords">{{ include.keywords }}</div> | ||
<div class="categories">{{ include.categories }}</div> | ||
{% if include.origin == 'quarkiverse-hub' -%} | ||
<div class="origin">Quarkiverse Hub</div> | ||
{% endif -%} | ||
</div> | ||
</qs-guide> | ||
|
Oops, something went wrong.