Update meetups

This commit is contained in:
Oliver Davies 2016-05-19 07:14:18 +01:00
parent f27ff92a43
commit e2b0316406
5 changed files with 13 additions and 22 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@
/vendor/
.sass-cache/
publish.sh
assets/images/*/*
!assets/images/*/originals

View file

@ -110,31 +110,19 @@ meetups:
drupalbristol:
name: Drupal Bristol
logo: drupal-bristol.jpeg
url: http://www.drupalbristol.org.uk
website: http://www.drupalbristol.org.uk
drupalcampbristol:
name: DrupalCamp Bristol
website: http://www.drupalcampbristol.co.uk
logo: drupalcamp-bristol.png
swdug:
name: SWDUG
logo: swdug.png
url: http://swdug.org.uk
nwdug:
name: NWDUG
logo: nwdug.jpg
url: http://www.nwdrupal.org.uk
website: http://swdug.org.uk
phpsw:
name: PHPSW
logo: phpsw.jpeg
url: http://phpsw.uk
phpnw:
name: PHPNW
logo: phpnw.jpg
url: http://phpnw.org.uk
# swlug:
# name: SWLUG
# logo: swlug.png
# url: http://swlug.org.uk
# accbristol:
# name: Accessible Bristol
# logo: accessible-bristol.png
# url: http://www.accessiblebristol.org.uk
website: http://phpsw.uk
skills:
compass: { title: Compass, image: compass.png }

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View file

@ -68,7 +68,8 @@ gulp.task('fonts', function () {
gulp.task('meetup-thumbnails', function () {
gulp.src(config.assetsDir + '/images/meetups/originals/*')
.pipe(plugins.imageResize({ height: 80 }))
.pipe(gulp.dest(config.assetsDir + '/images/meetups/thumbnails'));
.pipe(gulp.dest(config.outputDir + '/images/meetups/thumbnails'))
.pipe(gulp.dest('output_dev/assets/images/meetups/thumbnails'));
});
gulp.task('copy-images', function () {

View file

@ -1,9 +1,9 @@
<div class="meetups">
<h2>Meetups</h2>
<h2>Things that I organise</h2>
<ul>
{% for meetup in site.meetups %}
<li class="meetups--{{ meetup.name|lower|replace({ ' ': '-' }) }}">
<a href="{{ meetup.url }}" title="{{ meetup.name }}">
<a href="{{ meetup.website }}" title="{{ meetup.name }}">
<img src="{{ site.images_url }}/assets/images/meetups/thumbnails/{{ meetup.logo }}" alt="{{ meetup.name }}">
</a>
</li>