Sha256: ba8d33caf31165d314c323dc024b58c55d30620b5fea02f0015f0cc8fb80cb27
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 KB
Contents
--- layout: default --- <article id="editorial" class="col h-card" itemscope itemtype="https://schema.org/Organization"> <div class="media"> <img itemprop="logo" class="u-photo" src="{{ page.logo.path | thumbnail: 100 }}" alt="{{ page.logo.description }}" /> <div class="media-body"> <h1 class="p-name" itemprop="name">{{ page.title }}</h1> <p class="lead">{{ page.description }}</p> </div> </div> <div itemprop="location" itemscope itemtype="https://schema.org/PostalAddress"> {%- if page.address -%} <p class="p-street-address" itemprop="streetAddress">{{ page.address }}</p> {%- endif -%} {%- if page.locality -%} <p class="p-locality" itemprop="addressLocality">{{ page.locality }}</p> {%- endif -%} {%- if page.country -%} <p class="p-country-name" itemprop="addressCountry">{{ page.country }}</p> {%- endif -%} </div> <ul> {%- for social in page.social_networks -%} <li><a rel="me" href="{{ social }}"> {% comment %} Obtenemos la URL de la red social, eliminamos la www, obtenemos el tercer elemento separando por / y el primero separando por . https://www.twitter.com/SuttyWeb https://twitter.com/SuttyWeb twitter.com twitter Twitter {% endcomment %} {% assign s = social | remove: 'www.' | split: '/' %} {{ s[2] | split: '.' | first | capitalize }} </a></li> {%- endfor -%} </ul> <div class="e-content" itemprop="articleBody"> {{ page.content }} </div> </article>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
editorial-autogestiva-jekyll-theme-0.2.4 | _layouts/editorial.html |