fork of https://github.com/oxigraph/rocksdb and https://github.com/facebook/rocksdb for nextgraph and oxigraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
966 B
37 lines
966 B
{% if include.layout == "fourColumn" %}
|
|
{% assign layout = "fourByGridBlock" %}
|
|
{% else %}
|
|
{% assign layout = "twoByGridBlock" %}
|
|
{% endif %}
|
|
|
|
{% if include.imagealign == "side" %}
|
|
{% assign imagealign = "imageAlignSide" %}
|
|
{% else %}
|
|
{% if item.image %}
|
|
{% assign imagealign = "imageAlignTop" %}
|
|
{% else %}
|
|
{% assign imagealign = "" %}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if include.align == "right" %}
|
|
{% assign align = "alignRight" %}
|
|
{% elsif include.align == "center" %}
|
|
{% assign align = "alignCenter" %}
|
|
{% else %}
|
|
{% assign align = "alignLeft" %}
|
|
{% endif %}
|
|
|
|
<div class="blockElement {{ layout }} {{ imagealign }} {{ align }}">
|
|
{% if item.image %}
|
|
<div class="blockImage">
|
|
<img src="/static/{{ item.image }}" alt="{{ item.title }}" title="{{ item.title }}" />
|
|
</div>
|
|
{% endif %}
|
|
<div class="blockContent">
|
|
<h3>{{ item.title }}</h3>
|
|
{% if item.text %}
|
|
{{ item.text | markdownify }}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|