Sha256: 392375477a6fdd1e68706706acaa5508ed2164ca00a2f2919f13e7502a7371a6

Contents?: true

Size: 1.28 KB

Versions: 9

Compression:

Stored size: 1.28 KB

Contents

{%- comment -%}

La ficha de post en el índice de artículos.

@param :href [String] El link
@param :title [String] El título
@param :authors [String] Les autorxs
@param :description [String] La descripción
@param :src [String] La imagen
@param :alt [String] La descripción de la imagen
@param :title_class [String] Las clases del título
@param :author_class [String] Las clases de autorx
@param :description_class [String] Las clases de descripción
{%- endcomment -%}
<div
	class="position-relative px-2">
	<a
		class="stretched-link black hover-black text-decoration-none"
		href="{{ include.href | uri_escape }}"
		{{ include.href | start_with: "https://" | value_if: 'rel="noopener" target="_blank"' }}
		{{ include.href | start_with: "http://" | value_if: 'rel="noopener" target="_blank"' }}>
		<span class="sr-only">{{ include.alt }}</span>
	</a>

	{% include embed_responsive.html src=include.src width=700 x="700" y="350" alt=include.alt embed_class="shadow" img_class="w-100 h-100 object-fit-cover" %}

	{% include headings/h1.html text=include.title class=include.title_class %}

	<p class="{{ include.author_class }}">
		{{ include.authors | map: "title" | array_to_sentence_string: site.i18n.and }}
	</p>

	<p class="{{ include.description_class }}">{{- include.description -}}</p>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
compost-jekyll-theme-0.3.8 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.7 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.6 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.5 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.4 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.3 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.2 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.1 _includes/cover_post/generic.html
compost-jekyll-theme-0.3.0 _includes/cover_post/generic.html