tags style
This commit is contained in:
parent
7a4eca14a5
commit
f921d02fb0
@ -3,7 +3,7 @@
|
|||||||
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
|
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
|
||||||
<img src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
|
<img src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
|
||||||
<div>
|
<div>
|
||||||
<h2 class="text-2xl">{{page.title}}</h2>
|
<h2 class="text-2xl my-4">{{page.title}}</h2>
|
||||||
<div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis">
|
<div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis">
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
{{page.description}}
|
{{page.description}}
|
||||||
@ -14,8 +14,8 @@
|
|||||||
<div class="my-2 flex flex-row items-start flex-wrap">
|
<div class="my-2 flex flex-row items-start flex-wrap">
|
||||||
{% if page.taxonomies.memberships %}
|
{% if page.taxonomies.memberships %}
|
||||||
{% for tag in page.taxonomies.memberships %}
|
{% for tag in page.taxonomies.memberships %}
|
||||||
<a href="{{'/memberships/' ~ tag | replace(from='_', to='-' )}}" class="border-1 text-xs font-light bg-transparent hover:text-blue-700 py-1 px-2 mr-2 my-1 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full ">
|
<a href="{{'/memberships/' ~ tag | replace(from='_', to='-' )}}" class="border-1 text-md font-bold bg-transparent hover:text-blue-700 py-1 px-2 mr-2 my-1 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full ">
|
||||||
{{tag}}
|
#{{tag}}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -40,18 +40,18 @@
|
|||||||
</div>
|
</div>
|
||||||
{% if page.taxonomies.memberships %}
|
{% if page.taxonomies.memberships %}
|
||||||
{% for tag in page.taxonomies.memberships %}
|
{% for tag in page.taxonomies.memberships %}
|
||||||
<a href="{{'/memberships/' ~ tag | replace(from='_', to='-' )}}" class="border-1 font-light text-xs bg-transparent hover:text-blue-700 py-2 px-4 mr-2 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full ">
|
<a href="{{'/memberships/' ~ tag | replace(from='_', to='-' )}}" class="border-1 font-bold text-sm bg-transparent hover:text-blue-700 py-2 px-4 mr-2 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full ">
|
||||||
{{tag}}
|
#{{tag}}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="my-8">
|
<!-- <div class="my-8">
|
||||||
<hr/>
|
<hr/>
|
||||||
<br/>
|
<br/>
|
||||||
<hr/>
|
<hr/>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user