Skip to content

Instantly share code, notes, and snippets.

{% capture email_title %}Takk for din bestilling! {% endcapture %}
{% capture email_body %}Hei {{ customer.first_name }}, {% if attributes.Checkout-Method == "pickup" %}we're getting your order ready for collection.{% elsif attributes.Checkout-Method == "delivery" %}we're getting your order ready to be delivered. We will notify you when it has been sent.{% else %}we're getting your order ready to be shipped. We will notify you when it has been sent.{% endif %}{% endcapture %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ email_title }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="/assets/notifications/styles.css">
@olafghanizadeh
olafghanizadeh / _directories.md
Created January 18, 2019 16:52 — forked from ZackBoe/_directories.md
Generate netlify _redirects from Hugo data file for editing in Forestry.io
  • config.toml: /config.toml
  • index.redir: /layouts/index.redir
  • redirects-json.yml: .forestry/front_matter/templates/redirects-json.yml
  • redirects.json: /data/redirects.json