forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ccbb4e
commit ccb165e
Showing
16 changed files
with
297 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,69 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
|
||
<title>{{ site.title }} - {{ site.subtitle }}</title> | ||
|
||
<meta http-equip="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<meta name="description" content="{{ site.description }}"> | ||
|
||
|
||
<link rel="stylesheet" href="{{site.url}}/assets/css/main.css" /> | ||
<link rel="stylesheet" href="{{site.url}}/assets/css/custom-style.css" /> | ||
|
||
<link rel="icon" href="/assets/img/favicon.ico" type="image/gif" sizes="16x16"> | ||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" | ||
crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" | ||
<link rel="icon" href="{{site.url}}/assets/img/favicon.ico" type="image/gif" sizes="16x16"> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" | ||
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" | ||
crossorigin="anonymous"></script> | ||
<script async defer src="https://buttons.github.io/buttons.js"></script> | ||
<link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" | ||
crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" | ||
crossorigin="anonymous"> | ||
|
||
<!-- Including InstantSearch.js library and styling --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script> | ||
<link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.css"> | ||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch-theme-algolia.min.css"> | ||
|
||
|
||
<script> | ||
(function(d, h, m){ | ||
var js, fjs = d.getElementsByTagName(h)[0]; | ||
if (d.getElementById(m)){return;} | ||
js = d.createElement(h); js.id = m; | ||
js.onload = function(){ | ||
window.makerWidgetComInit({ | ||
position: "right", | ||
widget: "ofeeof264otl2l5g-zspk40eq2gaomj2n-higi2qphmveubksi" | ||
})}; | ||
js.src = "https://makerwidget.com/js/embed.js"; | ||
fjs.parentNode.insertBefore(js, fjs) | ||
}(document, "script", "dhm")) | ||
<script async defer src="https://buttons.github.io/buttons.js"></script> | ||
<link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" | ||
integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" | ||
integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous"> | ||
<!-- Including Snipcart --> | ||
<link rel="stylesheet" href="https://cdn.snipcart.com/themes/v3.0.0-beta.3/default/snipcart.css" /> | ||
<!-- Including InstantSearch.js library and styling --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script> | ||
<link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" type="text/css" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.min.css"> | ||
<link rel="stylesheet" type="text/css" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch-theme-algolia.min.css"> | ||
<script> | ||
(function (d, h, m) { | ||
var js, fjs = d.getElementsByTagName(h)[0]; | ||
if (d.getElementById(m)) { return; } | ||
js = d.createElement(h); js.id = m; | ||
js.onload = function () { | ||
window.makerWidgetComInit({ | ||
position: "right", | ||
widget: "ofeeof264otl2l5g-zspk40eq2gaomj2n-higi2qphmveubksi" | ||
}) | ||
}; | ||
js.src = "https://makerwidget.com/js/embed.js"; | ||
fjs.parentNode.insertBefore(js, fjs) | ||
}(document, "script", "dhm")) | ||
</script> | ||
|
||
{% if jekyll.environment == "production" %} | ||
{% if jekyll.environment == "production" %} | ||
|
||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
<script> | ||
(function (i, s, o, g, r, a, m) { | ||
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { | ||
(i[r].q = i[r].q || []).push(arguments) | ||
}, i[r].l = 1 * new Date(); a = s.createElement(o), | ||
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) | ||
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); | ||
|
||
ga('create', '{{ site.google_analytics }}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> | ||
{% endif %} | ||
ga('create', '{{ site.google_analytics }}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> | ||
{% endif %} | ||
|
||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | ||
<script> | ||
(adsbygoogle = window.adsbygoogle || []).push({ | ||
google_ad_client: "ca-pub-7259836434848202", | ||
enable_page_level_ads: true | ||
}); | ||
</script> | ||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | ||
<script> | ||
(adsbygoogle = window.adsbygoogle || []).push({ | ||
google_ad_client: "ca-pub-7259836434848202", | ||
enable_page_level_ads: true | ||
}); | ||
</script> | ||
|
||
</head> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="blog-post card product"> | ||
<img src="{{ product.image }}" alt="{{ product.name }} product image" class="product__image card-img-top"> | ||
<div class="product__information"> | ||
<h2 class="product__title">{{ product.name }}</h2> | ||
<p class="product__description">{{ product.content | remove: '<p>' | remove: '</p>' }}</p> | ||
{% include product_definition.html %} | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<button | ||
class="buy-button snipcart-add-item btn-success" | ||
data-item-id="{{ product.identifier }}" | ||
data-item-name="{{ product.name }}" | ||
data-item-price="{{ product.price }}" | ||
data-item-image="{{ product.image }}" | ||
data-item-url="https://devlopr.netlify.com{{ page.url }}" | ||
data-item-description="{{ product.content | remove: '<p>' | remove: '</p>' }}"> | ||
Add to cart (${{ product.price }}) | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class="row"> | ||
<div class="products-container col-lg-8"> | ||
{% for product in site.products %} | ||
{% include product.html %} | ||
{% endfor %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
identifier: john-doe-tshrirt | ||
name: John Doe Tshirt | ||
price: 50 | ||
image: /assets/img/products/product1.jpg | ||
--- | ||
|
||
This is a high-quality replica of The Starry Night by the Dutch post-impressionist painter Vincent van Gogh. Using brand new techniques such as magneto-reluctance and capacitive reactance, we were able to reproduce the original colours with a 99.99% accuracy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
identifier: jekyll-starry-night-2 | ||
name: John Doe Mug | ||
price: 10 | ||
image: /assets/img/products/product2.jpg | ||
--- | ||
|
||
This is a high-quality replica of The Starry Night by the Dutch post-impressionist painter Vincent van Gogh. Using brand new techniques such as magneto-reluctance and capacitive reactance, we were able to reproduce the original colours with a 99.99% accuracy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
identifier: jekyll-starry-night-3 | ||
name: John Doe Mug | ||
price: 10 | ||
image: /assets/img/products/product3.jpg | ||
--- | ||
|
||
This is a high-quality replica of The Starry Night by the Dutch post-impressionist painter Vincent van Gogh. Using brand new techniques such as magneto-reluctance and capacitive reactance, we were able to reproduce the original colours with a 99.99% accuracy. |
Oops, something went wrong.