Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ GitHub Pages [does not support]((https://help.github.com/articles/adding-jekyll-
* Link the repository to [Netlify](https://www.netlify.com/). Netlify will then rebuild the theme every time a commit is pushed to the repo.
* Finish setting up the [s3-website](https://github.com/klaemo/s3-website) package that is already included in the theme. This would deploy the theme to AWS S3 when ```npm run deploy``` is run.

### Stackbit

This theme is ready to import into Stackbit. It can be deployed to Netlify and you can connect any headless CMS including Forestry, NetlifyCMS, DatoCMS, Sanity or Contentful.

[![Create with Stackbit](https://assets.stackbit.com/badge/create-with-stackbit.svg)](https://app.stackbit.com/create?theme=https://github.com/samesies/barber-jekyll)

### Source Code
The source code is broken down to make finding what you need as easy as possible. Almost everything runs through ````gulpfile.js````, so you will need to run ````npm install```` on your command line before doing any additional development. You can then run ````gulp```` or ````npm run gulp```` to compile everything.

Expand Down
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
email: okay@samesies.io
baseurl: ""
permalink: /:year/:month/:day/:title/
google_analytics:
google_analytics: ""

name: Thomas Vaeth
title: The Barber Theme
description: >
Barber is a blog theme for Jekyll built by Thomas Vaeth for Samesies using HTML, Sass, and JavaScript.
url: http://barber.samesies.io
twitter_username: thomasvaeth
default_img: /assets/images/seo.jpg
default_img: assets/images/seo.jpg
social:
- name: twitter
url: https://twitter.com/thomasvaeth
Expand All @@ -24,7 +24,7 @@ social:
url: https://codepen.io/thomasvaeth/

# Contact settings
contact_img: /assets/images/placeholder-28.jpg
contact_img: assets/images/placeholder-28.jpg
formcarry: https://formcarry.com/s/HkIo0nMb7

# Disqus settings
Expand Down
2 changes: 1 addition & 1 deletion _includes/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</div>
<div class="contact__container popup__container">
<div class="contact__img">
<figure class="absolute-bg" style="background-image: url({{ site.contact_img | prepend: site.baseurl }});"></figure>
<figure class="absolute-bg" style="background-image: url({{ site.contact_img | relative_url }});"></figure>
</div>
<div class="contact__content">
<div class="contact__mast section-padding--half">
Expand Down
2 changes: 1 addition & 1 deletion _includes/post-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a class="posts__link" href="{{ post.url | prepend: site.baseurl }}" itemprop="url">
{% if post.image %}
<figure class="posts__img">
<img src="{{ post.image }}" alt="{{ post.title }}" data-aos="fade-in" itemprop="image"/>
<img src="{{ post.image | relative_url }}" alt="{{ post.title }}" data-aos="fade-in" itemprop="image"/>
</figure>
{% endif %}
<div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>{{ page.title }}</h2>
{% if page.image %}
<div class="post__img">
<div>
<figure class="absolute-bg" style="background-image: url('{{ page.image }}');"></figure>
<figure class="absolute-bg" style="background-image: url('{{ page.image | relative_url }}');"></figure>
</div>
</div>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2 itemprop="name headline">{{ page.title }}</h2>
{% if page.image %}
<div class="post__img">
<div>
<figure class="absolute-bg" style="background-image: url('{{ page.image }}');"></figure>
<figure class="absolute-bg" style="background-image: url('{{ page.image | relative_url }}');"></figure>
</div>
</div>
{% endif %}
Expand Down Expand Up @@ -70,7 +70,7 @@ <h2 class="related__title">Related</h2>
<a class="related__link" href="{{ post.url | absolute_url }}">
{% if post.image %}
<figure class="related__img">
<img src="{{ post.image }}" alt="{{ post.title }}"/>
<img src="{{ post.image | relative_url }}" alt="{{ post.title }}"/>
</figure>
{% endif %}
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Brunch Swag"
date: 2017-10-08
description:
image: /assets/images/placeholder-15.jpg
description: ""
image: assets/images/placeholder-15.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Lumbersexual"
date: 2017-10-09
description:
image: /assets/images/placeholder-3.jpg
description: ""
image: assets/images/placeholder-3.jpg
author: Thomas Vaeth
tags:
- Mixtape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Disrupt Raw Denim"
date: 2017-10-10
description:
image: /assets/images/placeholder-14.jpg
description: ""
image: assets/images/placeholder-14.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Unicorn Echo Park"
date: 2017-10-11
description:
image: /assets/images/placeholder-10.jpg
description: ""
image: assets/images/placeholder-10.jpg
author: Thomas Vaeth
tags:
- Mixtape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Butcher Vaporware Keytar"
date: 2017-10-12
description:
image: /assets/images/placeholder-13.jpg
description: ""
image: assets/images/placeholder-13.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Single-origin Coffee"
date: 2017-10-13
description:
image: /assets/images/placeholder-21.jpg
description: ""
image: assets/images/placeholder-21.jpg
author: Thomas Vaeth
tags:
- Mixtape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Snackwave"
date: 2017-10-14
description:
image: /assets/images/placeholder-11.jpg
description: ""
image: assets/images/placeholder-11.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Craft Beer Listicle"
date: 2017-10-15
description:
image: /assets/images/placeholder-16.jpg
description: ""
image: assets/images/placeholder-16.jpg
author: Thomas Vaeth
tags:
- Mixtape
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Beard"
date: 2017-10-16
description:
image: /assets/images/placeholder-7.jpg
description: ""
image: assets/images/placeholder-7.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Taxidermy Dreamcatcher Readymade"
date: 2017-10-17
description:
image: /assets/images/placeholder-6.jpg
description: ""
image: assets/images/placeholder-6.jpg
author: Thomas Vaeth
tags:
- Dummy Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Blue Bottle"
date: 2017-10-18
description:
image: /assets/images/placeholder-5.jpg
description: ""
image: assets/images/placeholder-5.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Waistcoat Tote Bag Pickled"
date: 2017-10-19
description:
image: /assets/images/placeholder-4.jpg
description: ""
image: assets/images/placeholder-4.jpg
author: Thomas Vaeth
tags:
- Dummy Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Roof Party"
date: 2017-10-20
description:
image: /assets/images/placeholder-1.jpg
description: ""
image: assets/images/placeholder-1.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Flannel Distillery Asymmetrical"
date: 2017-10-21
description:
image: /assets/images/placeholder-12.jpg
description: ""
image: assets/images/placeholder-12.jpg
author: Thomas Vaeth
tags:
- Dummy Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Coloring Book"
date: 2017-10-22
description:
image: /assets/images/placeholder-8.jpg
description: ""
image: assets/images/placeholder-8.jpg
author: Thomas Vaeth
tags:
- Squid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
layout: post
title: "Polaroid Williamsburg"
date: 2017-10-23
description:
image: /assets/images/placeholder-9.jpg
description: ""
image: assets/images/placeholder-9.jpg
author: Thomas Vaeth
tags:
- Dummy Text
Expand Down
Loading