mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 21:16:45 +00:00
fix links
This commit is contained in:
parent
b046190388
commit
5e1a7efe04
@ -14,7 +14,7 @@
|
|||||||
{% include publisher_ref.html pub=plugin.publisher %}
|
{% include publisher_ref.html pub=plugin.publisher %}
|
||||||
</div>
|
</div>
|
||||||
<p class="mb-auto">{{ plugin.excerpt | mardownify | remove: '<p>' | remove: '</p>' }}</p>
|
<p class="mb-auto">{{ plugin.excerpt | mardownify | remove: '<p>' | remove: '</p>' }}</p>
|
||||||
<a href="{{ plugin.url }}" class="stretched-link" aria-label="open plugin details"></a>
|
<a href="{{ plugin.url | relative_url }}" class="stretched-link" aria-label="open plugin details"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
{% assign publisher_ref = site.publishers | where: 'short_name', include.pub | first %}
|
{% assign publisher_ref = site.publishers | where: 'short_name', include.pub | first %}
|
||||||
<a href="{{ publisher_ref.url }}" class="link-secondary">
|
<a href="{{ publisher_ref.url | relative_url }}" class="link-secondary">
|
||||||
<p class="text-muted">by <img src="https://github.com/{{ include.pub }}.png?size=40" alt="mdo" class="rounded-circle" width="20" height="20"> {{ include.pub }}</p>
|
<p class="text-muted">by <img src="https://github.com/{{ include.pub }}.png?size=40" alt="mdo" class="rounded-circle" width="20" height="20"> {{ include.pub }}</p>
|
||||||
</a>
|
</a>
|
@ -21,7 +21,7 @@ layout: default
|
|||||||
{{ page.date | date_to_string }}
|
{{ page.date | date_to_string }}
|
||||||
{% assign publisher = site.publishers | where: 'short_name', page.publisher | first %}
|
{% assign publisher = site.publishers | where: 'short_name', page.publisher | first %}
|
||||||
{% if publisher %}
|
{% if publisher %}
|
||||||
- <a href="{{ publisher.url }}">{{ publisher.name }}</a>
|
- <a href="{{ publisher.url | relative_url }}">{{ publisher.name }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
@ -7,7 +7,7 @@ title: Blog
|
|||||||
<ul>
|
<ul>
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<li>
|
<li>
|
||||||
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
|
||||||
<p>{{ post.excerpt }}</p>
|
<p>{{ post.excerpt }}</p>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -9,7 +9,7 @@ title: Plugins
|
|||||||
<div class="px-0">
|
<div class="px-0">
|
||||||
<h1 class="display-4 fst-italic">{{post.title}}</h1>
|
<h1 class="display-4 fst-italic">{{post.title}}</h1>
|
||||||
<p class="lead my-3">{{post.excerpt}}</p>
|
<p class="lead my-3">{{post.excerpt}}</p>
|
||||||
<p class="lead mb-0"><a href="{{post.url}}" class="text-white fw-bold">Continue reading...</a></p>
|
<p class="lead mb-0"><a href="{{ post.url | relative_url }}" class="text-white fw-bold">Continue reading...</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -7,7 +7,7 @@ title: Publishers
|
|||||||
<ul>
|
<ul>
|
||||||
{% for publisher in site.publishers %}
|
{% for publisher in site.publishers %}
|
||||||
<li>
|
<li>
|
||||||
<h2><a href="{{ publisher.url }}">{{ publisher.name }}</a></h2>
|
<h2><a href="{{ publisher.url | relative_url }}">{{ publisher.name }}</a></h2>
|
||||||
<h3>{{ publisher.position }}</h3>
|
<h3>{{ publisher.position }}</h3>
|
||||||
<p>{{ publisher.content | mardownify }}</p>
|
<p>{{ publisher.content | mardownify }}</p>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user