From f92932b947ceddd2e198b3cbcf9bcda2f930c739 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Fri, 19 Feb 2016 23:35:42 -0500 Subject: [PATCH] initial commit --- .gitignore | 1 + LICENSE.md | 20 ++ README.md | 53 ++++ archetypes/default.md | 4 + archetypes/microposts.md | 3 + archetypes/photos.md | 5 + layouts/404.html | 11 + layouts/_default/list.html | 9 + layouts/_default/single.html | 13 + layouts/index.html | 9 + layouts/microposts/single.html | 9 + layouts/partials/bio.html | 2 + layouts/partials/custom_image_handler.html | 11 + layouts/partials/custom_javascript.html | 1 + layouts/partials/custom_stylesheets.html | 1 + layouts/partials/not_found.html | 3 + layouts/partials/page_footer.html | 22 ++ layouts/partials/page_header.html | 19 ++ layouts/partials/pagination.html | 13 + layouts/partials/preview_list.html | 19 ++ layouts/partials/preview_micropost.html | 4 + layouts/partials/preview_photo_post.html | 12 + layouts/partials/preview_post.html | 32 ++ layouts/partials/site_footer.html | 8 + layouts/partials/site_header.html | 22 ++ layouts/photos/single.html | 21 ++ layouts/posts/single.html | 30 ++ layouts/rss.xml | 24 ++ layouts/section/posts.html | 31 ++ static/css/lightgallery.min.css | 1 + static/css/weblog.css | 337 +++++++++++++++++++++ static/fonts/lg.eot | Bin 0 -> 2760 bytes static/fonts/lg.svg | 41 +++ static/fonts/lg.ttf | Bin 0 -> 2616 bytes static/fonts/lg.woff | Bin 0 -> 2692 bytes static/img/loading.gif | Bin 0 -> 4178 bytes static/img/location.png | Bin 0 -> 976 bytes static/img/rss.png | Bin 0 -> 1919 bytes static/img/rss.svg | 15 + static/img/rss@2x.png | Bin 0 -> 2164 bytes static/img/zoom.png | Bin 0 -> 1320 bytes static/js/lightgallery-all.min.js | 5 + static/js/weblog.js | 27 ++ theme.toml | 13 + 44 files changed, 851 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100644 archetypes/microposts.md create mode 100644 archetypes/photos.md create mode 100644 layouts/404.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html create mode 100644 layouts/microposts/single.html create mode 100644 layouts/partials/bio.html create mode 100644 layouts/partials/custom_image_handler.html create mode 100644 layouts/partials/custom_javascript.html create mode 100644 layouts/partials/custom_stylesheets.html create mode 100644 layouts/partials/not_found.html create mode 100644 layouts/partials/page_footer.html create mode 100644 layouts/partials/page_header.html create mode 100644 layouts/partials/pagination.html create mode 100644 layouts/partials/preview_list.html create mode 100644 layouts/partials/preview_micropost.html create mode 100644 layouts/partials/preview_photo_post.html create mode 100644 layouts/partials/preview_post.html create mode 100644 layouts/partials/site_footer.html create mode 100644 layouts/partials/site_header.html create mode 100644 layouts/photos/single.html create mode 100644 layouts/posts/single.html create mode 100644 layouts/rss.xml create mode 100644 layouts/section/posts.html create mode 100755 static/css/lightgallery.min.css create mode 100644 static/css/weblog.css create mode 100755 static/fonts/lg.eot create mode 100755 static/fonts/lg.svg create mode 100755 static/fonts/lg.ttf create mode 100755 static/fonts/lg.woff create mode 100755 static/img/loading.gif create mode 100644 static/img/location.png create mode 100644 static/img/rss.png create mode 100644 static/img/rss.svg create mode 100644 static/img/rss@2x.png create mode 100644 static/img/zoom.png create mode 100755 static/js/lightgallery-all.min.js create mode 100644 static/js/weblog.js create mode 100644 theme.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..a463681 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2016 Josh Johnson + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..9b075e9 --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +# internet-weblog Theme for Hugo + +internet-weblog is a minimalistic Hugo theme that offers a traditional blog mixed +with a microblog and a photoblog. It also offers the ability to do simple link +posts that link to a remote page. It was ported from a theme made for Octopress. + +The theme features a customizable bio-section and flickr-based photo stream in +it's footer, unique layouts for displaying all posts, and other + +(screenshot) + +## Contents + +- [Installation](#installation) +- [Getting started](#getting-started) + - [Variables](#variables) +- [Contributing](#contributing) +- [License](#license) +- [Annotations](#annotations) + +## Installation + +Inside the folder of your Hugo site run: + + $ mkdir themes + $ cd themes + $ git clone https://github.com/jnjosh/internet-weblog + +For more information read the official [setup guide](//gohugo.io/overview/installing/) +for Hugo. + +## Getting Started + +TBA + +### Variables + + +## Contributing + +Did you find a bug or have an ideas for new features? Feel free to use the issue tracker to let me know or make a pull request. + +## License + +This theme is released under MIT. For more information, please see the [License](http://jnjosh.mit-license.org). + +## Contact + +- [Josh Johnson](http://jnjosh.com) [@jnjosh](http://twitter.com/jnjosh) + +--- + +_Thanks to Steve Francia for creating Hugo!_ diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..a7aca45 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,4 @@ ++++ +title = "" +description = "" ++++ diff --git a/archetypes/microposts.md b/archetypes/microposts.md new file mode 100644 index 0000000..b8017b7 --- /dev/null +++ b/archetypes/microposts.md @@ -0,0 +1,3 @@ ++++ +date = "" ++++ diff --git a/archetypes/photos.md b/archetypes/photos.md new file mode 100644 index 0000000..c68ecf8 --- /dev/null +++ b/archetypes/photos.md @@ -0,0 +1,5 @@ ++++ +date = "" +title = "" +location = "" ++++ diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..860de96 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,11 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+
+ {{ partial "not_found.html" . }} +
+
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..20ca950 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,9 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+ {{ partial "preview_list.html" . }} +
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..8ec93f0 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,13 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+
+

+ {{ .Content }} +

+
+
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..20ca950 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,9 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+ {{ partial "preview_list.html" . }} +
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/microposts/single.html b/layouts/microposts/single.html new file mode 100644 index 0000000..a2be260 --- /dev/null +++ b/layouts/microposts/single.html @@ -0,0 +1,9 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+ {{ partial "preview_micropost.html" . }} +
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/partials/bio.html b/layouts/partials/bio.html new file mode 100644 index 0000000..775884c --- /dev/null +++ b/layouts/partials/bio.html @@ -0,0 +1,2 @@ +Here you can place a short bio about yourself. Place a `bio.html` file in your +project directory under `layout/partials`. That will override this message. diff --git a/layouts/partials/custom_image_handler.html b/layouts/partials/custom_image_handler.html new file mode 100644 index 0000000..1271545 --- /dev/null +++ b/layouts/partials/custom_image_handler.html @@ -0,0 +1,11 @@ + diff --git a/layouts/partials/custom_javascript.html b/layouts/partials/custom_javascript.html new file mode 100644 index 0000000..bc70a8e --- /dev/null +++ b/layouts/partials/custom_javascript.html @@ -0,0 +1 @@ + diff --git a/layouts/partials/custom_stylesheets.html b/layouts/partials/custom_stylesheets.html new file mode 100644 index 0000000..20f09a7 --- /dev/null +++ b/layouts/partials/custom_stylesheets.html @@ -0,0 +1 @@ + diff --git a/layouts/partials/not_found.html b/layouts/partials/not_found.html new file mode 100644 index 0000000..5b77c39 --- /dev/null +++ b/layouts/partials/not_found.html @@ -0,0 +1,3 @@ +404. Not Found. Try again. + +If you don't like this, create a partial called `not_found.html`. diff --git a/layouts/partials/page_footer.html b/layouts/partials/page_footer.html new file mode 100644 index 0000000..dc661cf --- /dev/null +++ b/layouts/partials/page_footer.html @@ -0,0 +1,22 @@ + diff --git a/layouts/partials/page_header.html b/layouts/partials/page_header.html new file mode 100644 index 0000000..d566947 --- /dev/null +++ b/layouts/partials/page_header.html @@ -0,0 +1,19 @@ +
+ +
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html new file mode 100644 index 0000000..86ca7ba --- /dev/null +++ b/layouts/partials/pagination.html @@ -0,0 +1,13 @@ + diff --git a/layouts/partials/preview_list.html b/layouts/partials/preview_list.html new file mode 100644 index 0000000..16521f4 --- /dev/null +++ b/layouts/partials/preview_list.html @@ -0,0 +1,19 @@ +{{ $paginator := .Paginate (where .Data.Pages "Type" "!=" "page") }} +{{ range .Paginator.Pages }} + {{ $url := replace .Permalink .Site.BaseURL "" }} + + {{ if or (eq .Type "microposts") (eq .Type "micropost") }} + {{ partial "preview_micropost.html" . }} + {{ end }} + + {{ if or (eq .Type "photos") (eq .Type "photo") }} + {{ partial "preview_photo_post.html" . }} + {{ end }} + + {{ if or (eq .Type "posts") (eq .Type "post") }} + {{ partial "preview_post.html" . }} + {{ end }} + +{{ end }} + +{{ partial "pagination.html" . }} diff --git a/layouts/partials/preview_micropost.html b/layouts/partials/preview_micropost.html new file mode 100644 index 0000000..e622cc1 --- /dev/null +++ b/layouts/partials/preview_micropost.html @@ -0,0 +1,4 @@ +
+ {{ .Content }} + +
diff --git a/layouts/partials/preview_photo_post.html b/layouts/partials/preview_photo_post.html new file mode 100644 index 0000000..91f6b39 --- /dev/null +++ b/layouts/partials/preview_photo_post.html @@ -0,0 +1,12 @@ +
+ + + +
diff --git a/layouts/partials/preview_post.html b/layouts/partials/preview_post.html new file mode 100644 index 0000000..35401e3 --- /dev/null +++ b/layouts/partials/preview_post.html @@ -0,0 +1,32 @@ +
+ {{ if (not (isset .Params "externalurl")) }} +

{{ .Title }}

+ {{ else }} +

→ {{ .Title }}

+ {{ end }} + + + +

+ {{ if (not (isset .Params "externalurl")) }} + {{ .Summary }} + {{ else }} + {{ .Content }} + {{ end }} +

+ + {{ if .Truncated }} + {{ if (not (isset .Params "externalurl")) }} + Continue Reading » + {{ end }} + {{ end }} +
diff --git a/layouts/partials/site_footer.html b/layouts/partials/site_footer.html new file mode 100644 index 0000000..c489c88 --- /dev/null +++ b/layouts/partials/site_footer.html @@ -0,0 +1,8 @@ + + + + {{ partial "custom_javascript.html" . }} + {{ partial "custom_image_handler.html" . }} + {{ template "_internal/google_analytics.html" . }} + + diff --git a/layouts/partials/site_header.html b/layouts/partials/site_header.html new file mode 100644 index 0000000..c77a41d --- /dev/null +++ b/layouts/partials/site_header.html @@ -0,0 +1,22 @@ + + + + + + + + + {{ .Hugo.Generator }} + + {{ $.Scratch.Add "title" .Site.Title }} + {{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}{{ .Site.Title }} + + + + {{ partial "custom_stylesheets.html" . }} + + {{ if .Site.Params.RSSEnabled }} + + {{ end }} + + diff --git a/layouts/photos/single.html b/layouts/photos/single.html new file mode 100644 index 0000000..b4905f9 --- /dev/null +++ b/layouts/photos/single.html @@ -0,0 +1,21 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+
+

{{ .Title }}

+ + + +

+ {{ .Content }} +

+
+
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..5ea94c6 --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,30 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+ +
+ {{ if (not (isset .Params "externalurl")) }} +

{{ .Title }}

+ {{ else }} +

→ {{ .Title }}

+ {{ end }} + + + +

+ {{ .Content }} +

+
+ + +
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/layouts/rss.xml b/layouts/rss.xml new file mode 100644 index 0000000..4696dc6 --- /dev/null +++ b/layouts/rss.xml @@ -0,0 +1,24 @@ + + + {{ .Site.Title }}{{ with .Title }} - {{ .}}{{ end }} + {{ .Permalink }} + All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io + {{ with .Site.LanguageCode }}{{.}}{{end}} + {{ with .Site.Copyright }}{{.}}{{end}} + {{ if not .Date.IsZero }}{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + + {{ range .Data.Pages }} + {{ if ne .Type "page" }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Content | html }} + + {{ end }} + {{ end }} + + diff --git a/layouts/section/posts.html b/layouts/section/posts.html new file mode 100644 index 0000000..aca6cfa --- /dev/null +++ b/layouts/section/posts.html @@ -0,0 +1,31 @@ +{{ partial "site_header.html" . }} +{{ partial "page_header.html" . }} + +
+
+
+ {{ range .Data.Pages.GroupByDate "2006" }} +
+

{{ .Key }}

+ +
+ {{ end }} +
+
+
+ +{{ partial "page_footer.html" . }} +{{ partial "site_footer.html" . }} diff --git a/static/css/lightgallery.min.css b/static/css/lightgallery.min.css new file mode 100755 index 0000000..708794d --- /dev/null +++ b/static/css/lightgallery.min.css @@ -0,0 +1 @@ +.lg-actions .lg-next,.lg-actions .lg-prev,.lg-sub-html,.lg-toolbar{background-color:rgba(0,0,0,.45);z-index:1080}#lg-counter,.lg-outer .lg-video-cont{vertical-align:middle;display:inline-block}@font-face{font-family:lg;src:url(../fonts/lg.eot?n1z373);src:url(../fonts/lg.eot?#iefixn1z373) format("embedded-opentype"),url(../fonts/lg.woff?n1z373) format("woff"),url(../fonts/lg.ttf?n1z373) format("truetype"),url(../fonts/lg.svg?n1z373#lg) format("svg");font-weight:400;font-style:normal}.lg-icon{font-family:lg;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lg-actions .lg-next,.lg-actions .lg-prev{border-radius:2px;color:#999;cursor:pointer;display:block;font-size:22px;margin-top:-10px;padding:8px 10px 9px;position:absolute;top:50%}.lg-actions .lg-next.disabled,.lg-actions .lg-prev.disabled{pointer-events:none;opacity:.5}.lg-actions .lg-next:hover,.lg-actions .lg-prev:hover{color:#FFF}.lg-actions .lg-next{right:20px}.lg-actions .lg-next:before{content:"\e095"}.lg-actions .lg-prev{left:20px}.lg-actions .lg-prev:after{content:"\e094"}@-webkit-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-moz-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-ms-keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@keyframes lg-right-end{0%,100%{left:0}50%{left:-30px}}@-webkit-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@-moz-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@-ms-keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}@keyframes lg-left-end{0%,100%{left:0}50%{left:30px}}.lg-outer.lg-right-end .lg-object{-webkit-animation:lg-right-end .3s;-o-animation:lg-right-end .3s;animation:lg-right-end .3s;position:relative}.lg-outer.lg-left-end .lg-object{-webkit-animation:lg-left-end .3s;-o-animation:lg-left-end .3s;animation:lg-left-end .3s;position:relative}.lg-toolbar{left:0;position:absolute;top:0;width:100%}.lg-toolbar .lg-icon{color:#999;cursor:pointer;float:right;font-size:24px;height:47px;line-height:27px;padding:10px 0;text-align:center;width:50px;text-decoration:none!important;outline:0}.lg-toolbar .lg-icon:hover{color:#FFF}.lg-toolbar .lg-close:after{content:"\e070"}.lg-toolbar .lg-download:after{content:"\e0f2"}.lg-sub-html{bottom:0;color:#EEE;font-size:16px;left:0;padding:10px 40px;position:fixed;right:0;text-align:center}.lg-sub-html h4{margin:0;font-size:13px;font-weight:700}.lg-sub-html p{font-size:12px;margin:5px 0 0}#lg-counter{color:#999;font-size:16px;padding-left:20px;padding-top:12px}.lg-next,.lg-prev,.lg-toolbar{opacity:1;-webkit-transition:-webkit-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s;transition:transform .35s cubic-bezier(0,0,.25,1) 0s,opacity .35s cubic-bezier(0,0,.25,1) 0s}.lg-hide-items .lg-prev{opacity:0;-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.lg-hide-items .lg-next{opacity:0;-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.lg-hide-items .lg-toolbar{opacity:0;-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-object{-webkit-transform:scale3d(.5,.5,.5);transform:scale3d(.5,.5,.5);opacity:0;-webkit-transition:-webkit-transform 250ms ease 0s,opacity 250ms!important;-moz-transition:-moz-transform 250ms ease 0s,opacity 250ms!important;-o-transition:-o-transform 250ms ease 0s,opacity 250ms!important;transition:transform 250ms ease 0s,opacity 250ms!important;-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}body:not(.lg-from-hash) .lg-outer.lg-start-zoom .lg-item.lg-complete .lg-object{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);opacity:1}.lg-outer .lg-thumb-outer{background-color:#0D0A0A;bottom:0;position:absolute;width:100%;z-index:1080;max-height:350px;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1) 0s;-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1) 0s;-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1) 0s;transition:transform .25s cubic-bezier(0,0,.25,1) 0s}.lg-outer .lg-thumb-outer.lg-grab .lg-thumb-item{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer .lg-thumb-outer.lg-grabbing .lg-thumb-item{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg-thumb-outer.lg-dragging .lg-thumb{-webkit-transition-duration:0s!important;transition-duration:0s!important}.lg-outer.lg-thumb-open .lg-thumb-outer{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-thumb{padding:10px 0;height:100%;margin-bottom:-5px}.lg-outer .lg-thumb-item{cursor:pointer;float:left;overflow:hidden;height:100%;border:2px solid #FFF;border-radius:4px;margin-bottom:5px}@media (min-width:1025px){.lg-outer .lg-thumb-item{-webkit-transition:border-color .25s ease;-o-transition:border-color .25s ease;transition:border-color .25s ease}}.lg-outer .lg-thumb-item.active,.lg-outer .lg-thumb-item:hover{border-color:#a90707}.lg-outer .lg-thumb-item img{width:100%;height:100%}.lg-outer.lg-has-thumb .lg-item{padding-bottom:120px}.lg-outer.lg-can-toggle .lg-item{padding-bottom:0}.lg-outer.lg-pull-caption-up .lg-sub-html{-webkit-transition:bottom .25s ease;-o-transition:bottom .25s ease;transition:bottom .25s ease}.lg-outer.lg-pull-caption-up.lg-thumb-open .lg-sub-html{bottom:100px}.lg-outer .lg-toogle-thumb{background-color:#0D0A0A;border-radius:2px 2px 0 0;color:#999;cursor:pointer;font-size:24px;height:39px;line-height:27px;padding:5px 0;position:absolute;right:20px;text-align:center;top:-39px;width:50px}.lg-outer .lg-toogle-thumb:after{content:"\e1ff"}.lg-outer .lg-toogle-thumb:hover{color:#FFF}.lg-outer .lg-video-cont{max-width:1140px;max-height:100%;width:100%;padding:0 5px}.lg-outer .lg-video{width:100%;height:0;padding-bottom:56.25%;overflow:hidden;position:relative}.lg-outer .lg-video .lg-object{display:inline-block;position:absolute;top:0;left:0;width:100%!important;height:100%!important}.lg-outer .lg-video .lg-video-play{width:84px;height:59px;position:absolute;left:50%;top:50%;margin-left:-42px;margin-top:-30px;z-index:1080;cursor:pointer}.lg-outer .lg-has-vimeo .lg-video-play{background:url(../img/vimeo-play.png) no-repeat}.lg-outer .lg-has-vimeo:hover .lg-video-play{background:url(../img/vimeo-play.png) 0 -58px no-repeat}.lg-outer .lg-has-html5 .lg-video-play{background:url(../img/video-play.png) no-repeat;height:64px;margin-left:-32px;margin-top:-32px;width:64px;opacity:.8}.lg-outer .lg-has-html5:hover .lg-video-play{opacity:1}.lg-outer .lg-has-youtube .lg-video-play{background:url(../img/youtube-play.png) no-repeat}.lg-outer .lg-has-youtube:hover .lg-video-play{background:url(../img/youtube-play.png) 0 -60px no-repeat}.lg-outer .lg-video-object{width:100%!important;height:100%!important;position:absolute;top:0;left:0}.lg-outer .lg-has-video .lg-video-object{visibility:hidden}.lg-outer .lg-has-video.lg-video-palying .lg-object,.lg-outer .lg-has-video.lg-video-palying .lg-video-play{display:none}.lg-outer .lg-has-video.lg-video-palying .lg-video-object{visibility:visible}.lg-progress-bar{background-color:#333;height:5px;left:0;position:absolute;top:0;width:100%;z-index:1080;opacity:0;-webkit-transition:opacity 80ms ease 0s;-moz-transition:opacity 80ms ease 0s;-o-transition:opacity 80ms ease 0s;transition:opacity 80ms ease 0s}.lg-progress-bar .lg-progress{background-color:#a90707;height:5px;width:0}.lg-progress-bar.lg-start .lg-progress{width:100%}.lg-show-autoplay .lg-progress-bar{opacity:1}.lg-autoplay-button:after{content:"\e01d"}.lg-show-autoplay .lg-autoplay-button:after{content:"\e01a"}.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-image,.lg-outer.lg-css3.lg-zoom-dragging .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition-duration:0s;transition-duration:0s}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap{-webkit-transition:-webkit-transform .3s ease 0s;-moz-transition:-moz-transform .3s ease 0s;-o-transition:-o-transform .3s ease 0s;transition:transform .3s ease 0s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-outer .lg-item.lg-complete.lg-zoomable .lg-image{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s ease 0s,opacity .15s!important;-moz-transition:-moz-transform .3s ease 0s,opacity .15s!important;-o-transition:-o-transform .3s ease 0s,opacity .15s!important;transition:transform .3s ease 0s,opacity .15s!important;-webkit-transform-origin:0 0;-moz-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}#lg-zoom-in:after{content:"\e311"}#lg-zoom-out{opacity:.5;pointer-events:none}#lg-zoom-out:after{content:"\e312"}.lg-zoomed #lg-zoom-out{opacity:1;pointer-events:auto}.lg-outer .lg-pager-outer{bottom:60px;left:0;position:absolute;right:0;text-align:center;z-index:1080;height:10px}.lg-outer .lg-pager-outer.lg-pager-hover .lg-pager-cont{overflow:visible}.lg-outer .lg-pager-cont{cursor:pointer;display:inline-block;overflow:hidden;position:relative;vertical-align:top;margin:0 5px}.lg-outer .lg-pager-cont:hover .lg-pager-thumb-cont{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.lg-outer .lg-pager-cont.lg-pager-active .lg-pager{box-shadow:0 0 0 2px #fff inset}.lg-outer .lg-pager-thumb-cont{background-color:#fff;color:#FFF;bottom:100%;height:83px;left:0;margin-bottom:20px;margin-left:-60px;opacity:0;padding:5px;position:absolute;width:120px;border-radius:3px;-webkit-transition:opacity .15s ease 0s,-webkit-transform .15s ease 0s;-moz-transition:opacity .15s ease 0s,-moz-transform .15s ease 0s;-o-transition:opacity .15s ease 0s,-o-transform .15s ease 0s;transition:opacity .15s ease 0s,transform .15s ease 0s;-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}.lg-outer .lg-pager-thumb-cont img{width:100%;height:100%}.lg-outer .lg-pager{background-color:rgba(255,255,255,.5);border-radius:50%;box-shadow:0 0 0 8px rgba(255,255,255,.7) inset;display:block;height:12px;-webkit-transition:box-shadow .3s ease 0s;-o-transition:box-shadow .3s ease 0s;transition:box-shadow .3s ease 0s;width:12px}.lg-outer .lg-pager:focus,.lg-outer .lg-pager:hover{box-shadow:0 0 0 8px #fff inset}.lg-outer .lg-caret{border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px dashed;bottom:-10px;display:inline-block;height:0;left:50%;margin-left:-5px;position:absolute;vertical-align:middle;width:0}.lg-outer,.lg-outer .lg,.lg-outer .lg-inner{width:100%;height:100%}.lg-fullscreen:after{content:"\e20c"}.lg-fullscreen-on .lg-fullscreen:after{content:"\e20d"}.group:after,.group:before{display:table;content:"";line-height:0}.group:after{clear:both}.lg-outer{position:fixed;top:0;left:0;z-index:1050;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.lg-outer.lg-visible{opacity:1}.lg-outer.lg-css3 .lg-item.lg-current,.lg-outer.lg-css3 .lg-item.lg-next-slide,.lg-outer.lg-css3 .lg-item.lg-prev-slide{-webkit-transition-duration:inherit!important;transition-duration:inherit!important;-webkit-transition-timing-function:inherit!important;transition-timing-function:inherit!important}.lg-outer.lg-css3.lg-dragging .lg-item.lg-current,.lg-outer.lg-css3.lg-dragging .lg-item.lg-next-slide,.lg-outer.lg-css3.lg-dragging .lg-item.lg-prev-slide{-webkit-transition-duration:0s!important;transition-duration:0s!important;opacity:1}.lg-outer.lg-grab img.lg-object{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.lg-outer.lg-grabbing img.lg-object{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing}.lg-outer .lg{position:relative;overflow:hidden;margin-left:auto;margin-right:auto;max-width:100%;max-height:100%}.lg-outer .lg-inner{position:absolute;left:0;top:0;white-space:nowrap}.lg-outer .lg-item{background:url(../img/loading.gif) center center no-repeat;display:none!important}.lg-outer.lg-css .lg-current,.lg-outer.lg-css3 .lg-current,.lg-outer.lg-css3 .lg-next-slide,.lg-outer.lg-css3 .lg-prev-slide{display:inline-block!important}.lg-outer .lg-img-wrap,.lg-outer .lg-item{display:inline-block;text-align:center;position:absolute;width:100%;height:100%}.lg-outer .lg-img-wrap:before,.lg-outer .lg-item:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}.lg-outer .lg-img-wrap{top:0;bottom:0;left:0;right:0;padding:0 5px}.lg-outer .lg-item.lg-complete{background-image:none}.lg-outer .lg-item.lg-current{z-index:1060}.lg-outer .lg-image{display:inline-block;vertical-align:middle;max-width:100%;max-height:100%;width:auto!important;height:auto!important}.lg-outer.lg-show-after-load .lg-item .lg-object,.lg-outer.lg-show-after-load .lg-item .lg-video-play{opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-object,.lg-outer.lg-show-after-load .lg-item.lg-complete .lg-video-play{opacity:1}.lg-outer .lg-empty-html,.lg-outer.lg-hide-download #lg-download{display:none}.lg-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1040;background-color:#000;opacity:0;-webkit-transition:opacity .15s ease 0s;-o-transition:opacity .15s ease 0s;transition:opacity .15s ease 0s}.lg-backdrop.in{opacity:1}.lg-css3.lg-no-trans .lg-current,.lg-css3.lg-no-trans .lg-next-slide,.lg-css3.lg-no-trans .lg-prev-slide{-webkit-transition:none 0s ease 0s!important;-moz-transition:none 0s ease 0s!important;-o-transition:none 0s ease 0s!important;transition:none 0s ease 0s!important}.lg-css3.lg-use-css3 .lg-item,.lg-css3.lg-use-left .lg-item{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.lg-css3.lg-fade .lg-item{opacity:0}.lg-css3.lg-fade .lg-item.lg-current{opacity:1}.lg-css3.lg-fade .lg-item.lg-current,.lg-css3.lg-fade .lg-item.lg-next-slide,.lg-css3.lg-fade .lg-item.lg-prev-slide{-webkit-transition:opacity .1s ease 0s;-moz-transition:opacity .1s ease 0s;-o-transition:opacity .1s ease 0s;transition:opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-css3 .lg-item{opacity:0}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-current,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-css3 .lg-item.lg-prev-slide{-webkit-transition:-webkit-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:-moz-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:-o-transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:transform 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s}.lg-css3.lg-slide.lg-use-left .lg-item{opacity:0;position:absolute;left:0}.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{left:-100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide{left:100%}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current{left:0;opacity:1}.lg-css3.lg-slide.lg-use-left .lg-item.lg-current,.lg-css3.lg-slide.lg-use-left .lg-item.lg-next-slide,.lg-css3.lg-slide.lg-use-left .lg-item.lg-prev-slide{-webkit-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-moz-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;-o-transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s;transition:left 1s cubic-bezier(0,0,.25,1) 0s,opacity .1s ease 0s} \ No newline at end of file diff --git a/static/css/weblog.css b/static/css/weblog.css new file mode 100644 index 0000000..698415f --- /dev/null +++ b/static/css/weblog.css @@ -0,0 +1,337 @@ + +/* Page */ + +body { + font: 16px/24px "Avenir Next", "Helvetica Neue", Arial, Helvetica, sans-serif; + line-height: 24px; +} + +a[href] { + color: #476286; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +h1, h2, h3, h4 { + color: #666666; +} + +.site { + display: flex; + min-height: 100vh; + flex-direction: column; + margin: 0; +} + +.content { + flex: 1; +} + +/* Header */ + +header { + padding: 40px 0 0 0; +} + +header h1 { + text-align: left; + vertical-align: middle; + font-size: 30px; + line-height: 32px; + margin: 0 auto; + padding: 10px 10px 0 10px; + max-width: 720px; + color: #5B636E; +} + +/* Navigation */ + +nav { + margin: auto; + max-width: 720px; + text-align: center; +} + +nav ul { + list-style-type: none; + margin: 0 auto; +} + +nav ul > li { + background-color: #fafafa; + display: inline; + float: left; + padding: 10px; + text-align: center; + text-transform: uppercase; + font-size: 9pt; + font-weight: normal; +} + +.rss-icon { + height: 14px; + padding-left: 5px; +} + +.pagination { + text-align: center; + margin: 30px auto; +} + +.pagination span { + color: #dddddd; +} + +/* Articles */ + +.micropost { + background-color: #F0F2F5; + margin: 40px auto; + padding: 10px; + max-width: 780px; +} + +.post, .page, .post-groups { + margin: 40px auto; + max-width: 780px; +} + +.micropost > p, .post > p, .page > p { + color: #666666; + font-size: 18px; + line-height: 28px; + margin: 0; + text-align: justify; +} + +.post > p { + margin: 20px auto; +} + +.micropost > a { + font-size: 12px; + color: #888888; + margin: 0; +} + +.post h2 { + margin: 0; + line-height: 32px; +} + +article.photo { + border-radius: 5px; + margin: 40px auto; + max-width: 780px; + overflow: hidden; + height: 300px; +} + +article.photo div { + color: #ffffff; + padding: 0; + margin: 0; + text-align: left; + overflow: hidden; +} + +article.photo .title { + background-color: #476286; + font-size: 18pt; + padding: 15px; +} + +article.photo a { + color: #ffffff; + display: block; + overflow: hidden; +} + +article.photo p { + margin: 0; +} + +article.photo img { + -webkit-transition: -webkit-transform 4s ease 0s; + -moz-transition: -moz-transform 4s ease 0s; + -o-transition: -o-transform 4s ease 0s; + transition: transform 4s ease 0s; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + width: 100%; +} + +article.photo img:hover { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate(-2deg); + transform: scale3d(1.1, 1.1, 1.1) rotate(-2deg); +} + +article .postmeta { + line-height: 22px; + color: #999999; + margin: 0 auto; + padding: 5px 0 0 0; +} + +.post-group { + display: flex; + flex-flow: row wrap; + margin: auto; +} + +.post-group-item { + flex: auto; + width: 40%; + margin: 5px; + font-size: 10pt; + color: #999999; +} + +.post-group-item:hover { + background-color: #f6f6f6; +} + +.post-group-item h3 { + color: #999999; + font-size: 16pt; + margin: 0; + padding: 6px 0 0 6px; + font-weight: normal; +} + +.post-group-item ul { + list-style-type: none; + margin: 0; + padding: 0 0 0 6px; +} + +/* Footer */ + +footer { + background-color: #545454; + color: #ffffff; + margin: 0; +} + +.footer_text { + display: flex; + flex-wrap: wrap; + margin: auto; + width: 720px; +} + +.footer_text h3 { + color: #cccccc; +} + +.footer_text a { + color: #cccccc; +} + +.footer_text > div { + flex: 1; + margin: 10px; +} + +#photos { + display: flex; + flex-flow: row wrap; +} + +.photo-item { + display: block; + height: 75px; + margin: 1px; + overflow: hidden; + padding: 0; + width: 75px; +} + +.photo-item img { + flex: auto; + -webkit-transition: -webkit-transform 0.15s ease 0s; + -moz-transition: -moz-transform 0.15s ease 0s; + -o-transition: -o-transform 0.15s ease 0s; + transition: transform 0.15s ease 0s; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + height: 100%; + width: 100%; + opacity: 0.6; +} + +.photo-item img:hover { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + opacity: 1.0; +} + +.footer_copyright { + color: #999999; + font: 12px/20px "Avenir Next", "Helvetica Neue", Arial, Helvetica, sans-serif; + margin: auto; + padding: 10px 0; + text-align: center; +} + +.footer_copyright a { + color: #cccccc; +} + +@media screen +and (max-width: 780px) { + + .footer_text { + width: 100%; + } + + .footer_text > div { + flex: auto; + width: 100%; + text-align: justify; + } + + #photos { + justify-content: center; + } + + article { + margin: 0; + padding: 20px; + } + + header { + padding: 0; + } + + header h1 { + font-size: 22px; + line-height: 30px; + text-align: center; + } + + nav ul { + margin: 0; + padding: 0; + } + + nav ul > li { + background-color: #fafafa; + display:list-item; + float: none; + margin: 0; + padding: 10px; + border-bottom: #f2f2f2 1px solid; + } + + nav ul:first-child { + border-top: #f2f2f2 1px solid; + } + + .post-group-item { + width: 100%; + } +} diff --git a/static/fonts/lg.eot b/static/fonts/lg.eot new file mode 100755 index 0000000000000000000000000000000000000000..5967563a0ad9ead3448d6dbe9c3e7034ec75a778 GIT binary patch literal 2760 zcma)8UuaWj6hGg+X;Ryp)X)G=Y3&@mA9RAL@PVNZMTVGlCK{yGIR1hr4w|Hp)>3;vTw08qgg06qO+9 zqa-9HD$^|KR3IOnq!68erZoqUop)1}WIFN2Tj9}OH@P7B8tuJwK2^Lv^5IPw^@Cr? zq{>B%d%-VZ?9Alm-+y%U*B`*&fzL--Ej43*d**W@`vUZ1SqL0?`A6{IfIpheSFVnd z{W$o?;LqmtbjtpH=TRaD8u{|6t3^6Ur@^0RzL3gmf8Dz^1%8G|x?9xC732x(I>368 zXmD)zA5HWEmCCyf(rxaIrJ`!p`2LD?!a+xfUNqH)B2=*&?z ztol*HBIE~94VgM2^Q|3PJG@q0`)uuxUz+RA4R>?1*<=@O&8LP&*>D*e(cBpLZQ$|1 z&4KcO_el5QX8+&tv^@i3a=Q~G;IDU^1vXIh6=TBItmn&Y*bqXl$q8idpTVI))A0A`zYHsGqZ^4Lp$!rCAE9|?3w^sLxPL5b%?y(y~qQMXmPCI_Vz z>~<0kuOr|HL<3Q8R1Q9Qa<=s+Ew&Iun3JG{d>acth&e`0dWFAL8-Ke-f{P@^RB_wo zRFrjT(XBY0ihDD&t|(5I+u2xkIz`awmI+d~vTg`50GkSzQ;aAGu`8b7MG)31ye9mu z)$m)ZA|>4Hm;J*PB5!8Q$kHMrD~P8wRuIKVz=(|aND-0uDTpUgjYj08Jc9iIHtP5I zBf=3-vDj)&s&B?&P^-qP*RZx!uZvnENqaCSfjI(m_TbXlhcj>(^$E~%tYbv=47s=y z+#N%U7|7pN7|4)GwK}NDj?sAJw#6k($VyNn&b?_NLBt2c)?QOPIcYz=gc5Sdp~yat z7g3Eko*}Qt;H2boyjqPfR~xikjmN9YacKphK|ta-bag17=U4T}?AQ8r5!K)#LsAV6 z;5ObQ^uSdq!BNi1@%@?vk0<OfW5Q}RjNDkpt;)@q)rI|agr?~W`ih>2 zVKFYQi@V}yDJT_;XuULs^T5RJcT=C}Y3F38k1T9H0?b?`a)?(gxlED>Ti6C1vv3D> zxBb{5k67|9IwWwT8bQ0Ues&8xv9h-;+=DZ^1YX!UONBnMFrQ<|!V>j}a~77#CQe$| z27JlF9n>cdTG$SG)WThKN)#>JP4AFuVJEWr(!xD-p1#dx_`#B`REp&@;c#ZQlAW6l zrS*KcoJwbB3+b$`=jKY`+$?M^rgAy0G*4No;49)KbB4nBGI-HcAf3a4geZ;IO&-!R z-aTnZXYtnIQOB2qO$oXjq#47{MOfwV@ylr5jJbX0)MT8dXp-WbArjP!TA{4ZmC{;B zFJ+Kc8oX8xPff%Pcbt})ln$gJbQxheXc}AyxP-uF0xV&@h89MY35qARQh8P{_)dmS z{P%0kESK3|(lT?oRB7i!&s1H|3l(2RD`=%uMVs+W&-*6Q`joC0LUaK+6i_Z7^5FRV g!&Bfjnt^PZ=Fv|WMVx{q+lH`1jCa=VZM?<*1Io7^ng9R* literal 0 HcmV?d00001 diff --git a/static/fonts/lg.svg b/static/fonts/lg.svg new file mode 100755 index 0000000..f7c4714 --- /dev/null +++ b/static/fonts/lg.svg @@ -0,0 +1,41 @@ + + + + + + +{ + "fontFamily": "lg", + "majorVersion": 1, + "minorVersion": 0, + "fontURL": "https://github.com/sachinchoolur/lightGallery", + "copyright": "sachin", + "license": "MLT", + "licenseURL": "http://opensource.org/licenses/MIT", + "version": "Version 1.0", + "fontId": "lg", + "psName": "lg", + "subFamily": "Regular", + "fullName": "lg", + "description": "Font generated by IcoMoon." +} + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/fonts/lg.ttf b/static/fonts/lg.ttf new file mode 100755 index 0000000000000000000000000000000000000000..c28a50948df3dd87e1a78d89fc517036df9395e4 GIT binary patch literal 2616 zcma)8UuauZ82`?_Y0|Yf?UF6cHoG-xwg%FfY`se}=fFC~Mxn(xZ!Rc^rs*~5xXBGk z3hRTAf$XWGpbjd+z^9SrVJP_I!ybGP5&uA2d>B$&kfE>##TT)OzjN+Q+D+E^-G1kM z|IYXO?sv|)DKR4Ir#i`W>ZMl_6N7&8!SW^e&0H~CzA^sJO(Hf7eL0`4mND;#ej9Ud z-duX?{_$VGhklpHb-!R_=iRT)e@x_FhJUgEgQqC}0R1cI#|y>UwFz>cg#G~fdDF^e z-QV>dC-Q(PRLov0(_uOb{UX;(*`o3H=eK5|&l5?Xm91(Gb%Od1aX-oO8hf95;9HTt zh2=eaX1|ll_VKt~#8CF5G)1)Km+!Uj(Uc5^llP)SAt7)y&cpE8vn-;9$wg(@51|_} z^}-g~II?kcqrCCa#vi}5H@#c__IA51a&$Z&3Xiho6CT#y8u@MH!N|>#>PYZd|IzmF zKghJZ0;NkS5 z+<}9^A=Nh#910xtxFe&{vE-T5q$=|;DW>bOWdpQqk9Xe&-L=QMt~188R#jkk1ihn!5 zsVH8b-`iUEdRfftmkCzCvMG$1AlnX~myIiccnpv6O<>M0yuiYp-3U9oB4zwMFVBxu zK;F*V$kGas72qkYHK2$B1TyeZB9IR#z>}y!89^iOMRp107!GO>teO0U1 zwbgoyR_mHpU)7{F2rYudPQurObFaK=K<0U!w@a!*OGcyy5+JSCCXA5lQih}Olx!7x zs|gi}WvbJQ@>TR(LC=z?7P(NZimYnjKesT9Lz;~4TtfTc1yzZ3eiQYp>9e4;Ju+II zT2*EWwU3h(__tU6k-uJs$58?Yj$K|M%h&t|1Lc1bTRn&rF>F7EVjOG zKDCzdSZw_%b@1;P_@~={zW&DG`M;>&#dm{#{CYpW5j!((WCm(4&aX{aBfjG}5S-*Y zJj)|AXnSlMUj|)wcpY=b;Ra^T+{U@iS*+^A`8q~(^a*`I57`)-VmH`l>}M$^l?2)# zP2xUq>Qp5ZXBc7w-J0C=t|K!MYu74~hduAuWs+FJkzJ6}j@(22-8^pCla9TQjxc;t z1y(=y&+W)w?CdQ^9>5*F4V}4ol?r{}$ow8ljx5mtyWq$&x!7q(c0s=4$UQW~4m+|N z_LL*{(HT~DfD~Z{H-9$_U zJ`>iw$a5J{CLRO!B^z`1%Gnu>W@&~rULgv!%0{VbEmm?y+^XbJRt~yRP0UVf-LmYW zEEH$}x(Zkhnu8XHTmi6M0Jm_z0ZssAnl#<0R2QsL=yd!PeiV64Ra9yrEJUZV{FL1; zd%R-g7tL&it{^ZE3=^+Xv0ay}QZ1A>N=7AHGv-5cOQGqUHEUU=I9(FyYDkzD_#7mQ c_8Bw}+Z-)noEA--MI?ug literal 0 HcmV?d00001 diff --git a/static/fonts/lg.woff b/static/fonts/lg.woff new file mode 100755 index 0000000000000000000000000000000000000000..c0599a54af509a959f090fff8bb1d93bc978202e GIT binary patch literal 2692 zcma)8U1(cn7=FKV(xhuo+9q2XH@h`ywg%FfY&}gg=fFCoqtLQClYoL~njVvmBqt;( zt`|ZEV^YySFyc$_9#ssf-DI)$rT6Qs{wjiRg3x958O?=*SPSS2;onQKX-}C-_ z@AIDT=bV0UetMb&q4iv$USm9E>Wm+6=iiKs6NzqE-(%@_lPjH16=BOlzs7QP?8=Qy zs?4^(p>r(DKqj~HK5UPOY!6r-9R2l&td?3Nvfqb)lEwbk;^$cyi5vsakFq%O@{iek zItB;95C_p6(8MZH|X z^Mc!)OEQowuZio_g_u?8JLn&qqxgeVu@Cz0CI)tEjHigU-15EFJ(`jsun0)I`3zvN z01d&%cnCd54UvsdH@!duuyn)b+c>mwc%!)S*~Xv0v^Jev?$&mzg$U|+J~cebmdo&n z*4FUv!@mvR7%mTckMtgH4L!1Q8u1PSEpH`q<5L==13D0!#uy=^v1l8|e10@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Q!$8LMF*`TF`MHy_*RtwEL0FQ6RIt7a1!U}C0dUd?Gi zM$X1StY`6#kv}nv=O_i`-co(z5@!t{3BBQHb+2PyoW-{|P8+I@GIuz_y7aZ^0&g^J z1J>6cAe6LatWY?g`uJ>xo; literal 0 HcmV?d00001 diff --git a/static/img/location.png b/static/img/location.png new file mode 100644 index 0000000000000000000000000000000000000000..d81a790dd96d0cf974367c1a5d05d71d6bbc7118 GIT binary patch literal 976 zcmeAS@N?(olHy`uVBq!ia0vp@KrF$*1|$_fl!pK*mUKs7M+SzC{oH>NS%G|oWRD45bDP46hOx7_4S6Fo+k-*%fF5l;AAzh%9Dc;1&j9Muu5) zBp4VNBQrxHN+NuHtdjF{^%7I^lT!66atnZ}85nFTtboki)RIJnirk#MVyg;UC9n!B zAR8pCucQE0Qj%?}6yY17;GAESs$i;TqGzCF$EBd4U{jQmW)z9|8>y;bpKhp88yV>WRp=I1=9MH?=;jqGLkxkLMfuL^+7WFhI$72aI=A0Z9t+{{zaLoK$}74 z+Zoz`RicPN?Xl4ZS&rlwh)=)X%W zoIN{H{q?%d^4ar?zs>QPboi3VS#{5#cI(3D2RJg=`5%b9nY4a_{(-Fu3L5j+Qa{X( z6`r$US5rjO&ts>ot_e)Gf7YZoXSvTo-q)%IT+Ngg*L>`Se8Y-Ya_w?S#m@BbQK2PHGxwN)(V_n1> z?*08+>zKB8m06klw=yTRAF8{+)%Ib#gY*YCajXA46Rz?^?Pu~`rNw@^FYmEX=97N0 zi3ZUNHq`XDPJI1y%FSOaCtf*B7r*Y1wJ)N~V*R-zbF3K zRLj1D*~s4OOWpg@mrXX3d+(?-v5S3KT+#b^o7ffcublP@HghT$|BEn{m^m+eeJ7XD zPuneaY)0~1H{0vaZ_Jh49@jBT;nQ7_S$`~Ni5WF5WWK|f*Z4*`=#{=(>BEqPGaOf} zX8YvR-+Q4m?pSuxC)ZDM-I|>`kx6U+GvBm*vEj%2+C@+L3v@j$m0V@{_c-lzy^CUJ v0@DjWRpHj)KcNB(HDW~a*fzg27prIfqg^1VS0?uoly5v;{an^LB{Ts5L62>7 literal 0 HcmV?d00001 diff --git a/static/img/rss.png b/static/img/rss.png new file mode 100644 index 0000000000000000000000000000000000000000..8537498a60b177d6afa1851b51d75a1b7605cf15 GIT binary patch literal 1919 zcmY*adpr|rAAj6V+2T!fNKV#DMcLfP+9pgkOfE%qGYnhJFmp*FCY0+bh1}K!ahgkZ zlH_y_YwE2WyKr3AOXZS|I|oz8JJs9!zR&0LJip)beZJ54`};lrJQ?n8PHGTc2mnBh zNWgo_qk(*Ct^ZEGLYn5G@}L}IN3sK;J_q`dtRmmT0tucZ0M70LAc+ltOb#WD0l+c= zVB8-7bO8X`;l<4!82N!}IKh_*0912rDuAM59RL)3sfUk79VNM<0~vG#IfxNJLB!I- z0>?pM zFc>B>C>ZUDKlt^!e20aHMn#3Ak;s^s7(|RYf)N>lG_|p@L7JE$&CHDD3}a?oSQI(d zIE=aDi^zX;@DyfXBsDyW$_Rt4>5>B&tSBrTzGn1oe5o^v8vI|UFy_~`bBzWQL0Yv%t`%$H6-qw-d95DfC$v*94FzwPz~ zKqZ%mw>wNwdweZ1^aw>q@XP1`b81prArdB+i?5b{>#g_yVh2A-?rUW@z-2J zdqZ!8ibsayg)Bnyr30?%;i`~4W%5h95ygX(>WT0|vHGQt7Y9V6aZ?W`-5%J^Q9?#r zJLg(D=Mv7h3ZM?lm|?E_oM&lieq+a#$Vj}1#&v$ic^45|KvG$9phnRs88{Mt(D z!p52XQ+v(`o|f*l$w4vT<*Xh~AIh_S>A%IkmssR_yesd|z+#INZ)crMDA5&Gq14qn z+{g=~+L)Tw&??cD6cxaC-n}v4_xRqVJ(2<>C%S2H=L>-I9+are3Y!9M?z$qdyd0gM zvrT}q&p&lB(UJF1VeE-l_0jG&g+~S%+hI+^ARk`RqV;~=9+hk@kHI0K-loLWo&j-aFBW>B)rad~oQOCn& zkWXt|ifGckTDARFc_QIak;CKk=>my}y8;^To3IG$iXtXSSWad$IZ7GEi@+5AID zMn};#_xRJx*ke5Xt$PtUO|w|_9@3xksZ0l5EsxwbF^R)LM zoGq3>`IBJEhP2>ElD@Bna!0Ik?`tZx87aJ}d^a##DB@`pU97V4G`#7b{R67iM|jCs zw4j)$*~R*3|Exq$Tik@#6nIVNdLQz@&;0d|zE_e|US9(>t3iykfX6PDVrqPl8)zmo zwf?D{^}%l!UCPRqd>F<0p08)RsPh@!?DF(-R)NHCak!;hSd#N&wYuj6UH;VZ=b8$K zwyLN3*`UOf*kjLICpmLyBJ-(bPUUsN#Oylz1+SPJzw?y;zHr>nl@o-|O!=uVqNmPe z?0~U43li*f1ju$abMuPQb+(e028dF+VBvvZ-@JKbPW|f68(roduEy6{z@MQ$!Yh%X zze_Y&kzQ>R-8O^kb5m+$6Ik-?G2L|qZgII`=*u?~((Fl3-!AHCue@*7G7n+v#jE+! z+ZWoL9*l3V#N3I7o29EK@6ZQG)QDIjvvrn-_Xuz_GwLrl%9tSO#KubnuNS;@F_W2C9zcGe^}UGp*yo* zS6JkLnhai9XEjoWu60T34?Z`{gOzlVTp9N#ieu*AodORdZyB(wwNBpZPepewp+E)M zFlUtRp>2p&jO&qda4y-+JzefE-%*?rF4mNnXQy&nxx@NlqD?Iy>Ik>$Xk2f6^kNC; z6C>K{O2nc4@%TaO-Rkg!%Bc_M_o`nbU3WWQW_MR|sC|mDEKQT4p9+qjx!0i#*>`6; z+is + + + Artboard 1 + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/static/img/rss@2x.png b/static/img/rss@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..ea4da9b53f4bdbd9576a66ced4951592a76c1281 GIT binary patch literal 2164 zcmV-)2#fcLP)Px-E=fc|RA>e5ntO0vMIFb#=bn4h2O!mELPc>(o2n(W&@^dD1Vs`4fT=~0(()g} zLv&=cGft7VX%7j?LmrNGMwvmz5g9bXh>X@&!SW0=2`vsVObe~8l|sX$4}`X9a&!Fb z;hvK{=iZy%JnlG>Z0B@;kNy45?)Ut5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q{h+V`_5&Vi>D>bS{86pU&^gtW}V@x z+01Q;CVYD~cv&vVl6Ji6dS_yJdsNV>RhLd$P5h|6th6?{=lJ8EDvoZ3)ytB-cgQZXy51gr*(Cb;6N^6Au!R=d zI~>kc&5)XH{3v>ws7X`cl_dw<-j}>{QW1Fg&|hux>=iO?ig!0`%#`PJu?XFhSZ_6# z?bE{of!I$QCONNjFQ36?RVT8J>8{>^X{YDE`2KXVyqEFw*rr;62|M$6G_Sw@s^2V_ kprye2`)1Cz|AGk&D>lAk+A@JV5L9+~y85}Sb4q9e0MAC)AOHXW literal 0 HcmV?d00001 diff --git a/static/js/lightgallery-all.min.js b/static/js/lightgallery-all.min.js new file mode 100755 index 0000000..0a64e3a --- /dev/null +++ b/static/js/lightgallery-all.min.js @@ -0,0 +1,5 @@ +/*! lightgallery - v1.2.14 - 2016-01-18 +* http://sachinchoolur.github.io/lightGallery/ +* Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */ +!function(a,b,c,d){"use strict";function e(b,d){if(this.el=b,this.$el=a(b),this.s=a.extend({},f,d),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in c.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.s.dynamic?this.$items=this.s.dynamicEl:"this"===this.s.selector?this.$items=this.$el:""!==this.s.selector?this.s.selectWithin?this.$items=a(this.s.selectWithin).find(this.s.selector):this.$items=this.$el.find(a(this.s.selector)):this.$items=this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var f={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,appendSubHtmlTo:".lg-sub-html",preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};e.prototype.init=function(){var c=this;c.s.preload>c.$items.length&&(c.s.preload=c.$items.length);var d=b.location.hash;d.indexOf("lg="+this.s.galleryId)>0&&(c.index=parseInt(d.split("&slide=")[1],10),a("body").addClass("lg-from-hash"),a("body").hasClass("lg-on")||setTimeout(function(){c.build(c.index),a("body").addClass("lg-on")})),c.s.dynamic?(c.$el.trigger("onBeforeOpen.lg"),c.index=c.s.index||0,a("body").hasClass("lg-on")||setTimeout(function(){c.build(c.index),a("body").addClass("lg-on")})):c.$items.on("click.lgcustom",function(b){try{b.preventDefault(),b.preventDefault()}catch(d){b.returnValue=!1}c.$el.trigger("onBeforeOpen.lg"),c.index=c.s.index||c.$items.index(this),a("body").hasClass("lg-on")||(c.build(c.index),a("body").addClass("lg-on"))})},e.prototype.build=function(b){var c=this;c.structure(),a.each(a.fn.lightGallery.modules,function(b){c.modules[b]=new a.fn.lightGallery.modules[b](c.el)}),c.slide(b,!1,!1),c.s.keyPress&&c.keyPress(),c.$items.length>1&&(c.arrow(),setTimeout(function(){c.enableDrag(),c.enableSwipe()},50),c.s.mousewheel&&c.mousewheel()),c.counter(),c.closeGallery(),c.$el.trigger("onAfterOpen.lg"),c.$outer.on("mousemove.lg click.lg touchstart.lg",function(){c.$outer.removeClass("lg-hide-items"),clearTimeout(c.hideBartimeout),c.hideBartimeout=setTimeout(function(){c.$outer.addClass("lg-hide-items")},c.s.hideBarsDelay)})},e.prototype.structure=function(){var c,d="",e="",f=0,g="",h=this;for(a("body").append('
'),a(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),f=0;f';if(this.s.controls&&this.$items.length>1&&(e='
'+this.s.prevHtml+'
'+this.s.nextHtml+"
"),".lg-sub-html"===this.s.appendSubHtmlTo&&(g='
'),c='
'+d+'
'+e+g+"
",a("body").append(c),this.$outer=a(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),h.setTop(),a(b).on("resize.lg orientationchange.lg",function(){setTimeout(function(){h.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss()){var i=this.$outer.find(".lg-inner");i.css("transition-timing-function",this.s.cssEasing),i.css("transition-duration",this.s.speed+"ms")}a(".lg-backdrop").addClass("in"),setTimeout(function(){h.$outer.addClass("lg-visible")},this.s.backdropDuration),this.s.download&&this.$outer.find(".lg-toolbar").append(''),this.prevScrollTop=a(b).scrollTop()},e.prototype.setTop=function(){if("100%"!==this.s.height){var c=a(b).height(),d=(c-parseInt(this.s.height,10))/2,e=this.$outer.find(".lg");c>=parseInt(this.s.height,10)?e.css("top",d+"px"):e.css("top","0px")}},e.prototype.doCss=function(){var a=function(){var a=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],b=c.documentElement,d=0;for(d=0;d'+(parseInt(this.index,10)+1)+' / '+this.$items.length+"")},e.prototype.addHtml=function(b){var c,d=null;if(this.s.dynamic?this.s.dynamicEl[b].subHtmlUrl?c=this.s.dynamicEl[b].subHtmlUrl:d=this.s.dynamicEl[b].subHtml:this.$items.eq(b).attr("data-sub-html-url")?c=this.$items.eq(b).attr("data-sub-html-url"):d=this.$items.eq(b).attr("data-sub-html"),!c)if("undefined"!=typeof d&&null!==d){var e=d.substring(0,1);d="."===e||"#"===e?a(d).html():d}else d="";".lg-sub-html"===this.s.appendSubHtmlTo?c?this.$outer.find(this.s.appendSubHtmlTo).load(c):this.$outer.find(this.s.appendSubHtmlTo).html(d):c?this.$slide.eq(b).load(c):this.$slide.eq(b).append(d),"undefined"!=typeof d&&null!==d&&(""===d?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html")),this.$el.trigger("onAfterAppendSubHtml.lg",[b])},e.prototype.preload=function(a){var b=1,c=1;for(b=1;b<=this.s.preload&&!(b>=this.$items.length-a);b++)this.loadContent(a+b,!1,0);for(c=1;c<=this.s.preload&&!(0>a-c);c++)this.loadContent(a-c,!1,0)},e.prototype.loadContent=function(c,d,e){var f,g,h,i,j,k,l=this,m=!1,n=function(c){for(var d=[],e=[],f=0;fi){g=e[j];break}};if(l.s.dynamic){if(l.s.dynamicEl[c].poster&&(m=!0,h=l.s.dynamicEl[c].poster),k=l.s.dynamicEl[c].html,g=l.s.dynamicEl[c].src,l.s.dynamicEl[c].responsive){var o=l.s.dynamicEl[c].responsive.split(",");n(o)}i=l.s.dynamicEl[c].srcset,j=l.s.dynamicEl[c].sizes}else{if(l.$items.eq(c).attr("data-poster")&&(m=!0,h=l.$items.eq(c).attr("data-poster")),k=l.$items.eq(c).attr("data-html"),g=l.$items.eq(c).attr("href")||l.$items.eq(c).attr("data-src"),l.$items.eq(c).attr("data-responsive")){var p=l.$items.eq(c).attr("data-responsive").split(",");n(p)}i=l.$items.eq(c).attr("data-srcset"),j=l.$items.eq(c).attr("data-sizes")}var q=!1;l.s.dynamic?l.s.dynamicEl[c].iframe&&(q=!0):"true"===l.$items.eq(c).attr("data-iframe")&&(q=!0);var r=l.isVideo(g,c);if(!l.$slide.eq(c).hasClass("lg-loaded")){if(q)l.$slide.eq(c).prepend('
');else if(m){var s="";s=r&&r.youtube?"lg-has-youtube":r&&r.vimeo?"lg-has-vimeo":"lg-has-html5",l.$slide.eq(c).prepend('
')}else r?(l.$slide.eq(c).prepend('
'),l.$el.trigger("hasVideo.lg",[c,g,k])):l.$slide.eq(c).prepend('
');if(l.$el.trigger("onAferAppendSlide.lg",[c]),f=l.$slide.eq(c).find(".lg-object"),j&&f.attr("sizes",j),i){f.attr("srcset",i);try{picturefill({elements:[f[0]]})}catch(t){console.error("Make sure you have included Picturefill version 2")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&l.addHtml(c),l.$slide.eq(c).addClass("lg-loaded")}l.$slide.eq(c).find(".lg-object").on("load.lg error.lg",function(){var b=0;e&&!a("body").hasClass("lg-from-hash")&&(b=e),setTimeout(function(){l.$slide.eq(c).addClass("lg-complete"),l.$el.trigger("onSlideItemLoad.lg",[c,e||0])},b)}),r&&r.html5&&!m&&l.$slide.eq(c).addClass("lg-complete"),d===!0&&(l.$slide.eq(c).hasClass("lg-complete")?l.preload(c):l.$slide.eq(c).find(".lg-object").on("load.lg error.lg",function(){l.preload(c)}))},e.prototype.slide=function(b,c,d){var e=this.$outer.find(".lg-current").index(),f=this;if(!f.lGalleryOn||e!==b){var g=this.$slide.length,h=f.lGalleryOn?this.s.speed:0,i=!1,j=!1;if(!f.lgBusy){if(this.s.download){var k;k=f.s.dynamic?f.s.dynamicEl[b].downloadUrl!==!1&&(f.s.dynamicEl[b].downloadUrl||f.s.dynamicEl[b].src):"false"!==f.$items.eq(b).attr("data-download-url")&&(f.$items.eq(b).attr("data-download-url")||f.$items.eq(b).attr("href")||f.$items.eq(b).attr("data-src")),k?(a("#lg-download").attr("href",k),f.$outer.removeClass("lg-hide-download")):f.$outer.addClass("lg-hide-download")}if(this.$el.trigger("onBeforeSlide.lg",[e,b,c,d]),f.lgBusy=!0,clearTimeout(f.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){f.addHtml(b)},h),this.arrowDisable(b),c){var l=b-1,m=b+1;0===b&&e===g-1?(m=0,l=g-1):b===g-1&&0===e&&(m=0,l=g-1),this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide"),f.$slide.eq(l).addClass("lg-prev-slide"),f.$slide.eq(m).addClass("lg-next-slide"),f.$slide.eq(b).addClass("lg-current")}else f.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),e>b?(j=!0,0!==b||e!==g-1||d||(j=!1,i=!0)):b>e&&(i=!0,b!==g-1||0!==e||d||(j=!0,i=!1)),j?(this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(e).addClass("lg-next-slide")):i&&(this.$slide.eq(b).addClass("lg-next-slide"),this.$slide.eq(e).addClass("lg-prev-slide")),setTimeout(function(){f.$slide.removeClass("lg-current"),f.$slide.eq(b).addClass("lg-current"),f.$outer.removeClass("lg-no-trans")},50);f.lGalleryOn?(setTimeout(function(){f.loadContent(b,!0,0)},this.s.speed+50),setTimeout(function(){f.lgBusy=!1,f.$el.trigger("onAfterSlide.lg",[e,b,c,d])},this.s.speed)):(f.loadContent(b,!0,f.s.backdropDuration),f.lgBusy=!1,f.$el.trigger("onAfterSlide.lg",[e,b,c,d])),f.lGalleryOn=!0,this.s.counter&&a("#lg-counter-current").text(b+1)}}},e.prototype.goToNextSlide=function(a){var b=this;b.lgBusy||(b.index+10?(b.index--,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1)):b.s.loop?(b.index=b.$items.length-1,b.$el.trigger("onBeforePrevSlide.lg",[b.index,a]),b.slide(b.index,a,!1)):b.s.slideEndAnimatoin&&(b.$outer.addClass("lg-left-end"),setTimeout(function(){b.$outer.removeClass("lg-left-end")},400)))},e.prototype.keyPress=function(){var c=this;this.$items.length>1&&a(b).on("keyup.lg",function(a){c.$items.length>1&&(37===a.keyCode&&(a.preventDefault(),c.goToPrevSlide()),39===a.keyCode&&(a.preventDefault(),c.goToNextSlide()))}),a(b).on("keydown.lg",function(a){c.s.escKey===!0&&27===a.keyCode&&(a.preventDefault(),c.$outer.hasClass("lg-thumb-open")?c.$outer.removeClass("lg-thumb-open"):c.destroy())})},e.prototype.arrow=function(){var a=this;this.$outer.find(".lg-prev").on("click.lg",function(){a.goToPrevSlide()}),this.$outer.find(".lg-next").on("click.lg",function(){a.goToNextSlide()})},e.prototype.arrowDisable=function(a){!this.s.loop&&this.s.hideControlOnEnd&&(a+10?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))},e.prototype.setTranslate=function(a,b,c){this.s.useLeft?a.css("left",b):a.css({transform:"translate3d("+b+"px, "+c+"px, 0px)"})},e.prototype.touchMove=function(b,c){var d=c-b;Math.abs(d)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),d,0),this.setTranslate(a(".lg-prev-slide"),-this.$slide.eq(this.index).width()+d,0),this.setTranslate(a(".lg-next-slide"),this.$slide.eq(this.index).width()+d,0))},e.prototype.touchEnd=function(a){var b=this;"lg-slide"!==b.s.mode&&b.$outer.addClass("lg-slide"),this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0"),setTimeout(function(){b.$outer.removeClass("lg-dragging"),0>a&&Math.abs(a)>b.s.swipeThreshold?b.goToNextSlide(!0):a>0&&Math.abs(a)>b.s.swipeThreshold?b.goToPrevSlide(!0):Math.abs(a)<5&&b.$el.trigger("onSlideClick.lg"),b.$slide.removeAttr("style")}),setTimeout(function(){b.$outer.hasClass("lg-dragging")||"lg-slide"===b.s.mode||b.$outer.removeClass("lg-slide")},b.s.speed+100)},e.prototype.enableSwipe=function(){var a=this,b=0,c=0,d=!1;a.s.enableSwipe&&a.isTouch&&a.doCss()&&(a.$slide.on("touchstart.lg",function(c){a.$outer.hasClass("lg-zoomed")||a.lgBusy||(c.preventDefault(),a.manageSwipeClass(),b=c.originalEvent.targetTouches[0].pageX)}),a.$slide.on("touchmove.lg",function(e){a.$outer.hasClass("lg-zoomed")||(e.preventDefault(),c=e.originalEvent.targetTouches[0].pageX,a.touchMove(b,c),d=!0)}),a.$slide.on("touchend.lg",function(){a.$outer.hasClass("lg-zoomed")||(d?(d=!1,a.touchEnd(c-b)):a.$el.trigger("onSlideClick.lg"))}))},e.prototype.enableDrag=function(){var c=this,d=0,e=0,f=!1,g=!1;c.s.enableDrag&&!c.isTouch&&c.doCss()&&(c.$slide.on("mousedown.lg",function(b){c.$outer.hasClass("lg-zoomed")||(a(b.target).hasClass("lg-object")||a(b.target).hasClass("lg-video-play"))&&(b.preventDefault(),c.lgBusy||(c.manageSwipeClass(),d=b.pageX,f=!0,c.$outer.scrollLeft+=1,c.$outer.scrollLeft-=1,c.$outer.removeClass("lg-grab").addClass("lg-grabbing"),c.$el.trigger("onDragstart.lg")))}),a(b).on("mousemove.lg",function(a){f&&(g=!0,e=a.pageX,c.touchMove(d,e),c.$el.trigger("onDragmove.lg"))}),a(b).on("mouseup.lg",function(b){g?(g=!1,c.touchEnd(e-d),c.$el.trigger("onDragend.lg")):(a(b.target).hasClass("lg-object")||a(b.target).hasClass("lg-video-play"))&&c.$el.trigger("onSlideClick.lg"),f&&(f=!1,c.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))},e.prototype.manageSwipeClass=function(){var a=this.index+1,b=this.index-1,c=this.$slide.length;this.s.loop&&(0===this.index?b=c-1:this.index===c-1&&(a=0)),this.$slide.removeClass("lg-next-slide lg-prev-slide"),b>-1&&this.$slide.eq(b).addClass("lg-prev-slide"),this.$slide.eq(a).addClass("lg-next-slide")},e.prototype.mousewheel=function(){var a=this;a.$outer.on("mousewheel.lg",function(b){b.deltaY&&(b.deltaY>0?a.goToPrevSlide():a.goToNextSlide(),b.preventDefault())})},e.prototype.closeGallery=function(){var b=this,c=!1;this.$outer.find(".lg-close").on("click.lg",function(){b.destroy()}),b.s.closable&&(b.$outer.on("mousedown.lg",function(b){c=a(b.target).is(".lg-outer")||a(b.target).is(".lg-item ")||a(b.target).is(".lg-img-wrap")?!0:!1}),b.$outer.on("mouseup.lg",function(d){(a(d.target).is(".lg-outer")||a(d.target).is(".lg-item ")||a(d.target).is(".lg-img-wrap")&&c)&&(b.$outer.hasClass("lg-dragging")||b.destroy())}))},e.prototype.destroy=function(c){var d=this;c||d.$el.trigger("onBeforeClose.lg"),a(b).scrollTop(d.prevScrollTop),c&&(d.s.dynamic||this.$items.off("click.lg click.lgcustom"),a.removeData(d.el,"lightGallery")),this.$el.off(".lg.tm"),a.each(a.fn.lightGallery.modules,function(a){d.modules[a]&&d.modules[a].destroy()}),this.lGalleryOn=!1,clearTimeout(d.hideBartimeout),this.hideBartimeout=!1,a(b).off(".lg"),a("body").removeClass("lg-on lg-from-hash"),d.$outer&&d.$outer.removeClass("lg-visible"),a(".lg-backdrop").removeClass("in"),setTimeout(function(){d.$outer&&d.$outer.remove(),a(".lg-backdrop").remove(),c||d.$el.trigger("onCloseAfter.lg")},d.s.backdropDuration+50)},a.fn.lightGallery=function(b){return this.each(function(){if(a.data(this,"lightGallery"))try{a(this).data("lightGallery").init()}catch(c){console.error("lightGallery has not initiated properly")}else a.data(this,"lightGallery",new e(this,b))})},a.fn.lightGallery.modules={}}(jQuery,window,document),function(a,b,c,d){"use strict";var e={autoplay:!1,pause:5e3,progressBar:!0,fourceAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar"},f=function(b){return this.core=a(b).data("lightGallery"),this.$el=a(b),this.core.$items.length<2?!1:(this.core.s=a.extend({},e,this.core.s),this.interval=!1,this.fromAuto=!0,this.canceledOnTouch=!1,this.fourceAutoplayTemp=this.core.s.fourceAutoplay,this.core.doCss()||(this.core.s.progressBar=!1),this.init(),this)};f.prototype.init=function(){var a=this;a.core.s.autoplayControls&&a.controls(),a.core.s.progressBar&&a.core.$outer.find(".lg").append('
'),a.progress(),a.core.s.autoplay&&a.startlAuto(),a.$el.on("onDragstart.lg.tm touchstart.lg.tm",function(){a.interval&&(a.cancelAuto(),a.canceledOnTouch=!0)}),a.$el.on("onDragend.lg.tm touchend.lg.tm onSlideClick.lg.tm",function(){!a.interval&&a.canceledOnTouch&&(a.startlAuto(),a.canceledOnTouch=!1)})},f.prototype.progress=function(){var a,b,c=this;c.$el.on("onBeforeSlide.lg.tm",function(){c.core.s.progressBar&&c.fromAuto&&(a=c.core.$outer.find(".lg-progress-bar"),b=c.core.$outer.find(".lg-progress"),c.interval&&(b.removeAttr("style"),a.removeClass("lg-start"),setTimeout(function(){b.css("transition","width "+(c.core.s.speed+c.core.s.pause)+"ms ease 0s"),a.addClass("lg-start")},20))),c.fromAuto||c.core.s.fourceAutoplay||c.cancelAuto(),c.fromAuto=!1})},f.prototype.controls=function(){var b=this,c='';a(this.core.s.appendAutoplayControlsTo).append(c),b.core.$outer.find(".lg-autoplay-button").on("click.lg",function(){a(b.core.$outer).hasClass("lg-show-autoplay")?(b.cancelAuto(),b.core.s.fourceAutoplay=!1):b.interval||(b.startlAuto(),b.core.s.fourceAutoplay=b.fourceAutoplayTemp)})},f.prototype.startlAuto=function(){var a=this;a.core.$outer.find(".lg-progress").css("transition","width "+(a.core.s.speed+a.core.s.pause)+"ms ease 0s"),a.core.$outer.addClass("lg-show-autoplay"),a.core.$outer.find(".lg-progress-bar").addClass("lg-start"),a.interval=setInterval(function(){a.core.index+11&&this.init(),this};f.prototype.init=function(){var b,c,d,e=this,f="";if(e.core.$outer.find(".lg").append('
'),e.core.s.dynamic)for(var g=0;g
';else e.core.$items.each(function(){f+=e.core.s.exThumbImage?'
':'
'});c=e.core.$outer.find(".lg-pager-outer"),c.html(f),b=e.core.$outer.find(".lg-pager-cont"),b.on("click.lg touchend.lg",function(){var b=a(this);e.core.index=b.index(),e.core.slide(e.core.index,!1,!1)}),c.on("mouseover.lg",function(){clearTimeout(d),c.addClass("lg-pager-hover")}),c.on("mouseout.lg",function(){d=setTimeout(function(){c.removeClass("lg-pager-hover")})}),e.core.$el.on("onBeforeSlide.lg.tm",function(a,c,d){b.removeClass("lg-pager-active"),b.eq(d).addClass("lg-pager-active")})},f.prototype.destroy=function(){},a.fn.lightGallery.modules.pager=f}(jQuery,window,document),function(a,b,c,d){"use strict";var e={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},f=function(b){return this.core=a(b).data("lightGallery"),this.core.s=a.extend({},e,this.core.s),this.$el=a(b),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.left=0,this.init(),this};f.prototype.init=function(){var a=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout(function(){a.core.$outer.addClass("lg-thumb-open")},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb?(this.core.s.enableThumbDrag&&!this.core.isTouch&&this.core.doCss()&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.core.isTouch&&this.core.doCss()&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())},f.prototype.build=function(){function c(a,b,c){var d,h=e.core.isVideo(a,c)||{},i="";h.youtube||h.vimeo||h.dailymotion?h.youtube?d=e.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+h.youtube[1]+"/"+e.core.s.youtubeThumbSize+".jpg":b:h.vimeo?e.core.s.loadVimeoThumbnail?(d="//i.vimeocdn.com/video/error_"+g+".jpg",i=h.vimeo[1]):d=b:h.dailymotion&&(d=e.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+h.dailymotion[1]:b):d=b,f+='
',i=""}var d,e=this,f="",g="",h='
';switch(this.core.s.vimeoThumbSize){case"thumbnail_large":g="640";break;case"thumbnail_medium":g="200x150";break;case"thumbnail_small":g="100x75"}if(e.core.$outer.addClass("lg-has-thumb"),e.core.$outer.find(".lg").append(h),e.$thumbOuter=e.core.$outer.find(".lg-thumb-outer"),e.thumbOuterWidth=e.$thumbOuter.width(),e.core.s.animateThumb&&e.core.$outer.find(".lg-thumb").css({width:e.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&e.$thumbOuter.css("height",e.core.s.thumbContHeight+"px"),e.core.s.dynamic)for(var i=0;ithis.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth),this.left<0&&(this.left=0),this.core.lGalleryOn?(b.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||b.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||b.css("left",-this.left+"px"),this.setTranslate(this.left)}},f.prototype.enableThumbDrag=function(){var c=this,d=0,e=0,f=!1,g=!1,h=0;c.$thumbOuter.addClass("lg-grab"),c.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(a){c.thumbTotalWidth>c.thumbOuterWidth&&(a.preventDefault(),d=a.pageX,f=!0,c.core.$outer.scrollLeft+=1,c.core.$outer.scrollLeft-=1,c.thumbClickable=!1,c.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))}),a(b).on("mousemove.lg.thumb",function(a){f&&(h=c.left,g=!0,e=a.pageX,c.$thumbOuter.addClass("lg-dragging"),h-=e-d,h>c.thumbTotalWidth-c.thumbOuterWidth&&(h=c.thumbTotalWidth-c.thumbOuterWidth),0>h&&(h=0),c.setTranslate(h))}),a(b).on("mouseup.lg.thumb",function(){g?(g=!1,c.$thumbOuter.removeClass("lg-dragging"),c.left=h,Math.abs(e-d)a.thumbOuterWidth&&(c.preventDefault(),b=c.originalEvent.targetTouches[0].pageX,a.thumbClickable=!1)}),a.core.$outer.find(".lg-thumb").on("touchmove.lg",function(f){a.thumbTotalWidth>a.thumbOuterWidth&&(f.preventDefault(),c=f.originalEvent.targetTouches[0].pageX,d=!0,a.$thumbOuter.addClass("lg-dragging"),e=a.left,e-=c-b,e>a.thumbTotalWidth-a.thumbOuterWidth&&(e=a.thumbTotalWidth-a.thumbOuterWidth),0>e&&(e=0),a.setTranslate(e))}),a.core.$outer.find(".lg-thumb").on("touchend.lg",function(){a.thumbTotalWidth>a.thumbOuterWidth&&d?(d=!1,a.$thumbOuter.removeClass("lg-dragging"),Math.abs(c-b)'),a.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){a.core.$outer.toggleClass("lg-thumb-open")}))},f.prototype.thumbkeyPress=function(){var c=this;a(b).on("keydown.lg.thumb",function(a){38===a.keyCode?(a.preventDefault(),c.core.$outer.addClass("lg-thumb-open")):40===a.keyCode&&(a.preventDefault(),c.core.$outer.removeClass("lg-thumb-open"))})},f.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(a(b).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))},a.fn.lightGallery.modules.Thumbnail=f}(jQuery,window,document),function(a,b,c,d){"use strict";var e={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,videojs:!1},f=function(b){return this.core=a(b).data("lightGallery"),this.$el=a(b),this.core.s=a.extend({},e,this.core.s),this.videoLoaded=!1,this.init(),this};f.prototype.init=function(){var b=this;b.core.$el.on("hasVideo.lg.tm",function(a,c,d,e){if(b.core.$slide.eq(c).find(".lg-video").append(b.loadVideo(d,"lg-object",!0,c,e)),e)if(b.core.s.videojs)try{videojs(b.core.$slide.eq(c).find(".lg-html5").get(0),{},function(){b.videoLoaded||this.play()})}catch(f){console.error("Make sure you have included videojs")}else b.core.$slide.eq(c).find(".lg-html5").get(0).play()}),b.core.$el.on("onAferAppendSlide.lg.tm",function(a,c){b.core.$slide.eq(c).find(".lg-video-cont").css("max-width",b.core.s.videoMaxWidth),b.videoLoaded=!0});var c=function(a){if(a.find(".lg-object").hasClass("lg-has-poster")&&a.find(".lg-object").is(":visible"))if(a.hasClass("lg-has-video")){var c=a.find(".lg-youtube").get(0),d=a.find(".lg-vimeo").get(0),e=a.find(".lg-dailymotion").get(0),f=a.find(".lg-html5").get(0);if(c)c.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(d)try{$f(d).api("play")}catch(g){console.error("Make sure you have included froogaloop2 js")}else if(e)e.contentWindow.postMessage("play","*");else if(f)if(b.core.s.videojs)try{videojs(f).play()}catch(g){console.error("Make sure you have included videojs")}else f.play();a.addClass("lg-video-palying")}else{a.addClass("lg-video-palying lg-has-video");var h,i,j=function(c,d){if(a.find(".lg-video").append(b.loadVideo(c,"",!1,b.core.index,d)),d)if(b.core.s.videojs)try{videojs(b.core.$slide.eq(b.core.index).find(".lg-html5").get(0),{},function(){this.play()})}catch(e){console.error("Make sure you have included videojs"); +}else b.core.$slide.eq(b.core.index).find(".lg-html5").get(0).play()};b.core.s.dynamic?(h=b.core.s.dynamicEl[b.core.index].src,i=b.core.s.dynamicEl[b.core.index].html,j(h,i)):(h=b.core.$items.eq(b.core.index).attr("href")||b.core.$items.eq(b.core.index).attr("data-src"),i=b.core.$items.eq(b.core.index).attr("data-html"),j(h,i));var k=a.find(".lg-object");a.find(".lg-video").append(k),a.find(".lg-video-object").hasClass("lg-html5")||(a.removeClass("lg-complete"),a.find(".lg-video-object").on("load.lg error.lg",function(){a.addClass("lg-complete")}))}};b.core.doCss()&&b.core.$items.length>1&&(b.core.s.enableSwipe&&b.core.isTouch||b.core.s.enableDrag&&!b.core.isTouch)?b.core.$el.on("onSlideClick.lg.tm",function(){var a=b.core.$slide.eq(b.core.index);c(a)}):b.core.$slide.on("click.lg",function(){c(a(this))}),b.core.$el.on("onBeforeSlide.lg.tm",function(a,c,d){var e=b.core.$slide.eq(c),f=e.find(".lg-youtube").get(0),g=e.find(".lg-vimeo").get(0),h=e.find(".lg-dailymotion").get(0),i=e.find(".lg-html5").get(0);if(f)f.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(g)try{$f(g).api("pause")}catch(j){console.error("Make sure you have included froogaloop2 js")}else if(h)h.contentWindow.postMessage("pause","*");else if(i)if(b.core.s.videojs)try{videojs(i).pause()}catch(j){console.error("Make sure you have included videojs")}else i.pause();var k;k=b.core.s.dynamic?b.core.s.dynamicEl[d].src:b.core.$items.eq(d).attr("href")||b.core.$items.eq(d).attr("data-src");var l=b.core.isVideo(k,d)||{};(l.youtube||l.vimeo||l.dailymotion)&&b.core.$outer.addClass("lg-hide-download")}),b.core.$el.on("onAfterSlide.lg.tm",function(a,c){b.core.$slide.eq(c).removeClass("lg-video-palying")})},f.prototype.loadVideo=function(b,c,d,e,f){var g="",h=1,i="",j=this.core.isVideo(b,e)||{};if(d&&(h=this.videoLoaded?0:1),j.youtube)i="?wmode=opaque&autoplay="+h+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(i=i+"&"+a.param(this.core.s.youtubePlayerParams)),g='';else if(j.vimeo)i="?autoplay="+h+"&api=1",this.core.s.vimeoPlayerParams&&(i=i+"&"+a.param(this.core.s.vimeoPlayerParams)),g='';else if(j.dailymotion)i="?wmode=opaque&autoplay="+h+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(i=i+"&"+a.param(this.core.s.dailymotionPlayerParams)),g='';else if(j.html5){var k=f.substring(0,1);("."===k||"#"===k)&&(f=a(f).html()),g=f}return g},f.prototype.destroy=function(){this.videoLoaded=!1},a.fn.lightGallery.modules.video=f}(jQuery,window,document),function(a,b,c,d){"use strict";var e={scale:1,zoom:!0,enableZoomAfter:300},f=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},e,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=a(b).width()/2,this.pageY=a(b).height()/2+a(b).scrollTop()),this};f.prototype.init=function(){var c=this,d='';this.core.$outer.find(".lg-toolbar").append(d),c.core.$el.on("onSlideItemLoad.lg.tm.zoom",function(b,d,e){var f=c.core.s.enableZoomAfter+e;a("body").hasClass("lg-from-hash")&&e?f=0:a("body").removeClass("lg-from-hash"),c.zoomabletimeout=setTimeout(function(){c.core.$slide.eq(d).addClass("lg-zoomable")},f+30)});var e=1,f=function(d){var e,f,g=c.core.$outer.find(".lg-current .lg-image"),h=(a(b).width()-g.width())/2,i=(a(b).height()-g.height())/2+a(b).scrollTop();e=c.pageX-h,f=c.pageY-i;var j=(d-1)*e,k=(d-1)*f;g.css("transform","scale3d("+d+", "+d+", 1)").attr("data-scale",d),g.parent().css("transform","translate3d(-"+j+"px, -"+k+"px, 0)").attr("data-x",j).attr("data-y",k)},g=function(){e>1?c.core.$outer.addClass("lg-zoomed"):c.resetZoom(),1>e&&(e=1),f(e)},h=function(a,b,d){var f,h=b.width();f=c.core.s.dynamic?c.core.s.dynamicEl[d].width||b[0].naturalWidth||h:c.core.$items.eq(d).attr("data-width")||b[0].naturalWidth||h;var i;c.core.$outer.hasClass("lg-zoomed")?e=1:f>h&&(i=f/h,e=i||2),c.pageX=a.pageX||a.originalEvent.targetTouches[0].pageX,c.pageY=a.pageY||a.originalEvent.targetTouches[0].pageY,g(),setTimeout(function(){c.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")},10)},i=!1;c.core.$el.on("onAferAppendSlide.lg.tm.zoom",function(a,b){var d=c.core.$slide.eq(b).find(".lg-image");d.on("dblclick",function(a){h(a,d,b)}),d.on("touchstart",function(a){i?(clearTimeout(i),i=null,h(a,d,b)):i=setTimeout(function(){i=null},300),a.preventDefault()})}),a(b).on("resize.lg.zoom scroll.lg.zoom orientationchange.lg.zoom",function(){c.pageX=a(b).width()/2,c.pageY=a(b).height()/2+a(b).scrollTop(),f(e)}),a("#lg-zoom-out").on("click.lg",function(){c.core.$outer.find(".lg-current .lg-image").length&&(e-=c.core.s.scale,g())}),a("#lg-zoom-in").on("click.lg",function(){c.core.$outer.find(".lg-current .lg-image").length&&(e+=c.core.s.scale,g())}),c.core.$el.on("onBeforeSlide.lg.tm",function(){e=1,c.resetZoom()}),c.core.isTouch||c.zoomDrag(),c.core.isTouch&&c.zoomSwipe()},f.prototype.resetZoom=function(){this.core.$outer.removeClass("lg-zoomed"),this.core.$slide.find(".lg-img-wrap").removeAttr("style data-x data-y"),this.core.$slide.find(".lg-image").removeAttr("style data-scale"),this.pageX=a(b).width()/2,this.pageY=a(b).height()/2+a(b).scrollTop()},f.prototype.zoomSwipe=function(){var a=this,b={},c={},d=!1,e=!1,f=!1;a.core.$slide.on("touchstart.lg",function(c){if(a.core.$outer.hasClass("lg-zoomed")){var d=a.core.$slide.eq(a.core.index).find(".lg-object");f=d.outerHeight()*d.attr("data-scale")>a.core.$outer.find(".lg").height(),e=d.outerWidth()*d.attr("data-scale")>a.core.$outer.find(".lg").width(),(e||f)&&(c.preventDefault(),b={x:c.originalEvent.targetTouches[0].pageX,y:c.originalEvent.targetTouches[0].pageY})}}),a.core.$slide.on("touchmove.lg",function(g){if(a.core.$outer.hasClass("lg-zoomed")){var h,i,j=a.core.$slide.eq(a.core.index).find(".lg-img-wrap");g.preventDefault(),d=!0,c={x:g.originalEvent.targetTouches[0].pageX,y:g.originalEvent.targetTouches[0].pageY},a.core.$outer.addClass("lg-zoom-dragging"),i=f?-Math.abs(j.attr("data-y"))+(c.y-b.y):-Math.abs(j.attr("data-y")),h=e?-Math.abs(j.attr("data-x"))+(c.x-b.x):-Math.abs(j.attr("data-x")),(Math.abs(c.x-b.x)>15||Math.abs(c.y-b.y)>15)&&j.css("transform","translate3d("+h+"px, "+i+"px, 0)")}}),a.core.$slide.on("touchend.lg",function(){a.core.$outer.hasClass("lg-zoomed")&&d&&(d=!1,a.core.$outer.removeClass("lg-zoom-dragging"),a.touchendZoom(b,c,e,f))})},f.prototype.zoomDrag=function(){var c=this,d={},e={},f=!1,g=!1,h=!1,i=!1;c.core.$slide.on("mousedown.lg.zoom",function(b){var e=c.core.$slide.eq(c.core.index).find(".lg-object");i=e.outerHeight()*e.attr("data-scale")>c.core.$outer.find(".lg").height(),h=e.outerWidth()*e.attr("data-scale")>c.core.$outer.find(".lg").width(),c.core.$outer.hasClass("lg-zoomed")&&a(b.target).hasClass("lg-object")&&(h||i)&&(b.preventDefault(),d={x:b.pageX,y:b.pageY},f=!0,c.core.$outer.scrollLeft+=1,c.core.$outer.scrollLeft-=1,c.core.$outer.removeClass("lg-grab").addClass("lg-grabbing"))}),a(b).on("mousemove.lg.zoom",function(a){if(f){var b,j,k=c.core.$slide.eq(c.core.index).find(".lg-img-wrap");g=!0,e={x:a.pageX,y:a.pageY},c.core.$outer.addClass("lg-zoom-dragging"),j=i?-Math.abs(k.attr("data-y"))+(e.y-d.y):-Math.abs(k.attr("data-y")),b=h?-Math.abs(k.attr("data-x"))+(e.x-d.x):-Math.abs(k.attr("data-x")),k.css("transform","translate3d("+b+"px, "+j+"px, 0)")}}),a(b).on("mouseup.lg.zoom",function(a){f&&(f=!1,c.core.$outer.removeClass("lg-zoom-dragging"),!g||d.x===e.x&&d.y===e.y||(e={x:a.pageX,y:a.pageY},c.touchendZoom(d,e,h,i)),g=!1),c.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")})},f.prototype.touchendZoom=function(a,b,c,d){var e=this,f=e.core.$slide.eq(e.core.index).find(".lg-img-wrap"),g=e.core.$slide.eq(e.core.index).find(".lg-object"),h=-Math.abs(f.attr("data-x"))+(b.x-a.x),i=-Math.abs(f.attr("data-y"))+(b.y-a.y),j=(e.core.$outer.find(".lg").height()-g.outerHeight())/2,k=Math.abs(g.outerHeight()*Math.abs(g.attr("data-scale"))-e.core.$outer.find(".lg").height()+j),l=(e.core.$outer.find(".lg").width()-g.outerWidth())/2,m=Math.abs(g.outerWidth()*Math.abs(g.attr("data-scale"))-e.core.$outer.find(".lg").width()+l);(Math.abs(b.x-a.x)>15||Math.abs(b.y-a.y)>15)&&(d&&(-k>=i?i=-k:i>=-j&&(i=-j)),c&&(-m>=h?h=-m:h>=-l&&(h=-l)),d?f.attr("data-y",Math.abs(i)):i=-Math.abs(f.attr("data-y")),c?f.attr("data-x",Math.abs(h)):h=-Math.abs(f.attr("data-x")),f.css("transform","translate3d("+h+"px, "+i+"px, 0)"))},f.prototype.destroy=function(){var c=this;c.core.$el.off(".lg.zoom"),a(b).off(".lg.zoom"),c.core.$slide.off(".lg.zoom"),c.core.$el.off(".lg.tm.zoom"),c.resetZoom(),clearTimeout(c.zoomabletimeout),c.zoomabletimeout=!1},a.fn.lightGallery.modules.zoom=f}(jQuery,window,document),function(a,b,c,d){"use strict";var e={hash:!0},f=function(c){return this.core=a(c).data("lightGallery"),this.core.s=a.extend({},e,this.core.s),this.core.s.hash&&(this.oldHash=b.location.hash,this.init()),this};f.prototype.init=function(){var c,d=this;d.core.$el.on("onAfterSlide.lg.tm",function(a,c,e){b.location.hash="lg="+d.core.s.galleryId+"&slide="+e}),a(b).on("hashchange",function(){c=b.location.hash;var a=parseInt(c.split("&slide=")[1],10);c.indexOf("lg="+d.core.s.galleryId)>-1?d.core.slide(a):d.core.lGalleryOn&&d.core.destroy()})},f.prototype.destroy=function(){this.oldHash&&this.oldHash.indexOf("lg="+this.core.s.galleryId)<0?b.location.hash=this.oldHash:history.pushState?history.pushState("",c.title,b.location.pathname+b.location.search):b.location.hash=""},a.fn.lightGallery.modules.hash=f}(jQuery,window,document); \ No newline at end of file diff --git a/static/js/weblog.js b/static/js/weblog.js new file mode 100644 index 0000000..f59e79a --- /dev/null +++ b/static/js/weblog.js @@ -0,0 +1,27 @@ +var iweblog = {}; +iweblog.application = function() { + + // @sumamary: format flickr results for display + function _display_images(data, count) { + var htmlString = "", cnt = 0; + + $.each(data.items, function(i,item){ + if (cnt == count) return; + + var image = item.media.m; + var smallImage = image.replace("_m.jpg", "_s.jpg"); + var largeImage = image.replace("_m.jpg", ".jpg"); + htmlString += ""; + htmlString += ""; + htmlString += ""; + cnt++; + }); + + $('#photos').html(htmlString); + $('#photos').lightGallery(); + } + + return { + displayImages: function(data, count) { _display_images(data, count); } + } +}(); diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..ab58847 --- /dev/null +++ b/theme.toml @@ -0,0 +1,13 @@ +name = "Internet Weblog" +license = "MIT" +licenselink = "https://github.com/jnjosh/internet-weblog/blob/master/LICENSE.md" +description = "A personal, minimal blog theme for Hugo." +homepage = "http://jnjosh.com" +tags = ["blog", "personal", "minimal", "microblog", "photoblog", "linkblog"] +features = ["Microblog", "Photoblog", "Blog", "Flickr Photo Stream", "Personal Blog", "Link Blog"] +version = 1.0 +min_version = 0.14 + +[author] + name = "Josh Johnson" + homepage = "http://jnjosh.com"