Skip to content

Instantly share code, notes, and snippets.

View dtKinger's full-sized avatar

Dan King dtKinger

View GitHub Profile
{% raw %}{{ 5 | plus: 6 }}{% endraw %} is equal to {{ 5 | plus: 6 }}
{% raw %}{{ 5 | plus: 6 }}{% endraw %} is equal to 11.
<!-- Put the Hex code for the header font colour here -->
{% assign header_font_color = '#FFFFFF' %}
<!-- Put the Hex code for the header background colour here -->
{% assign header_bg_color = '#479ccf' %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no">
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
bundle exec jekyll build --config=_config.staging.yml --full-rebuild
Configuration file: _config.staging.yml
Configuration file: /home/vagrant/src/documentation/_config.yml
Source: ./_local
Destination: ./_site
Incremental build: disabled
Generating...
Liquid Exception: Couldn't find file 'modernizr-2.5.1.min.js' in _layouts/default.html
@dtKinger
dtKinger / shopify-product-description-tabs.liquid
Created July 13, 2020 17:05 — forked from projoomexperts/shopify-product-description-tabs.liquid
Very simple code to show tabs in your shopify product description. All you need is to replace {{ product.description }} with the code below. It will separate every <h3> tag and contents after it into a tab. feel free to contact me if you want it implemented on your website for a small one time fee. `projoomexperts@gmail.com` "Shopify product des…
{% assign description = product.description | replace: '<h3', '</div><div class="tab-content"><h3' %}
<div class="prod_description">
<div class="spacer">
{{ description }}
</div>
</div>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>