mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
---
|
|
layout: content
|
|
notitle: true
|
|
---
|
|
<h1>
|
|
<div class="flex">
|
|
{% if page.github %}
|
|
<img src="https://github.com/{{ page.github }}.png?size=40" alt="mdo" class="rounded-full" width="40" height="40" style="margin:0px">
|
|
{% endif %}
|
|
{{ page.name }}
|
|
</div>
|
|
</h1>
|
|
|
|
<div>
|
|
{% if page.github %}
|
|
<a href="https://github.com/{{page.github}}"><span class="badge bg-secondary">GitHub</span></a>
|
|
{% endif %}
|
|
|
|
{% if page.website %}
|
|
<a href="{{page.website}}"><span class="badge bg-secondary">Official Website</span></a>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<blockquote class="blockquote">
|
|
{{ content }}
|
|
</blockquote>
|
|
|
|
{% assign filtered_posts = site.posts | where: 'publisher', page.short_name %}
|
|
{% if filtered_posts and filtered_posts.size != 0 %}
|
|
<h3>Posts</h3>
|
|
<ul class="list-unstyled">
|
|
{% for post in filtered_posts %}
|
|
<li>{{ post.date | date_to_string }} <a href="{{ post.url | relative_url }}" class="lead">{{ post.title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{% assign filtered_plugins = site.repo | where: 'publisher', page.short_name %}
|
|
{% if filtered_plugins and filtered_plugins.size != 0 %}
|
|
<h3>Plugins</h3>
|
|
<ul class="list-unstyled">
|
|
{% for plugin in filtered_plugins %}
|
|
<li>
|
|
<a href="{{ plugin.url | relative_url }}">
|
|
{{ plugin.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %} |