Change website to url. Shorter, and more consistent

This commit is contained in:
Oliver Davies 2017-03-18 08:43:09 +00:00
parent d0d14c6970
commit e5897649f3
8 changed files with 42 additions and 42 deletions

View file

@ -1,5 +1,5 @@
{% if company.website %}
<a href="{{ company.website }}" class="experience__website">
{{ company.website }}
{% if company.url %}
<a href="{{ company.url }}" class="experience__website">
{{ company.url }}
</a>
{% endif %}

View file

@ -3,7 +3,7 @@
<ul>
{% for meetup in site.meetups %}
<li class="meetups--{{ meetup.name|lower|replace({ ' ': '-' }) }}">
<a href="{{ meetup.website }}" title="{{ meetup.name }}">
<a href="{{ meetup.url }}" title="{{ meetup.name }}">
<img src="{{ site.images_url }}/assets/images/meetups/{{ meetup.logo }}" alt="{{ meetup.name }}">
</a>
</li>

View file

@ -3,5 +3,5 @@
<img src="{{ site.gravatar.url }}?s=100" alt="Picture of Oliver" class="img-circle">
<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].website }}">{{ site.companies[site.work.company].name }}</a> and also provides freelance consultancy services for Drupal websites, PHP applications and Linux servers.</p>
<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 }}">{{ site.companies[site.work.company].name }}</a> and also provides freelance consultancy services for Drupal websites, PHP applications and Linux servers.</p>
</div>

View file

@ -10,8 +10,8 @@
{% set name = company.name %}
{% endif %}
{% if company.website %}
<a href="{{ company.website }}" title="{{ company.name }}">
{% if company.url %}
<a href="{{ company.url }}" title="{{ company.name }}">
{{ name|raw }}
</a>
{% else %}

View file

@ -31,9 +31,9 @@
{% endif %}
<td>
{% if event.website %}<a href="{{ event.website }}">{% endif %}
{% if event.url %}<a href="{{ event.url }}">{% endif %}
{{ event.title }}
{% if event.website %}</a>{% endif %}
{% if event.url %}</a>{% endif %}
{% if event.location %}
<small class="event-location">