Fix newlines within tags

This commit is contained in:
Oliver Davies 2017-11-28 18:54:04 +00:00
parent ba0382785d
commit 9bb6d13d25
5 changed files with 8 additions and 25 deletions

View file

@ -1,11 +1,6 @@
<div class="text-center">
<a href="https://assoc.drupal.org/membership"
title="Im a Drupal Association member."
class="block mb-4">
<img src="{{ site.images_url }}/assets/images/badges/da-individual-member.png"
alt="Drupal Association Individual Member"
width="200"
/>
<a href="https://assoc.drupal.org/membership" title="Im a Drupal Association member." class="block mb-4">
<img src="{{ site.images_url }}/assets/images/badges/da-individual-member.png" alt="Drupal Association Individual Member" width="200" />
</a>
<div class="mb-4 flex">
@ -14,8 +9,7 @@
{ image: 'acquia-d8-back-end.png', alt: 'Acquia Certified Back End Specialist - Drupal 8 Exam Badge' },
] %}
<div>
<img src="{{ site.images_url }}/assets/images/badges/{{ badge.image }}"
alt="{{ badge.alt }}" />
<img src="{{ site.images_url }}/assets/images/badges/{{ badge.image }}" alt="{{ badge.alt }}" />
</div>
{% endfor %}
</div>

View file

@ -4,13 +4,8 @@
<ul class="list-reset flex">
{% for meetup in site.meetups %}
<li>
<a href="{{ meetup.url }}"
title="{{ meetup.name }}"
class="dib mr-4">
<img src="{{ site.images_url }}/assets/images/meetups/{{ meetup.logo }}"
alt="{{ meetup.name }} logo"
class="h-16">
<a href="{{ meetup.url }}" title="{{ meetup.name }}" class="dib mr-4">
<img src="{{ site.images_url }}/assets/images/meetups/{{ meetup.logo }}" alt="{{ meetup.name }} logo" class="h-16">
</a>
</li>
{% endfor %}

View file

@ -8,8 +8,7 @@
<nav class="w-3/4 text-right">
{% for link in site.nav_links %}
<a href="{{ link.href }}"
class="inline-block pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
<a href="{{ link.href }}" class="inline-block pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
{{- link.title -}}
</a>
{% endfor %}

View file

@ -1,9 +1,7 @@
<div class="clearfix mt-4">
<h2>About the Author</h2>
<img src="{{ site.images_url }}{{ site.avatar.url }}"
alt="Picture of Oliver"
class="w-1/6 mr-4 float-left rounded-full">
<img src="{{ site.images_url }}{{ site.avatar.url }}" alt="Picture of Oliver" class="w-1/6 mr-4 float-left rounded-full">
<p>Oliver Davies is a Web Developer, System Administrator and Drupal specialist based in the UK. He is a {{ site.work.role }} at <a href="{{ site.companies[site.work.company].url }}?utm_source={{ site.short_url }}&utm_medium=about-author">{{ site.companies[site.work.company].name }}</a> and also provides freelance consultancy services for Drupal, Symfony and Laravel applications and Linux servers.</p>
</div>

View file

@ -1,6 +1,3 @@
{% if page.image -%}
<img
src="/assets/images/projects/{{ page.image.name ?: page.image }}"
alt="{{ page.image.alt }}"
class="img mw5-m">
<img src="/assets/images/projects/{{ page.image.name ?: page.image }}" alt="{{ page.image.alt }}" class="img mw5-m">
{%- endif %}