jekyll-theme-artsy 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/Scroll_to_Top.html +83 -0
- data/_includes/contact.html +10 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/donate.html +6 -0
- data/_includes/footer.html +91 -0
- data/_includes/head.html +71 -0
- data/_includes/header.html +14 -0
- data/_includes/nav.html +61 -0
- data/_includes/newsletter.html +43 -0
- data/_includes/paypal/booknow.html +1 -0
- data/_includes/paypal/buynow.html +6 -0
- data/_includes/search.html +23 -0
- data/_includes/services-offering.html +11 -0
- data/_includes/services-one.html +9 -0
- data/_includes/services-testimonials.html +8 -0
- data/_includes/services-three.html +11 -0
- data/_includes/services-two.html +14 -0
- data/_includes/share.html +39 -0
- data/_includes/signoff.html +5 -0
- data/_includes/slider.html +32 -0
- data/_includes/subgallery.html +28 -0
- data/_layouts/blog_list.html +36 -0
- data/_layouts/default.html +26 -0
- data/_layouts/home.html +20 -0
- data/_layouts/image.html +182 -0
- data/_layouts/journal_by_category.html +80 -0
- data/_layouts/journal_by_tag.html +35 -0
- data/_layouts/page.html +23 -0
- data/_layouts/paginated.html +76 -0
- data/_layouts/post.html +5 -0
- data/_layouts/tag_page.html +15 -0
- metadata +119 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 437454033f889547df11b81f8416456728c476aa
|
4
|
+
data.tar.gz: 9833f295f02aa83001162e67869bff2ecad4d23a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8f6d75da3b5f468dac519672420971778b4674f1514e0e8e39b1d5c6f571e5ceb1524c0470dcff62a5822cf2a07bf1299c62ce0fd667dc6f9ab8ddef73ea2048
|
7
|
+
data.tar.gz: 50aba8c39d7dba5f40ccafa43fec388e849f086a7c40f2db37e550f87a1295360680d9d3ceb74db9deaca3e72976b1378fc6621c0d56217b2c5e04100cc47c91
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Doug Hatcher
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# artsy
|
2
|
+
|
3
|
+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
TODO: Delete this and the text above, and describe your gem
|
8
|
+
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your Jekyll site's `Gemfile`:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem "artsy"
|
16
|
+
```
|
17
|
+
|
18
|
+
And add this line to your Jekyll site's `_config.yml`:
|
19
|
+
|
20
|
+
```yaml
|
21
|
+
theme: artsy
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
$ gem install artsy
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
To set up your environment to develop this theme, run `bundle install`.
|
43
|
+
|
44
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
45
|
+
|
46
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
+
To add a custom directory to your theme-gem, please edit the regexp in `artsy.gemspec` accordingly.
|
48
|
+
|
49
|
+
## License
|
50
|
+
|
51
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
|
+
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<script>
|
2
|
+
//** jQuery Scroll to Top Control script- (c)
|
3
|
+
//** v1.1 (April 7th, 10')
|
4
|
+
//** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page instead.
|
5
|
+
//** 2) Fixes scroll animation not working in Opera.
|
6
|
+
var scrolltotop={
|
7
|
+
//startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
|
8
|
+
//scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
|
9
|
+
setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
|
10
|
+
controlHTML: '<img src="https://cloud.githubusercontent.com/assets/14811095/13691821/88412468-e744-11e5-8bb5-94340afd92e7.png" style="filter:alpha(opacity=100); -moz-opacity:1;"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
|
11
|
+
controlattrs: {offsetx:35, offsety:60}, //offset of control relative to right/ bottom of window corner
|
12
|
+
anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
|
13
|
+
state: {isvisible:false, shouldvisible:false},
|
14
|
+
scrollup:function(){
|
15
|
+
if (!this.cssfixedsupport) //if control is positioned using JavaScript
|
16
|
+
this.$control.css({opacity:0}) //hide control immediately after clicking it
|
17
|
+
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
|
18
|
+
if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
|
19
|
+
dest=jQuery('#'+dest).offset().top
|
20
|
+
else
|
21
|
+
dest=0
|
22
|
+
this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
|
23
|
+
},
|
24
|
+
keepfixed:function(){
|
25
|
+
var $window=jQuery(window)
|
26
|
+
var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
|
27
|
+
var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
|
28
|
+
this.$control.css({left:controlx+'px', top:controly+'px'})
|
29
|
+
|
30
|
+
},
|
31
|
+
|
32
|
+
togglecontrol:function(){
|
33
|
+
var scrolltop=jQuery(window).scrollTop()
|
34
|
+
if (!this.cssfixedsupport)
|
35
|
+
this.keepfixed()
|
36
|
+
this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
|
37
|
+
if (this.state.shouldvisible && !this.state.isvisible){
|
38
|
+
this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
|
39
|
+
this.state.isvisible=true
|
40
|
+
}
|
41
|
+
else if (this.state.shouldvisible==false && this.state.isvisible){
|
42
|
+
this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
|
43
|
+
this.state.isvisible=false
|
44
|
+
}
|
45
|
+
|
46
|
+
},
|
47
|
+
init:function(){
|
48
|
+
jQuery(document).ready(function($){
|
49
|
+
var mainobj=scrolltotop
|
50
|
+
var iebrws=document.all
|
51
|
+
|
52
|
+
mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
|
53
|
+
mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
|
54
|
+
mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
|
55
|
+
.css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
|
56
|
+
.attr({title:'Scroll To Top'})
|
57
|
+
.click(function(){mainobj.scrollup(); return false})
|
58
|
+
.appendTo('body')
|
59
|
+
|
60
|
+
if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
|
61
|
+
mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
|
62
|
+
mainobj.togglecontrol()
|
63
|
+
|
64
|
+
$('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
|
65
|
+
mainobj.scrollup()
|
66
|
+
|
67
|
+
return false
|
68
|
+
})
|
69
|
+
|
70
|
+
$(window).bind('scroll resize', function(e){
|
71
|
+
|
72
|
+
mainobj.togglecontrol()
|
73
|
+
|
74
|
+
})
|
75
|
+
|
76
|
+
})
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
}
|
81
|
+
|
82
|
+
scrolltotop.init()
|
83
|
+
</script>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/shell.js"></script>
|
2
|
+
<div id="contact">
|
3
|
+
<script>
|
4
|
+
hbspt.forms.create({
|
5
|
+
portalId: "4520377",
|
6
|
+
formId: "d1e1b7d0-d28d-42b2-ac03-df468895f546",
|
7
|
+
target: "#contact"
|
8
|
+
});
|
9
|
+
</script>
|
10
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<div id="disqus_thread"></div>
|
2
|
+
<script>
|
3
|
+
/**
|
4
|
+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
5
|
+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables
|
6
|
+
*/
|
7
|
+
/*
|
8
|
+
var disqus_config = function () {
|
9
|
+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
10
|
+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
11
|
+
};
|
12
|
+
*/
|
13
|
+
(function() { // DON'T EDIT BELOW THIS LINE
|
14
|
+
var d = document, s = d.createElement('script');
|
15
|
+
s.src = '//{{ site.discus_shortname }}.disqus.com/embed.js';
|
16
|
+
s.setAttribute('data-timestamp', +new Date());
|
17
|
+
(d.head || d.body).appendChild(s);
|
18
|
+
})();
|
19
|
+
</script>
|
20
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<form id="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
2
|
+
<input type="hidden" name="cmd" value="_s-xclick">
|
3
|
+
<input type="hidden" name="hosted_button_id" value="FXR885JK6X354">
|
4
|
+
<input type="image" src="/img/donate.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
5
|
+
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
6
|
+
</form>
|
@@ -0,0 +1,91 @@
|
|
1
|
+
<!-- Footer -->
|
2
|
+
<footer>
|
3
|
+
<div class="container">
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
6
|
+
|
7
|
+
<ul class="list-inline text-center">
|
8
|
+
|
9
|
+
{% if site.facebook_username %}
|
10
|
+
<li>
|
11
|
+
<a href="https://facebook.com/{{ site.facebook_username }}" data-toggle="tooltip" title="Facebook">
|
12
|
+
<span class="fa-stack fa-lg">
|
13
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
14
|
+
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
|
15
|
+
</span>
|
16
|
+
</a>
|
17
|
+
</li>
|
18
|
+
{% endif %}
|
19
|
+
{% if site.twitter_username %}
|
20
|
+
<li>
|
21
|
+
<a href="https://twitter.com/{{ site.twitter_username }}" data-toggle="tooltip" title="Twiiter">
|
22
|
+
<span class="fa-stack fa-lg">
|
23
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
24
|
+
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
25
|
+
</span>
|
26
|
+
</a>
|
27
|
+
</li>
|
28
|
+
{% endif %}
|
29
|
+
{% if site.instagram_username %}
|
30
|
+
<li>
|
31
|
+
<a href="https://instagram.com/{{ site.instagram_username }}" data-toggle="tooltip" title="Instagram">
|
32
|
+
<span class="fa-stack fa-lg">
|
33
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
34
|
+
<i class="fa fa-instagram fa-stack-1x fa-inverse"></i>
|
35
|
+
</span>
|
36
|
+
</a>
|
37
|
+
</li>
|
38
|
+
{% endif %}
|
39
|
+
{% if site.flickr_username %}
|
40
|
+
<li>
|
41
|
+
<a href="https://flickr.com/photos/{{ site.flickr_username }}" data-toggle="tooltip" title="Flickr">
|
42
|
+
<span class="fa-stack fa-lg">
|
43
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
44
|
+
<i class="fa fa-flickr fa-stack-1x fa-inverse"></i>
|
45
|
+
</span>
|
46
|
+
</a>
|
47
|
+
</li>
|
48
|
+
{% endif %}
|
49
|
+
{% if site.deviantart_username %}
|
50
|
+
<li>
|
51
|
+
<a href="http://{{ site.deviantart_username }}.deviantart.com">
|
52
|
+
<span class="fa-stack fa-lg" data-toggle="tooltip" title="Deviantart">
|
53
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
54
|
+
<i class="fa fa-deviantart fa-stack-1x fa-inverse"></i>
|
55
|
+
</span>
|
56
|
+
</a>
|
57
|
+
</li>
|
58
|
+
{% endif %}
|
59
|
+
{% if site.github_username %}
|
60
|
+
<li>
|
61
|
+
<a href="https://github.com/{{ site.github_username }}" data-toggle="tooltip" title="Github">
|
62
|
+
<span class="fa-stack fa-lg">
|
63
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
64
|
+
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
|
65
|
+
</span>
|
66
|
+
</a>
|
67
|
+
</li>
|
68
|
+
{% endif %}
|
69
|
+
<li>
|
70
|
+
<a href="mailto:{{ site.email }}" data-toggle="tooltip" target="_blank" title="Email">
|
71
|
+
<span class="fa-stack fa-lg">
|
72
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
73
|
+
<i class="fa fa-envelope-o fa-stack-1x fa-inverse"></i>
|
74
|
+
</span>
|
75
|
+
</a> </li>
|
76
|
+
|
77
|
+
<li>
|
78
|
+
<a href="{{ "/feed.xml" | prepend: site.baseurl }}" data-toggle="tooltip" title="Feed">
|
79
|
+
<span class="fa-stack fa-lg">
|
80
|
+
<i class="fa fa-circle fa-stack-2x"></i>
|
81
|
+
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
|
82
|
+
</span>
|
83
|
+
</a>
|
84
|
+
</li>
|
85
|
+
</ul>
|
86
|
+
<p class="copyright text-muted">Copyright © {{ site.title }} {{ site.time | date: '%Y' }}</p>
|
87
|
+
<center><h6><p>Powered by <a href="https://github.com/jekyll/">Jekyll</a>.</p></h6></center>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
<head>
|
2
|
+
|
3
|
+
<meta charset="utf-8">
|
4
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
|
+
<meta http-equiv="cache-control" content="no-cache" />
|
7
|
+
|
8
|
+
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
|
9
|
+
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
|
10
|
+
|
11
|
+
|
12
|
+
<!-- Google Tag Manager -->
|
13
|
+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
14
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
15
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
16
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
17
|
+
})(window,document,'script','dataLayer','{{ site.gtmid }}');</script>
|
18
|
+
<!-- End Google Tag Manager -->
|
19
|
+
|
20
|
+
<link rel="shortcut icon" href="{{ site.basurl }}/favicon.ico?" type="image/x-icon">
|
21
|
+
<link rel="icon" href="{{ site.baseurl }}/favicon.ico?" type="image/x-icon">
|
22
|
+
|
23
|
+
<meta name="description" content="{{ site.description }}">
|
24
|
+
|
25
|
+
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
26
|
+
|
27
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
28
|
+
|
29
|
+
<!-- CSS -->
|
30
|
+
|
31
|
+
<!-- Bootstrap Core CSS -->
|
32
|
+
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}">
|
33
|
+
|
34
|
+
<!-- Custom CSS -->
|
35
|
+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
|
36
|
+
<link rel="stylesheet" href="{{ "/css/galleries.css" | prepend: site.baseurl }}">
|
37
|
+
<link rel="stylesheet" href="{{ "/css/super-search.css" | prepend: site.baseurl }}">
|
38
|
+
<link rel="stylesheet" href="{{ "/css/magnificpopup.css" | prepend: site.baseurl }}">
|
39
|
+
|
40
|
+
<!-- Custom Fonts -->
|
41
|
+
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
42
|
+
<link href='https://fonts.googleapis.com/css?family=Josefin+Sans:400,600&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
|
43
|
+
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
44
|
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
45
|
+
|
46
|
+
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
47
|
+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
48
|
+
<!--[if lt IE 9]>
|
49
|
+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
50
|
+
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
51
|
+
<![endif]-->
|
52
|
+
|
53
|
+
<!-- jquery, ffs -->
|
54
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
55
|
+
<script src="//cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
|
56
|
+
|
57
|
+
<!-- bootstrap -->
|
58
|
+
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
|
59
|
+
<script src="{{ site.baseurl }}/js/main.min.js "></script>
|
60
|
+
|
61
|
+
<!-- modernizer -->
|
62
|
+
<script src="{{ site.baseurl }}/js/modernizr.js"></script>
|
63
|
+
|
64
|
+
<!-- paypal enablement -->
|
65
|
+
<script type="text/javascript" src="/js/fullcart.js"></script>
|
66
|
+
|
67
|
+
|
68
|
+
</head>
|
69
|
+
<!-- Google Tag Manager (noscript) -->
|
70
|
+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtmid }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
71
|
+
<!-- End Google Tag Manager (noscript) -->
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!-- Page Header -->
|
2
|
+
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
|
3
|
+
<div class="container">
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
6
|
+
<div class="site-heading">
|
7
|
+
<h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
|
8
|
+
<hr class="small">
|
9
|
+
<span class="subheading">{{ page.description }}</span>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</header>
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
<!-- Navigation -->
|
2
|
+
<nav class="navbar navbar-default navbar-custom navbar-fixed-top" style="margin-right:1em; z-index: 1;">
|
3
|
+
<div class="container-fluid">
|
4
|
+
<!-- Brand and toggle get grouped for better mobile display -->
|
5
|
+
<div class="navbar-header page-scroll">
|
6
|
+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
7
|
+
<i class="fa fa-bars fa-lg"></i>
|
8
|
+
</button>
|
9
|
+
<a href="{{ site.baseurl }}/" title="HOME"><img src="{{ site.baseurl }}/img/logo.png" alt="logo" style="width:150px;cursor:pointer;margin-top:15px;"/></a>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<!-- Collect the nav links, forms, and other content for toggling -->
|
13
|
+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
14
|
+
<ul class="nav navbar-nav navbar-right fancytextborder">
|
15
|
+
{% for nav_hash in site.nav %}
|
16
|
+
{% for nav_item in nav_hash %}
|
17
|
+
{% assign lowercase_nav_item = nav_item[0] | downcase %}
|
18
|
+
{% if page.active == lowercase_nav_item %}
|
19
|
+
<li class="active"><a href="{{ nav_item[1] }}">{{ nav_item[0] }}</a></li>
|
20
|
+
{% else %}
|
21
|
+
<li><a href="{{ nav_item[1] }}">{{ nav_item[0] }}</a></li>
|
22
|
+
{% endif %}
|
23
|
+
{% endfor %}
|
24
|
+
{% endfor %}
|
25
|
+
|
26
|
+
<!--- view cart button -->
|
27
|
+
<li>
|
28
|
+
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
29
|
+
<!-- Identify your business so that you can collect the payments. -->
|
30
|
+
<input type="hidden" name="business" value="{{ site.paypal }}">
|
31
|
+
|
32
|
+
<!-- Specify a PayPal shopping cart View Cart button. -->
|
33
|
+
<input type="hidden" name="cmd" value="_cart">
|
34
|
+
<input type="hidden" name="display" value="1">
|
35
|
+
|
36
|
+
<!-- Display the View Cart button. -->
|
37
|
+
<input class="view-cart" type="image" name="submit" onclick="dataLayer.push({'event': 'view-cart'});form.submit(); return false"
|
38
|
+
src="/img/cart-empty.png" alt="Add to Cart">
|
39
|
+
<img alt="" width="1" height="1"
|
40
|
+
src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
|
41
|
+
</form>
|
42
|
+
</li>
|
43
|
+
<!-- /view cart button -->
|
44
|
+
<li>
|
45
|
+
{% include donate.html %}
|
46
|
+
</li>
|
47
|
+
|
48
|
+
|
49
|
+
</ul>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
<!-- /.navbar-collapse -->
|
54
|
+
|
55
|
+
</div>
|
56
|
+
<!-- /.container -->
|
57
|
+
</nav>
|
58
|
+
|
59
|
+
<div class="donate-outside">
|
60
|
+
{% include donate.html %}
|
61
|
+
</div>
|