-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (77 loc) · 3.89 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
layout: default
title: "Home Page"
---
<!-- Begin product content -->
{% for product in site.products %}
<div class="bg-danger text-white mb-5">
<div class="container">
<h1 class="pb-5 pt-5">{{ site.title }}</h1>
<h2 class="lead">
A single product template. It could be an eBook, PDF, a Song, or any other file that you want to sell.
</h2>
<h3 class="lead">Support for eCommerce with Snipcart. Static Site Generation by Jekyll. Optional Hosting with Netlify and CMS by Forestry. </h3>
<p class="">All you need to get started is a GitHub account! </p>
<div class="pb-5">
<!-- <a class="" href="https://app.netlify.com/start/deploy?repository=https://github.com/whaleen/static-digital-sale"><img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify"></a> -->
<!-- forestry build url useless as it clones new repo to authorized user... damn -->
<a class="btn btn-black">Get Started</a>
<!-- <a href="https://app.forestry.io/quick-start?repo={{ site.data.netlify_build_env_vars.repo | replace: "https://github.com/", "" | replace: "git@github.com:", "" }}&engine=jekyll"><img alt="Import this project into Forestry" src="https://assets.forestry.io/import-to-forestryK.svg" /></a> -->
</div>
<!-- Test content -->
<!-- here it is filtered: {{ site.data.netlify_build_env_vars.repo | replace: "https://github.com/", "" | replace: "git@github.com:", "" }} -->
<br />
<!-- un filtered: {{ site.data.netlify_build_env_vars.repo }} -->
</div>
</div>
<!-- Main content area -->
<div class="container">
<div class="row">
<div class="col-sm">
<!-- Product image column -->
<img class="img-fluid" src="{{ product.featured_image }}" />
</div>
<div class="col-sm">
<!-- Product details column -->
<h1 class="mt-5">{{ product.title }}</h1>
<p class="">$ {{ product.price }}</p>
<p class="">{{ product.description }}</p>
<button class="snipcart-add-item btn btn-black text-white"
data-item-id="{{ product.title | slugify }}"
data-item-price="{{ product.price }}"
data-item-url="{{ site.url }}{{ product.url }}"
data-item-description="{{ product.description }}"
data-item-image="{{ site.url }}{{ product.featured_image }}"
data-item-name="{{ product.title }}"
data-item-file-guid=""
>
Add to cart
</button>
</div>
</div><!-- /.row -->
</div><!-- /.container -->
<div class="bg-light text-dark">
<div class="container py-4 mt-5 text-danger">
<h1 class="text-uppercase">Getting Started</h1>
<h2>Nerd Zone</h2>
<p>
Nerds may wish to just grab the repo and go from there.
</p>
<p>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/whaleen/static-digital-sale/fork" data-color-scheme="no-preference: dark; light: dark; dark: dark;" data-size="large" aria-label="Fork ntkme/github-buttons on GitHub">Fork</a>
<!-- <a class="github-button" href="https://github.com/whaleen/static-digital-sale/generate" data-color-scheme="no-preference: dark; light: dark; dark: dark;" data-size="large" aria-label="Use this template ntkme/github-buttons on GitHub">Use this template</a>
Snipcart account required. -->
</p>
<h2>n00b zone</h2>
<a href="https://app.forestry.io/quick-start?repo={{ site.data.netlify_build_env_vars.repo | replace: "https://github.com/", "" | replace: "git@github.com:", "" }}&engine=jekyll"><img alt="Import this project into Forestry" src="https://assets.forestry.io/import-to-forestryK.svg" /></a>
</div>
</div>
<footer class="footer bg-dark text-white">
<div class="container">
<span class="">{{ site.title }}</span>
</div>
</footer>
<a href="{{ product.url }}">
</a>
{% endfor %}