Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE html>
- <html b:version='2' class='v2' expr:dir='data:blog.languageDirection' id='root-html' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
- <head>
- <meta charset='utf-8'/>
- <meta content='width=device-width, initial-scale=1' name='viewport'/>
- <b:include data='blog' name='all-head-content'/>
- <title>
- <b:if cond='data:blog.pageType == "index"'>
- <data:blog.pageTitle/>
- <b:else/>
- <b:if cond='data:blog.pageType != "error_page"'>
- <data:blog.pageName/> - <data:blog.title/>
- <b:else/>
- ERROR 404 - <data:blog.title/>
- </b:if>
- </b:if>
- </title>
- <!-- Description and Keywords (start) -->
- <b:if cond='data:blog.pageType == "index"'>
- <meta content='YOUR DESCRIPTION HERE' name='description'/>
- </b:if>
- <meta content='YOUR KEYWORDS HERE' name='keywords'/>
- <!-- Description and Keywords (end) -->
- <b:if cond='data:blog.pageType == "item"'>
- <meta expr:content='data:blog.pageName' property='og:title'/>
- <meta expr:content='data:blog.canonicalUrl' property='og:url'/>
- <meta content='article' property='og:type'/>
- </b:if>
- <b:if cond='data:blog.postImageUrl'>
- <meta expr:content='data:blog.postImageUrl' property='og:image'/>
- <b:else/>
- <b:if cond='data:blog.postImageThumbnailUrl'>
- <meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
- </b:if></b:if>
- <b:if cond='data:blog.metaDescription != ""'>
- <meta expr:content='data:blog.metaDescription' name='og:description'/>
- </b:if>
- <meta expr:content='data:blog.title' property='og:site_name'/>
- <meta expr:content='data:blog.homepageUrl' name='twitter:domain'/>
- <meta expr:content='data:blog.pageName' name='twitter:title'/>
- <b:if cond='data:blog.postImageUrl'>
- <meta content='summary_large_image' name='twitter:card'/>
- <meta expr:content='data:blog.postImageUrl' name='twitter:image'/>
- <b:else/>
- <meta content='summary' name='twitter:card'/>
- <b:if cond='data:blog.postImageThumbnailUrl'>
- <meta expr:content='data:blog.postImageThumbnailUrl' name='twitter:image'/>
- </b:if>
- </b:if>
- <meta expr:content='data:blog.pageName' name='twitter:title'/>
- <b:if cond='data:blog.metaDescription'>
- <meta expr:content='data:blog.metaDescription' name='twitter:description'/>
- </b:if>
- <script type='application/ld+json'>{"@context":"http://schema.org","@type":"WebSite","name":"<data:view.title.escaped/>","url":"<data:view.url.canonical/>","potentialAction":{"@type":"SearchAction","target":"<data:view.url.canonical/>search?q={search_term_string}","query-input":"required name=search_term_string"}}</script>
- <!-- Social Media meta tag need customer customization -->
- <meta content='Facebook App ID here' property='fb:app_id'/>
- <meta content='Facebook Admin ID here' property='fb:admins'/>
- <meta content='@username' name='twitter:site'/>
- <meta content='@username' name='twitter:creator'/>
- <link href='https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css' rel='stylesheet'/>
- <link href='//fonts.googleapis.com/css?family=Roboto+Slab:400,700' rel='stylesheet' type='text/css'/>
- <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,900' rel='stylesheet' type='text/css'/>
- <b:skin><![CDATA[/*
- -----------------------------------------------
- Blogger Template Style
- Name : Jupiter
- Author : https://www.soratemplates.com
- License: Premium Version
- Version: 2.0
- Decrypt: https://local-hunter.com
- Join Discussion with us:
- https://discord.gg/UxMP2Kc
- ----------------------------------------------- */
- /* Variable definitions
- ====================
- <Variable name="keycolor" description="Main Color" type="color" default="#299bfa" value="#299bfa"/>
- <Variable name="header_bg" description="Header Background Color" type="color" default="#222" value="#222222"/>
- <Variable name="footer_bg" description="Background Color Of The Footer" type="color" default="#333" value="#333333"/>
- <Variable name="main_bg_color" description="Background Color Of The Blog" type="color" default="#374551" value="#374551"/>
- <Group description="Backgrounds" selector=".body-fauxcolumns-outer">
- <Variable name="body.background.color" description="Outer Background" type="color" default="#374551" value="#374551"/>
- </Group>
- <Variable name="body.background" description="Body Background" type="background"
- color="$(body.background.color)" default="$(color) none repeat scroll top left" value="$(color) none repeat scroll top left"/>
- */
- /*======================================
- +/+ Styles
- ======================================*/
- /* http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
- */
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- b, u, i, center,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td,
- article, aside, canvas, details, embed,
- figure, figcaption, footer, header, hgroup,
- menu, nav, output, ruby, section, summary,
- time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- vertical-align: baseline;
- }
- .CSS_LIGHTBOX{z-index:999999!important}.CSS_LIGHTBOX_ATTRIBUTION_INDEX_CONTAINER .CSS_HCONT_CHILDREN_HOLDER > .CSS_LAYOUT_COMPONENT.CSS_HCONT_CHILD:first-child > .CSS_LAYOUT_COMPONENT{opacity:0}
- body {
- line-height: 1;
- }
- ol, ul {
- list-style: none;
- }
- blockquote, q {
- quotes: none;
- }
- blockquote:before, blockquote:after,
- q:before, q:after {
- content: '';
- content: none;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- .widget img {
- max-width: 100%;
- }
- /*======================================
- +/+ General Styles
- ======================================*/
- .clearfix { zoom: 1; }
- .clearfix:before,
- .clearfix:after { content: ''; display: table; width: 0; height: 0;}
- .clearfix:after { clear: both; }
- *, *:before, *:after{
- transition: all 0.3s ease-in-out;
- -webkit-transition: all 0.3s ease-in-out;
- box-sizing: border-box;
- -webkit-box-sizing: border-box;
- }
- body {
- overflow-x: hidden;
- font-family: 'Roboto', sans-serif;
- background: $(body.background);
- max-width: 1220px;
- margin: 0 auto;
- }
- .section, .widget {
- margin: 0;
- padding: 0;
- }
- h1, h2, h3, h4, h5, h6 {
- color: inherit;
- }
- a, a:visited, a:link{
- color: inherit;
- text-decoration: none;
- }
- input{
- border: none;
- box-sizing: border-box;
- }
- .container{
- max-width: 1180px;
- margin: 0 auto;
- }
- .date-header {
- display: none;
- }
- .widget li {
- padding: 0;
- }
- .widget ul {
- padding: 0;
- }
- .blog-feeds, .feed-links {
- display: none;
- }
- .icon {
- padding-right: 5px;
- }
- .heading {
- font-family: 'Roboto Slab', serif;
- }
- .post-icons img {
- width: auto !important;
- }
- .hide {
- display: none !important;
- }
- .show {
- display: block !important;
- }
- .white {
- border-top-color: #fff !important;
- }
- #to-top {
- position: fixed;
- right: 25px;
- bottom: 100px;
- color: #fff;
- padding: 9px;
- opacity: 0;
- visibility: hidden;
- border-radius: 5px;
- background: $keycolor;
- box-shadow: 0 0 5px #4D4D4D;
- -webkit-box-shadow: 0 0 5px #4D4D4D;
- z-index: 9999;
- }
- #to-top.fadeIn {
- opacity: 1;
- visibility: visible;
- }
- .anchor-hover:hover {
- color: $keycolor;
- }
- .widget-item-control {display: none;}
- .post-body img {
- max-width: 100%;
- }
- .item .post-body ul {
- list-style-type: disc;
- }
- .item .post-body ol {
- list-style-type: decimal;
- }
- .item .post-body a {
- font-weight: 500;
- color: $keycolor;
- text-decoration: underline;
- }
- .item .post-body a[style="margin-left: 1em; margin-right: 1em;"] {
- margin-left: 0 !important;
- margin-right: 0 !important;
- }
- /*===============================================
- +/+ Header
- ===============================================*/
- #header {
- position: relative;
- background: $header_bg;
- text-align: center;
- border-top: 3px solid $keycolor;
- }
- /* Top Nav
- -----------------------------------------------*/
- .top-nav-wrapper {
- height: 45px;
- background: #EEEEEE;
- color: #fff;
- }
- .top-nav-icon {
- display: none;
- line-height: 45px;
- font-size: 1.5rem;
- color: #000;
- }
- .top-nav-wrapper .widget > h2 {
- display: none;
- }
- #LinkList1 {
- float: left;
- }
- #LinkList2 {
- float: right;
- }
- .top-nav-wrapper .widget:only-child {
- float: none;
- }
- #LinkList1 li {
- float: left;
- color: #000;
- line-height: 45px;
- margin-right: 30px;
- font-size: 0.875rem;
- text-transform: capitalize;
- }
- #LinkList1 li:last-child {
- margin-right: 0;
- }
- #LinkList1 a:hover {
- color: $keycolor;
- }
- .top-nav-icon {
- display: none;
- line-height: 45px;
- font-size: 1.5rem;
- }
- #LinkList2 li {
- float: left;
- line-height: 45px;
- }
- #LinkList2 li a {
- display: block;
- width: 30px;
- height: 45px;
- line-height: 45px;
- text-align: center;
- }
- #LinkList2 li a:hover {
- background: $keycolor;
- }
- #LinkList2 .fa {
- color: #000;
- transition: all 0s;
- }
- #LinkList2 a:hover .fa {
- color: #fff;
- }
- /* Search box
- -------------------------------------*/
- .search {
- text-align: center;
- position: absolute;
- left: 0;
- right: 0;
- top: -50px;
- z-index: 99;
- }
- #search-btn {
- display: inline-block;
- width: 0;
- height: 0;
- border: 31px solid transparent;
- border-top-color: #eee;
- position: relative;
- text-align: center;
- }
- #search-icon {
- position: relative;
- top: -29px;
- color: #000;
- left: -10px;
- cursor: pointer;
- width: 20px;
- height: 20px;
- }
- #search-input {
- width: 100%;
- text-align: center;
- height: 45px;
- outline: 0;
- }
- /* Logo and ad
- ------------------------------------*/
- .logo-and-ad-container {
- margin-top: -40px;
- padding-bottom: 10px;
- }
- #logo-and-ad-container {
- display: table;
- height: 160px;
- }
- #logo-and-ad-container .widget {
- display: table-cell;
- width: 100%;
- vertical-align: middle;
- }
- #logo-and-ad-container .HTML .widget-content {
- width: 728px;
- height: 90px;
- }
- #logo-and-ad-container .HTML .widget-content:empty {
- display: none;
- }
- /* Main nav
- --------------------------------------*/
- #main-nav-wrapper {
- background: $keycolor;
- height: 50px;
- }
- #main-nav-wrapper .container {
- position: relative;
- }
- #main-nav-wrapper .widget-content {
- display: inline-block;
- }
- #main-nav .icon {
- color: #fff;
- }
- #main-nav .widget-content > ul > li {
- float: left;
- }
- #main-nav .widget-content > ul > li > a {
- display: block;
- height: 50px;
- position: relative;
- padding: 0 18px;
- color: #fff;
- font-size: 0.875rem;
- font-weight: 700;
- line-height: 53px;
- text-transform: uppercase;
- }
- #main-nav .widget-content > ul > li.has-sub {
- position: relative;
- }
- #main-nav .widget-content > ul > li > a:before {
- content: '';
- position: absolute;
- top: -10px;
- left: 50%;
- width: 0;
- height: 0;
- border: 10px solid transparent;
- border-top-color: $header_bg;
- margin-left: -10px;
- opacity: 0;
- visibility: hidden;
- }
- #main-nav .widget-content > ul > li > a:hover:before {
- top: 0;
- opacity: 1;
- visibility: visible;
- }
- #main-nav .widget-content ul > li > ul {
- position: absolute;
- float: left;
- left: 0;
- top: 50px;
- width: 180px;
- background-color: #353535;
- z-index: 99999;
- margin-top: 0;
- padding: 0;
- border-top: 2px solid #E4860D;
- visibility: hidden;
- opacity: 0;
- }
- #main-nav .widget-content ul ul {
- transition: all .25s ease;
- }
- #main-nav .widget-content ul > li > ul > li > ul {
- position: absolute;
- float: left;
- top: 0;
- left: 100%;
- margin: -2px 0 0;
- background: #494949;
- }
- #main-nav .widget-content ul > li:hover > ul, #main-nav .widget-content ul > li > ul > li:hover > ul {
- visibility: visible;
- opacity: 1;
- }
- #main-nav .widget-content ul > li > ul > li {
- display: block;
- float: none;
- position: relative;
- margin: 0;
- padding: 0;
- transition: background .17s;
- }
- #main-nav .widget-content ul > li > ul > li a {
- display: block;
- position:relative;
- height: 36px;
- font-size: 13px;
- color: #fff;
- line-height: 36px;
- box-sizing: border-box;
- margin: 0;
- padding: 0 15px;
- border: 0;
- border-bottom: 1px solid rgba(255,255,255,0.05);
- transition: all .17s ease;
- text-align:left;
- }
- #main-nav .widget, #main-nav .widget > .widget-title {
- display: none;
- }
- #main-nav .show-menu {
- display: block;
- }
- /* Mega Menus
- ------------------------------------------*/
- #main-nav .widget-content > ul > li > a:hover + .mega-menu-wrapper {
- height: 270px;
- visibility: visible;
- }
- .mega-icon:after, #main-nav .widget-content > ul > li.has-sub > a:after {
- content: '\25be';
- }
- #main-nav .widget-content > ul > li.has-sub > ul.m-sub > li.has-sub > a:after {
- content: '\25b6';
- float: right;
- margin: 0;
- font-size: 8px;
- font-weight: 400;
- }
- .mega-menu-wrapper {
- position: absolute;
- left: 0;
- right: 0;
- top: 45px;
- height: 0;
- overflow: hidden;
- visibility: hidden;
- z-index: 99;
- max-width: 1180px;
- margin: 0 auto;
- border-top: 4px solid $keycolor;
- border-bottom: 3px solid $keycolor;
- }
- .mega-menu-wrapper:before {
- content: '';
- display: block;
- height: 6px;
- position: absolute;
- top: -6px;
- left: 0;
- right: 0;
- background: transparent;
- }
- .mega-menu-wrapper:hover {
- height: 270px;
- visibility: visible;
- }
- .mega-menu {
- background: #555;
- padding: 15px !important;
- z-index: 99;
- }
- .mega-post {
- float: left;
- width: 23%;
- margin-right: 2.6% !important;
- }
- .mega-post:last-child {
- margin-right: 0 !important;
- }
- .mega_post-image {
- display: block;
- width: 100%;
- height: 180px;
- margin-bottom: 10px;
- border: 2px solid #747474;
- }
- .mega_post-title {
- color: #fff;
- font-family: 'Roboto Slab', serif;
- font-weight: 700;
- font-size: .875rem;
- line-height: 1.7;
- }
- /*===============================================
- +/+ Slider
- ===============================================*/
- body[data-main="false"] #slider {
- display: none;
- }
- #slider .widget-content {
- font-size: 0;
- }
- .slider-item {
- float: left;
- width: 25%;
- height: 350px;
- position: relative;
- overflow: hidden;
- }
- .slider-image {
- display: block;
- width: 100%;
- height: 350px;
- }
- .slider-image:hover {
- transform: scale(1.1);
- }
- .slider-image:before {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- background: rgba(0,0,0,0.6);
- background: linear-gradient(0deg, #000000 0, rgba(0, 0, 0, 0) 50%);
- background: -webkit-gradient(linear, 0deg, color-stop(0, 000000), color-stop(50%, rgba(0, 0, 0, 0)));/* Chrome,Safari4+ */
- background: -webkit-linear-gradient(90deg, #000000 0, rgba(0, 0, 0, 0) 50%);/* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(90deg, #000000 0, rgba(0, 0, 0, 0) 50%);/* Opera 11.10+ */
- background: -ms-linear-gradient(90deg, #000000 0, rgba(0, 0, 0, 0) 50%);/* IE10+ */
- }
- #slider-item1 .slider-image:after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- opacity:0;
- background: rgba(0,0,0,0.6);
- background: linear-gradient(0deg, #17C65D 0, rgba(0, 0, 0, 0) 50%);
- background: -webkit-gradient(linear, 0deg, color-stop(0, 000000), color-stop(50%, rgba(0, 0, 0, 0)));/* Chrome,Safari4+ */
- background: -webkit-linear-gradient(90deg, #17C65D 0, rgba(0, 0, 0, 0) 50%);/* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(90deg, #17C65D 0, rgba(0, 0, 0, 0) 50%);/* Opera 11.10+ */
- background: -ms-linear-gradient(90deg, #17C65D 0, rgba(0, 0, 0, 0) 50%);/* IE10+ */
- }
- #slider-item2 .slider-image:after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- opacity:0;
- background: rgba(0,0,0,0.6);
- background: linear-gradient(0deg, #FA29AF 0, rgba(0, 0, 0, 0) 50%);
- background: -webkit-gradient(linear, 0deg, color-stop(0, 000000), color-stop(50%, rgba(0, 0, 0, 0)));/* Chrome,Safari4+ */
- background: -webkit-linear-gradient(90deg, #FA29AF 0, rgba(0, 0, 0, 0) 50%);/* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(90deg, #FA29AF 0, rgba(0, 0, 0, 0) 50%);/* Opera 11.10+ */
- background: -ms-linear-gradient(90deg, #FA29AF 0, rgba(0, 0, 0, 0) 50%);/* IE10+ */
- }
- #slider-item3 .slider-image:after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- opacity:0;
- background: rgba(0,0,0,0.6);
- background: linear-gradient(0deg, #29ABFA 0, rgba(0, 0, 0, 0) 50%);
- background: -webkit-gradient(linear, 0deg, color-stop(0, 000000), color-stop(50%, rgba(0, 0, 0, 0)));/* Chrome,Safari4+ */
- background: -webkit-linear-gradient(90deg, #29ABFA 0, rgba(0, 0, 0, 0) 50%);/* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(90deg, #29ABFA 0, rgba(0, 0, 0, 0) 50%);/* Opera 11.10+ */
- background: -ms-linear-gradient(90deg, #29ABFA 0, rgba(0, 0, 0, 0) 50%);/* IE10+ */
- }
- #slider-item4 .slider-image:after {
- content: '';
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- opacity:0;
- background: rgba(0,0,0,0.6);
- background: linear-gradient(0deg, #FF3535 0, rgba(0, 0, 0, 0) 50%);
- background: -webkit-gradient(linear, 0deg, color-stop(0, 000000), color-stop(50%, rgba(0, 0, 0, 0)));/* Chrome,Safari4+ */
- background: -webkit-linear-gradient(90deg, #FF3535 0, rgba(0, 0, 0, 0) 50%);/* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(90deg, #FF3535 0, rgba(0, 0, 0, 0) 50%);/* Opera 11.10+ */
- background: -ms-linear-gradient(90deg, #FF3535 0, rgba(0, 0, 0, 0) 50%);/* IE10+ */
- }
- a.slider-image:hover:after {
- opacity: 1 !important;
- }
- a.slider-image:hover:before {
- opacity: 0;
- }
- .slider-post-info {
- position: absolute;
- left: 0;
- right: 0;
- bottom: 15px;
- padding: 0 15px;
- color: #fff;
- font-size: .75rem;
- }
- .slider-post-info .heading {
- font-size: 1.1rem;
- margin-bottom: 15px;
- line-height: 1.6;
- font-family: "Roboto", sans-serif;
- }
- .publish-date {
- margin-right: 25px;
- }
- .post-category {
- position: absolute;
- top: 15px;
- left: 15px;
- color: #fff !important;
- padding: 5px 10px;
- font-family: 'Roboto';
- text-transform: uppercase;
- font-size: 0.75rem;
- font-weight: 700;
- z-index: 3;
- }
- .post-category:hover {
- background: #444 !important;
- }
- .slider-item:nth-child(1) .post-category {
- background: #17C65D;
- }
- .slider-item:nth-child(2) .post-category {
- background: #FA29AF;
- }
- .slider-item:nth-child(3) .post-category {
- background: #29ABFA;
- }
- .slider-item:nth-child(4) .post-category {
- background: #FF3535;
- }
- /*========================================
- +/+ Main Content (Posts & Sidebars)
- ========================================*/
- .main-content {
- padding-top: 35px;
- background: #fafafa;
- padding-bottom: 50px;
- }
- /*========================================
- +/+ Sidebars
- ========================================*/
- .sidebar {
- float: left;
- width: 27.2%;
- }
- .sidebar-wrapper1 {
- width: 21.8%;
- margin-right: 1.5%;
- background: #fff;
- padding: 10px;
- border: 1px solid #ccc;
- box-shadow: 0 0 5px #cfcfcf;
- -webkit-box-shadow: 0 0 5px #cfcfcf;
- }
- .item .sidebar-wrapper1 {
- display: none;
- }
- .sidebar .widget {
- margin-bottom: 30px;
- }
- .sidebar .HTML .widget-content {
- font-size: 0;
- }
- .sidebar-wrapper1 .widget > h2 {
- background: #373737;
- position: relative;
- margin-bottom: 20px;
- padding: 10px;
- text-transform: uppercase;
- font-size: 1rem;
- color: #FFF;
- text-align: center;
- border-bottom: 3px solid $keycolor;
- }
- .sidebar-wrapper1 .widget > h2:before {
- content: '';
- position: absolute;
- left: 50%;
- bottom: -17px;
- width: 0;
- height: 0;
- margin-left: -4px;
- border: 7px solid transparent;
- border-top-color: $keycolor;
- }
- .sidebar-wrapper2 .widget {
- background: #fff;
- padding: 10px;
- border: 1px solid #ccc;
- -webkit-box-shadow: 0 0 5px #cfcfcf;
- box-shadow: 0 0 5px #cfcfcf;
- }
- .sidebar-wrapper2 .widget > h2 {
- background: $keycolor;
- position: relative;
- text-transform: uppercase;
- font-size: 1rem;
- color: #FFF;
- text-align: center;
- margin-bottom: 15px;
- padding: 10px;
- }
- .sidebar-wrapper2 .widget:not(.FollowByEmail) > h2:before {
- content: '';
- position: absolute;
- right: 0;
- bottom: -10px;
- width: 0;
- height: 0;
- border: 5px solid transparent;
- border-left-color: #242424;
- border-top-color: #242424;
- display: none;
- }
- /* Profile widget
- -----------------------------------------*/
- .Profile {
- text-align: center;
- }
- .profile-img {
- float: none;
- border-radius: 50%;
- }
- .profile-name-link {
- background-image: none !important;
- padding-left: 0;
- margin-bottom: 13px;
- }
- .profile-textblock {
- line-height: 1.6;
- font-size: .875rem;
- }
- a.profile-link {
- font-size: .75rem;
- font-weight: 700;
- text-decoration: underline;
- }
- /* Social Counter
- -----------------------------------------*/
- .social_item-wrapper {
- float: left;
- width: 48%;
- text-align: center;
- margin-right: 4% !important;
- margin-bottom: 10px !important;
- color: #fff;
- }
- #sidebar .widget {
- margin-bottom: 35px;
- }
- .social_item {
- position: relative;
- display: block;
- height: 60px;
- line-height: 60px;
- overflow: hidden;
- }
- .social_item-wrapper:nth-child(2n+2) {
- margin-right: 0 !important;
- }
- .social_icon {
- float: left;
- line-height: 44px;
- width: 41px;
- height: 41px;
- font-size: 1.3rem;
- margin-top: 10px;
- margin-left: 7%;
- }
- .social_num {
- font-size: .875rem;
- }
- a.social_item.social_facebook {
- background: #3F5B9B;
- }
- .fa-facebook.social_icon {
- background: #2E4372;
- }
- li.social_item-wrapper:hover .fa-facebook.social_icon {
- background: #3F5B9B;
- }
- li.social_item-wrapper:hover .social_facebook {
- background: #2E4372;
- }
- a.social_item.social_twitter {
- background: #1C97DE;
- }
- .fa-twitter.social_icon {
- background: #1571A5;
- }
- li.social_item-wrapper:hover .fa-twitter.social_icon {
- background: #1C97DE;
- }
- li.social_item-wrapper:hover .social_twitter {
- background: #1571A5;
- }
- a.social_item.social_youtube {
- background: #E22020;
- }
- .fa-youtube.social_icon {
- background: #B31919;
- }
- li.social_item-wrapper:hover .fa-youtube.social_icon {
- background: #E22020;
- }
- li.social_item-wrapper:hover .social_youtube {
- background: #B31919;
- }
- a.social_item.social_dribbble {
- background: #E82159;
- }
- .fa-dribbble.social_icon {
- background: #B51A45;
- }
- li.social_item-wrapper:hover .fa-dribbble.social_icon {
- background: #E82159;
- }
- li.social_item-wrapper:hover .social_dribbble {
- background: #B51A45;
- }
- a.social_item.social_rss {
- background: #E86321;
- }
- .fa-rss.social_icon {
- background: #C2521B;
- }
- li.social_item-wrapper:hover .fa-rss.social_icon {
- background: #E86321;
- }
- li.social_item-wrapper:hover .social_rss {
- background: #C2521B;
- }
- a.social_item.social_google-plus {
- background: #E82C2C;
- }
- .fa-google-plus.social_icon {
- background: #BF2424;
- }
- li.social_item-wrapper:hover .fa-google-plus.social_icon {
- background: #E82C2C;
- }
- li.social_item-wrapper:hover .social_google-plus {
- background: #BF2424;
- }
- a.social_item.social_linkedin {
- background: #0275B6;
- }
- .fa-linkedin.social_icon {
- background: #02669E;
- }
- li.social_item-wrapper:hover .fa-linkedin.social_icon {
- background: #0275B6;
- }
- li.social_item-wrapper:hover .social_linkedin {
- background: #02669E;
- }
- a.social_item.social_instagram {
- background: #8E714D;
- }
- .fa-instagram.social_icon {
- background: #6F583C;
- }
- li.social_item-wrapper:hover .fa-instagram.social_icon {
- background: #8E714D;
- }
- li.social_item-wrapper:hover .social_instagram {
- background: #6F583C;
- }
- a.social_item.social_pinterest {
- background: #CA2027;
- }
- .fa-pinterest.social_icon {
- background: #AB1B21;
- }
- li.social_item-wrapper:hover .fa-pinterest.social_icon {
- background: #CA2027;
- }
- li.social_item-wrapper:hover social_pinterest {
- background: #AB1B21;
- }
- /* Follow By Email
- -----------------------------------------*/
- .sidebar .FollowByEmail {
- background: #fff;
- padding: 10px;
- box-shadow: 0 0 5px #CFCFCF;
- -webkit-box-shadow: 0 0 5px #CFCFCF;
- }
- .sidebar .FollowByEmail > h2.title:before {
- content: '\f003';
- font-family: 'fontawesome';
- font-size: 2.5rem;
- display: block;
- }
- .sidebar .FollowByEmail > h2 {
- background: #fff;
- position: relative;
- text-transform: uppercase;
- color: #000;
- padding: 0;
- text-align: center;
- margin-bottom: 2px;
- font-size: 0;
- margin-right: 0;
- border-left: 0;
- }
- .follow-by-email-inner td:first-child {
- display: block;
- margin-bottom: 10px;
- }
- .FollowByEmail .subhead {
- font-size: 0.875rem;
- line-height: 1.7;
- margin-bottom: 15px;
- color: #000;
- }
- .FollowByEmail .follow-by-email-inner .follow-by-email-address {
- width: 100%;
- display: block;
- height: 43px;
- font-size: 12px;
- background-color: #DEDEDE;
- padding-left: 10px;
- border: 0;
- outline: 0;
- }
- .follow-by-email-inner td:last-child {
- position: relative;
- display: block;
- width: 100%;
- }
- .FollowByEmail .follow-by-email-inner .follow-by-email-submit {
- width: 100%;
- margin: 0;
- border: 0;
- border-radius: 2px;
- -moz-border-radius: 2px;
- background: $keycolor;
- color: #fff;
- cursor: pointer;
- font-size: 13px;
- height: 33px;
- }
- .follow-by-email-address:focus {
- box-shadow: 0 0 3px #888;
- -webkit-box-shadow: 0 0 3px #888;
- }
- .follow-by-email-address::-webkit-input-placeholder {
- color: #5C5C5C;
- }
- .follow-by-email-address:-ms-input-placeholder {
- color: #5C5C5C;
- }
- .follow-by-email-address::-ms-input-placeholder {
- color: #5C5C5C;
- }
- .follow-by-email-inner td:last-child:hover .follow-by-email-submit {
- background-color: #000;
- color: #fff;
- }
- .follow-by-email-inner td:last-child:hover:before {
- color: #fff;
- }
- /* Popular Posts
- -----------------------------------------*/
- .PopularPosts .widget-content li {
- border-bottom: 1px solid #E6E6E6;
- padding: 10px 0 8px !important;
- }
- .PopularPosts .widget-content li:first-child {
- padding-top: 0 !important;
- }
- .PopularPosts .widget-content li:last-child {
- border-bottom: 0;
- padding-bottom: 0 !important;
- }
- .PopularPosts .item-thumbnail {
- float: none;
- display: table-cell;
- }
- .PopularPosts .item-thumbnail img {
- width: 75px;
- max-width: 75px;
- height: 70px;
- padding-right: 0 !important;
- border: 2px solid #e6e6e6;
- }
- .PopularPosts .item-thumbnail img:hover {
- border-color: $keycolor !important;
- }
- .PopularPosts .item-title {
- padding-left: 8px;
- display: table-cell;
- vertical-align: middle;
- line-height: 1.7;
- font-family: 'Roboto Slab';
- font-size: 0.875rem;
- font-weight: 700;
- text-transform: capitalize;
- }
- .PopularPosts .item-title a:hover {
- color: $keycolor;
- }
- .PopularPosts .item-snippet {
- font-size: .875rem;
- line-height: 1.5;
- }
- /* Random & Recent Posts
- -----------------------------------------*/
- .randomposts2 .post-wrapper,
- .recentposts2 .post-wrapper {
- position: relative;
- margin-bottom: 10px !important;
- overflow: hidden;
- }
- .randomposts2 .post-wrapper:last-child,
- .recentposts2 .post-wrapper:last-child {
- margin-bottom: 0 !important;
- }
- .randomposts2 .post-image,
- .recentposts2 .post-image {
- display: block;
- width: 100%;
- padding: 31% 0;
- }
- .randomposts2 .post-image:before,
- .recentposts2 .post-image:before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- z-index: 2;
- }
- .post-wrapper .title-summary-wrapper {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- padding: 10px;
- z-index: 2;
- }
- .randomposts2 .post-title,
- .recentposts2 .post-title {
- display: block;
- color: #fff;
- font-weight: 700;
- line-height: 1.6;
- position: absolute;
- bottom: 5px;
- }
- .post-wrapper:hover .post-title {
- bottom: 67px;
- }
- .randomposts2 .post-title .heading,
- .recentposts2 .post-title .heading {
- font-size: 1rem;
- }
- .randomposts2 .post-summary,
- .recentposts2 .post-summary {
- font-size: .875rem;
- line-height: 1.6;
- color: #fff;
- z-index: 3;
- padding: 0;
- position: absolute;
- bottom: -87px;
- }
- .post-wrapper:hover .post-summary {
- bottom: 5px;
- }
- #footer-wrapper .recentposts1 .post-image,
- #footer-wrapper .randomposts1 .post-image {
- border: 2px solid #545454;
- }
- /* Recent Posts
- -----------------------------------------*/
- .recent-post-item {
- display: table;
- border-bottom: 1px solid #e6e6e6;
- padding: 10px 0 !important;
- }
- .recent-post-item:last-child {
- border-bottom: 0 !important;
- padding-bottom: 0 !important;
- }
- .recent-post-item:first-child {
- padding-top: 0 !important;
- }
- .recentposts1 .post-image {
- position: relative;
- display: table-cell;
- width: 75px;
- height: 70px;
- border: 2px solid #e6e6e6;
- z-index: 2;
- }
- .recentposts1 .post-title {
- display: table-cell;
- vertical-align: middle;
- padding-left: 10px;
- font-family: 'Roboto Slab', serif;
- line-height: 1.7;
- text-transform: capitalize;
- }
- .recentposts1 .post-title .heading {
- font-size: 0.875rem;
- font-weight: 700;
- }
- .recentposts1 .post-image:hover {
- border-color: $keycolor !important;
- }
- /* Random Posts
- -----------------------------------------*/
- .randomposts1 .post-wrapper {
- padding: 10px 0 !important;
- border-bottom: 1px solid #e6e6e6;
- }
- .randomposts1 .post-wrapper:first-child {
- padding-top: 0 !important;
- }
- .randomposts1 .post-wrapper:last-child {
- border-bottom: 0;
- padding-bottom: 0;
- }
- .random_post-image {
- position: relative;
- float: left;
- width: 75px;
- height: 70px;
- margin-right: 8px;
- border: 2px solid #e6e6e6;
- z-index: 2;
- }
- .random_post-image:hover {
- border-color: $keycolor !important;
- }
- .random_post-title {
- font-family: 'Roboto Slab', serif;
- font-size: 0.875rem;
- font-weight: 700;
- line-height: 1.7;
- text-transform: capitalize;
- }
- .randomposts1 .post-comments {
- float: right;
- font-size: 0.75rem;
- margin-top: 10px;
- font-weight: 700;
- color: #aaa;
- }
- /* Recent Comments
- -----------------------------------------*/
- .recent-comments-wrapper .comment {
- border-bottom: 1px solid #ccc;
- padding: 10px 0;
- }
- .recent-comments-wrapper .comment:first-child {
- padding-top: 0;
- }
- .recent-comments-wrapper .comment:last-child {
- padding-bottom: 0;
- border: 0;
- }
- .recent-comments-wrapper img.comment-avatar {
- margin-right: 8px;
- vertical-align: middle;
- border-radius: 50%;
- }
- .recent-comments-wrapper .comment-author {
- display: inline;
- font-size: .875rem;
- vertical-align: middle;
- }
- .recent-comments-wrapper .comment-content {
- display: block;
- font-size: .875rem;
- font-style: italic;
- padding-top: 6px;
- margin-left: 42px;
- line-height: 1.6;
- }
- /* Labels
- -----------------------------------------*/
- .Label .widget-content {
- font-size: 0;
- }
- .cloud-label-widget-content {
- text-align: left;
- }
- .label-size {
- line-height: 1.2;
- font-size: .875rem;
- opacity: 1;
- background: #f5f5f5;
- display: inline-block;
- margin-right: 6px;
- margin-bottom: 6px;
- }
- .label-size a {
- display: inline-block;
- padding: 10px 5px;
- }
- .label-size a:only-child {
- padding: 10px;
- box-shadow: 2px 2px 0 #D7D7D7;
- -webkit-box-shadow: 2px 2px 0 #D7D7D7;
- }
- .label-size a:only-child:hover {
- background: $keycolor;
- color: #fff;
- border-color: $keycolor;
- }
- .label-count {
- white-space: nowrap;
- display: inline-block;
- padding: 10px 5px;
- background: #D5D5D5;
- }
- .list-label-widget-content li a {
- position: relative;
- display: inline-block;
- width: 88%;
- background-color: #FFFFFF;
- margin-bottom: 5px;
- height: 38px;
- line-height: 37px;
- padding-left: 10px;
- font-size: 0.75rem;
- text-transform: capitalize;
- border: 1px solid #ccc;
- border-right: 0;
- color: #777;
- }
- .list-label-widget-content li a:only-child {
- width: 100%;
- border-right: 1px solid #ccc;
- }
- .list-label-widget-content li a:only-child:before {
- content: '';
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background-color: #E6E6E6;
- position: absolute;
- top: 13px;
- right: 7px;
- }
- .list-label-widget-content li a:hover {
- padding-left: 20px;
- background-color: $keycolor;
- color: #fff;
- border-color: $keycolor;
- }
- .list-label-widget-content li span {
- display: inline-block;
- width: 12%;
- background: $keycolor;
- border: 1px solid $keycolor;
- height: 38px;
- line-height: 35px;
- font-size: .875rem;
- color: #fff;
- text-align: center;
- }
- /* Slideshow
- -----------------------------------------*/
- .slideshow {
- position: relative;
- }
- .slideshow .arrow {
- position: absolute;
- top: 25%;
- background: $keycolor;
- width: 30px;
- height: 30px;
- color: #fff;
- font-size: 1rem;
- line-height: 30px;
- text-align: center;
- cursor: pointer;
- z-index: 9;
- }
- .slideshow .arrow:hover {
- background: #000;
- }
- .slideshow .left-arrow {
- left: -6px;
- padding-right: 3px;
- }
- .slideshow .right-arrow {
- right: -6px;
- padding-left: 3px;
- }
- .right-arrow:before {
- content: '';
- position: absolute;
- top: 100%;
- right: 0px;
- width: 0;
- height: 0;
- border: 3px solid transparent;
- border-top-color: #3A3A3A;
- border-left-color: #3A3A3A;
- }
- .left-arrow:before {
- content: '';
- position: absolute;
- top: 100%;
- left: 0;
- width: 0;
- height: 0;
- border: 3px solid transparent;
- border-top-color: #3A3A3A;
- border-right-color: #3A3A3A;
- }
- .slideshow-post {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- opacity: 0;
- visibility: hidden;
- transition-duration: .5s;
- -webkit-transition-duration: .5s;
- }
- .slideshow-post:last-child {
- opacity: 1;
- visibility: visible;
- }
- .active-slide {
- position: relative;
- }
- .slideshow-post.fadeIn {
- opacity: 1;
- visibility: visible;
- transition-duration: 0.7s;
- }
- .slideshow-post.fadeOut {
- opacity: 0;
- visibility: hidden;
- transition-duration: 0.7s;
- }
- .slideshow .post-image {
- display: block;
- width: 100%;
- padding: 31% 0;
- }
- .slideshow .title-summary-wrapper {
- padding: 10px;
- background: #444;
- }
- .slideshow .post-title {
- display: block;
- color: #fff;
- font-weight: 700;
- line-height: 1.6;
- margin-bottom: 15px;
- }
- .slideshow .post-title .heading {
- font-size: 1rem;
- }
- .slideshow .post-summary {
- font-size: .875rem;
- line-height: 1.6;
- color: #C1C1C1;
- padding-top: 0;
- }
- /* Vertical Posts
- -----------------------------------------*/
- .vertical-post:not(:last-child) {
- margin-bottom: 15px !important;
- }
- .vertical-post .post-image {
- display: block;
- padding: 31%;
- margin-bottom: 7px;
- }
- .vertical-post .post-title {
- font-size: .875rem;
- line-height: 1.6;
- }
- /* Sidebar Tabs
- -----------------------------------------*/
- .sidebartabs-wrapper {
- margin-bottom: 20px;
- }
- .sidebartabs {
- position: relative;
- width: 100%;
- background-color: #373737;
- font-size: 0.875rem;
- font-weight: 700;
- text-transform: uppercase;
- margin-bottom: 15px;
- }
- .sidebartab-item {
- width: 50%;
- text-align: center;
- padding: 12px 5px;
- padding-top: 15px;
- cursor: pointer;
- color: #fff;
- }
- .sidebartab-item:first-child {
- float: left;
- }
- .sidebartab-item:last-child {
- float: right;
- }
- .sidebartabs-wrapper .section .widget:last-child {
- display: none;
- }
- .activetab {
- background-color: $keycolor;
- color: #fff;
- }
- .sidebartabs-wrapper .widget > h2 {
- display: none;
- }
- /*========================================
- +/+ Blog Posts
- ========================================*/
- .blog-posts-wrapper {
- float: left;
- width: 48%;
- margin-right: 1.5%;
- }
- .item .blog-posts-wrapper {
- width: 69%;
- margin-right: 3.5%;
- }
- .index .post-outer,
- .archive .post-outer {
- position: relative;
- background: #FFFFFF;
- box-shadow: 0 0 3px #aaa;
- -webkit-box-shadow: 0 0 3px #aaa;
- margin-bottom: 20px;
- border-radius: 4px;
- overflow: hidden;
- }
- .item .post-header {
- margin-bottom: 20px;
- }
- .index .post-title.heading {
- padding-top: 10px;
- font-size: 1.2rem;
- margin-bottom: 5px;
- color:#ffffff;
- }
- .item .entry-title, .static_page .entry-title {
- font-size: 1.4rem;
- margin-bottom: 10px;
- border-bottom: 2px solid $keycolor;
- }
- .entry-title.heading:after {
- content: '';
- position: relative;
- top: 5px;
- display: block;
- width: 9px;
- height: 9px;
- vertical-align: middle;
- background: $keycolor;
- margin-right: 5px;
- display: none;
- }
- .post-image-wrapper .post-image {
- display: block;
- width: 100%;
- padding: 28% 0;
- }
- .item .post-body {
- line-height: 1.7;
- }
- #comments,
- .item .post {
- background: #fff;
- padding: 15px;
- border: 1px solid #ccc;
- -webkit-box-shadow: 0 0 5px #cfcfcf;
- box-shadow: 0 0 5px #cfcfcf;
- }
- .item .post-author.vcard {
- font-size: .875rem;
- margin-right: 3.5em;
- }
- .item .post-timestamp {
- margin-left: 0;
- font-size: .875rem;
- white-space: nowrap;
- }
- .item .post-footer {
- margin-top: 15px;
- }
- .post-labels {
- margin-bottom: 20px;
- }
- .labels-head,
- .post-share-header {
- display: inline-block;
- font-size: .875rem;
- font-weight: 700;
- background: #3A3A3A;
- padding: 7px 10px;
- color: #fff;
- margin-right: 10px;
- position: relative;
- }
- .post-share-header {
- vertical-align: top;
- }
- .labels-head:after,
- .post-share-header:after {
- content: '';
- position: absolute;
- right: -10px;
- top: 15px;
- width: 0;
- height: 0;
- border: 5px solid transparent;
- border-left-color: #3A3A3A;
- }
- .item .post-share_link {
- width: 36px;
- height: 36px;
- display: inline-block;
- line-height: 34px;
- text-align: center;
- background: #fff;
- border: 1px solid #ccc;
- }
- .item .post-share_link.facebook:hover {
- background: #507cb3;
- border-color: #507cb3;
- }
- .item .post-share_link.twitter:hover {
- background: #38A3E9;
- border-color: #38A3E9;
- }
- .item .post-share_link.pinterest:hover {
- background: #CE362F;
- border-color: #CE362F;
- }
- .item .post-share_link.googleplus:hover {
- background: #EC4637;
- border-color: #EC4637;
- }
- .item .post-share_link.linkedin:hover {
- background: #0275B6;
- border-color: #0275B6;
- }
- .item .post-share_link .fa {
- transition-duration: 0s;
- }
- .item .post-share_link:hover .fa {
- color: #fff;
- transition-duration: 0s;
- }
- .post-share {
- margin-bottom: 25px;
- }
- .item a.post-share_link.wat-art.whatsapp-mobile{display:none;}
- .item a.post-share_link.wat-art.whatsapp-desktop{display:inline-block;}
- @media only screen and (max-width: 768px) {
- .item a.post-share_link.wat-art.whatsapp-mobile{display:inline-block;}
- .item a.post-share_link.wat-art.whatsapp-desktop{display:none;}
- }
- .post-info-wrapper {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- color: #fff;
- padding: 15px;
- padding-bottom: 10px;
- background: -webkit-linear-gradient(bottom,rgba(0,0,0,.7) 0,rgba(0,0,0,0.4) 50%,rgba(0,0,0,0) 100%);
- background: linear-gradient(0deg,rgba(0,0,0,.7) 0,rgba(0,0,0,0.6) 67%,rgba(0,0,0,0) 100%);
- }
- .post-outer .post-label {
- display: inline-block;
- background: $keycolor;
- padding: 5px 10px;
- font-size: .7rem;
- font-weight: 500;
- border-radius: 20px;
- text-transform: uppercase;
- }
- .post-outer .post-label:hover {
- background: #444;
- }
- .post-outer .summary {
- font-size: .875rem;
- line-height: 1.7;
- border-bottom: 1px solid #686868;
- padding-bottom: 12px;
- }
- ul.post-meta.clearfix {
- margin: 0;
- padding: 9px 0;
- }
- ul.post-meta.clearfix > li {
- display: inline-block;
- vertical-align: middle;
- color: #E8E7E7;
- font-weight: 700;
- margin-bottom: 0;
- font-size: .875rem;
- }
- .author-img {
- border-radius: 50%;
- border: 2px solid #fff;
- vertical-align: middle;
- margin-right: 5px;
- }
- span.author-name {
- vertical-align: middle;
- }
- .comment-link {
- white-space: normal;
- }
- a.read-more {
- margin-top: 10px;
- display: inline-block;
- color: #B2B2B2;
- font-size: .875rem;
- font-weight: 700;
- }
- .read-more .fa {
- font-size: .6rem;
- transition-duration: 0s;
- }
- .read-more:hover .fa {
- color: $keycolor;
- }
- span.post-comment-link {
- float: right;
- font-size: .875rem;
- color: #B2B2B2;
- margin-top: 9px;
- }
- .blog-pager-newer-link,
- .blog-pager-older-link {
- display: block;
- padding: 10px;
- background: #FAFAFA;
- border: 1px solid #ccc;
- }
- .blog-pager-newer-link:hover,
- .blog-pager-older-link:hover {
- color: #fff !important;
- background: $keycolor;
- border: 1px solid $keycolor;
- }
- /* Author Styles
- ----------------------------------------*/
- .item .author-info {
- margin-top: 30px;
- background-color: #f7f7f7;
- padding: 20px;
- }
- .item .author-avatar {
- width: 100px;
- height: 100px;
- float: left;
- border: 3px solid #FFFFFF;
- margin-left: 0;
- margin-right: 20px;
- }
- .item .author-name {
- font-size: 1.1rem;
- font-weight: 700;
- margin-bottom: 10px;
- }
- .item .author-bio {
- font-size: 0.875rem;
- margin-left: 120px;
- color: #666;
- }
- .item .author-footer {
- background-color: #e6e6e6;
- padding: 9px 20px;
- margin: 25px -20px -20px;
- line-height: 1.9;
- }
- .item .author-profiles {
- float: right;
- padding: 0 !important;
- margin: 0 !important;
- line-height: normal !important;
- list-style: none !important;
- }
- .item .author-profiles .fa {
- transition: all 0s;
- }
- .item .profile-anchor:hover .fa {
- color: #fff;
- transition: all 0s;
- }
- .item .profile-item {
- float: left;
- margin-right: 5px !important;
- margin-bottom: 0 !important;
- padding: 0 !important;
- }
- .item .profile-item:last-child {
- margin-right: 0 !important;
- }
- .item .profile-anchor {
- display: block;
- width: 30px;
- height: 30px;
- text-align: center;
- line-height: 30px;
- color: #000;
- }
- .item .profile-anchor:hover {
- background: $keycolor;
- }
- /* Pagination
- ---------------------------------------*/
- .index .pagination {
- margin-top: 20px;
- text-transform: capitalize;
- }
- .index .pagination-item,
- .pagination-cont {
- display: inline-block;
- padding: 6px 8px;
- background: #444;
- color: #fff !important;
- margin-right: 5px;
- }
- .index .pagination-item:hover,
- .index .pagination-cont:hover {
- background: $keycolor;
- }
- .index .pagination-item.active-page {
- background: $keycolor;
- }
- /* Error page styles
- -----------------------------------------------*/
- .error_page .sidebar {
- display: none;
- }
- .error_page .blog-posts-wrapper {
- width: 100%;
- }
- .error_page .blog-posts-wrapper .widget {
- margin-bottom: 0;
- }
- .error-page-wrapper {
- padding-top: 20px;
- text-align: center;
- }
- .error-message-small a {
- color: $keycolor;
- }
- .error-message-small a:hover {
- text-decoration: underline;
- }
- .error-image {
- padding-top: 30px;
- max-width: 100%;
- }
- p.error-message-big {
- font-size: 1.5rem !important;
- margin-bottom: 7px;
- }
- p.error-message-small {
- font-size: 1.2rem !important;
- }
- /*========================================
- +/+ Home Widgets Styles
- ========================================*/
- body[data-main="false"] .home-widgets {
- display: none;
- }
- .blog-posts-wrapper .widget {
- margin-bottom: 40px;
- }
- .blog-posts-wrapper .widget > .title {
- color: #000;
- font-size: 1rem;
- font-weight: 500;
- text-align: center;
- padding: 10px;
- background: #fff;
- margin-bottom: 15px;
- text-transform: uppercase;
- position: relative;
- border-top: 2px solid $keycolor;
- box-shadow: 0 0 5px #cfcfcf;
- -webkit-box-shadow: 0 0 5px #cfcfcf;
- }
- /* Stack
- -------------------------------------------*/
- li.stack-post {
- background: #fff;
- position: relative;
- margin-bottom: 20px;
- padding-right: 10px;
- box-shadow: 0 0 5px #CBCBCB;
- -webkit-box-shadow: 0 0 5px #CBCBCB;
- }
- li.stack-post:last-child {
- margin-bottom: 0;
- }
- .stack-post-image {
- display: block;
- width: 48%;
- padding: 16%;
- float: left;
- position: relative;
- margin-right: 10px;
- z-index: 3;
- }
- .stack-post-title {
- font-size: 1rem;
- padding-top: 10px;
- margin-bottom: 14px;
- line-height: 1.4;
- }
- .stack-post-summary {
- font-size: .875rem;
- line-height: 1.7;
- color: #494949;
- }
- .stack-post .post-share-wrapper {
- position: absolute;
- top: 10px;
- left: 10px;
- z-index: 5;
- }
- .share-icon {
- display: none;
- }
- .stack-post .post-share {
- width: 78px;
- }
- .index .post-share_link {
- display: inline-block;
- width: 24px;
- height: 24px;
- text-align: center;
- line-height: 24px;
- color: #fff !important;
- font-size: .75rem;
- margin-right: 3px;
- }
- .index .post-share_link:last-child {
- margin-right: 0;
- }
- .index .post-share_link:hover {
- background: #333 !important;
- }
- .index .post-share_link.facebook {
- background: #3F5B9B;
- }
- .stack-post .post-share_link.pinterest {
- display: none;
- }
- .index .post-share_link.pinterest {
- background: #E22020;
- }
- .index .post-share_link.twitter {
- background: #1C97DE;
- }
- .index .post-share_link.googleplus {
- background: #E82C2C;
- }
- /* btop
- -------------------------------------------*/
- .btop .big-post {
- position: relative;
- padding: 15px;
- padding-bottom: 0;
- background: #FFFFFF;
- box-shadow: 0 0 3px #aaa;
- -webkit-box-shadow: 0 0 3px #aaa;
- margin-bottom: 20px;
- text-align: center;
- }
- .btop-timestamp {
- position: absolute;
- left: 25px;
- top: 25px;
- font-size: .75rem;
- font-weight: 400;
- background: $keycolor;
- padding: 8px;
- padding-top: 4px;
- color: #fff;
- z-index: 3;
- }
- .btop .day {
- display: block;
- font-size: 1.3rem;
- font-weight: 700;
- margin-bottom: -20px;
- }
- .btop .big-post-image-wrapper {
- position: relative;
- }
- .btop .big-post-image {
- display: block;
- width: 100%;
- padding: 28% 0;
- }
- .btop .post-share-wrapper {
- position: absolute;
- top: 50%;
- margin-top: -15px;
- left: 50%;
- margin-left: -65px;
- -webkit-transform: scale(0);
- -ms-transform: scale(0);
- transform: scale(0);
- }
- .btop .post-share_link {
- width: 30px;
- height: 30px;
- font-size: .875rem;
- line-height: 30px;
- }
- .btop .big-post-image-wrapper:hover .post-share-wrapper {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- }
- .btop-info-wrapper {
- bottom: 0;
- left: 0;
- right: 0;
- color: #000;
- padding: 15px;
- }
- .btop .big-post-title {
- padding: 0 10px;
- font-size: 1.15rem;
- text-align: center;
- margin-bottom: 12px;
- border-bottom: 1px solid #ccc;
- padding-bottom: 11px;
- }
- .btop-post-summary {
- font-size: .875rem;
- line-height: 1.7;
- }
- .btop .btop-post {
- float: left;
- width: 49%;
- margin-right: 2%;
- line-height: 1.6;
- padding: 6px !important;
- background: #FFFFFF;
- box-shadow: 0 0 3px #aaa;
- -webkit-box-shadow: 0 0 3px #aaa;
- }
- .btop .btop-post:first-child {
- margin-bottom: 10px;
- }
- .btop .btop-post:nth-child(even) {
- margin-right: 0;
- }
- .btop-post-image {
- position: relative;
- display: block;
- float: left;
- padding: 13%;
- margin-right: 10px;
- z-index: 3;
- }
- .btop-post-title {
- font-size: .875rem;
- }
- /* grids
- -------------------------------------------*/
- .grids-post {
- background: #fff;
- position: relative;
- box-shadow: 0 0 5px #CBCBCB;
- -webkit-box-shadow: 0 0 5px #CBCBCB;
- float: left;
- width: 48.5%;
- margin-right: 3% !important;
- }
- .grids-post:first-child {
- margin-bottom: 15px;
- }
- .grids-post:nth-child(even) {
- margin-right: 0 !important;
- }
- .grids-post-image {
- display: block;
- padding: 31% 0;
- }
- .grids-post-title {
- font-size: 1rem;
- padding: 10px;
- line-height: 1.4;
- }
- .grids-post:hover .grids-post-title {
- color: $keycolor;
- }
- /* grids
- -------------------------------------------*/
- .blog-posts-wrapper .slideshow .title-summary-wrapper {
- padding: 15px;
- background: rgba(0, 0, 0, 0.69);
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- }
- .blog-posts-wrapper .slideshow .arrow {
- top: 50%;
- margin-top: -15px;
- }
- /* Related posts
- -------------------------------------------*/
- #related-posts {
- background: #fff;
- border: 1px solid #ccc;
- border-right: 0;
- padding: 15px;
- max-width: 400px;
- position: fixed;
- bottom: 80px;
- right: 0;
- z-index: 99999;
- -webkit-transform: translateX(100%);
- -ms-transform: translateX(100%);
- transform: translateX(100%);
- }
- #related-posts.slide-left {
- -webkit-transform: translateX(0);
- -ms-transform: translateX(0);
- transform: translateX(0);
- }
- span#close-btn {
- float: left;
- font-weight: 700;
- width: 20px;
- height: 20px;
- cursor: pointer;
- text-align: center;
- line-height: 20px;
- }
- #related-posts p {
- font-size: .875rem;
- font-weight: 700;
- text-transform: uppercase;
- text-align: center;
- padding-bottom: 5px;
- border-bottom: 1px solid #ccc;
- }
- .related-posts-container {
- margin: 0 !important;
- padding: 0 !important;
- margin-top: 15px !important;
- list-style: none !important;
- }
- .related-post-item {
- margin-bottom: 16px !important;
- }
- .related-post-item:last-child {
- margin-bottom: 0 !important;
- }
- .related-thumb {
- float: left;
- margin-right: 10px;
- position: relative;
- z-index: 5;
- border-radius: 4px;
- overflow: hidden;
- }
- .related-post-img {
- display: block;
- width: 80px;
- height: 70px;
- }
- .related-post-title {
- font-size: .875rem;
- line-height: 1.7;
- font-family: 'Roboto Slab', serif;
- }
- .related-post-title a {
- display: block;
- }
- /* Comments
- ----------------------------------------------*/
- #comments {
- margin-top: 35px;
- }
- #comments > h4 {
- font-weight: 500;
- font-size: 1.2rem;
- text-transform: uppercase;
- border-bottom: 2px solid #000;
- }
- #comments .comment {
- border-bottom: 1px solid #ccc;
- }
- .comments .comments-content .datetime {
- margin-left: 0;
- display: block;
- font-size: .75rem;
- font-style: italic;
- }
- .comments .comments-content .comment-content {
- text-align: left;
- margin-bottom: 20px;
- }
- #comments .comment-header {
- margin-bottom: 20px;
- }
- #comments .comment-actions > a {
- font-size: .75rem;
- background: $keycolor;
- display: inline-block;
- padding: 3px 8px;
- color: #fff;
- border-radius: 5px;
- }
- /*========================================
- +/+ Footer
- ========================================*/
- #footer-wrapper {
- background: $footer_bg;
- color: #A1A1A1;
- padding: 30px 0;
- border-top: 3px solid $keycolor;
- padding-bottom: 0;
- }
- #footer-wrapper .container > .section {
- float: left;
- width: 30%;
- margin-right: 5%;
- }
- #footer-right {
- margin-right: 0 !important;
- }
- #footer-wrapper .recentposts .post-image,
- #footer-wrapper .random_post-image {
- border: 2px solid #595959;
- }
- #footer-wrapper .recent-post-item,
- #footer-wrapper .random-posts .post-wrapper {
- display: block;
- border-bottom: 1px solid #4D4D4D;
- }
- #footer-wrapper .widget > h2 {
- margin-bottom: 15px;
- text-transform: uppercase;
- color: #FFFFFF;
- font-size: 1rem;
- position: relative;
- text-align: center;
- font-weight: 500;
- padding: 8px 0;
- border: 3px solid #2d2d2d;
- background: #3E3E3E;
- }
- #footer-wrapper > .container .widget {
- margin-bottom: 30px;
- }
- #footer-wrapper .PopularPosts .widget-content li {
- border-bottom: 1px solid #464646;
- }
- #footer-wrapper .PopularPosts .item-thumbnail img {
- border: 2px solid #545454;
- }
- #footer-wrapper .label-size {
- background: #262626;
- margin-right: 3px;
- margin-bottom: 3px;
- }
- #footer-wrapper .label-size a:only-child {
- box-shadow: none;
- -webkit-box-shadow: none;
- }
- #footer-wrapper .BlogArchive select {
- width: 100%;
- height: 40px;
- border: 0;
- }
- #footer-wrapper .FollowByEmail .subhead {
- color: #BABABA;
- }
- #footer-wrapper .FollowByEmail .follow-by-email-inner .follow-by-email-address {
- background: #fff;
- }
- .copyright {
- display: block;
- background: rgba(0,0,0,0.2);
- padding: 15px 0;
- text-align: center;
- margin: 0;
- }
- /*================================================
- +/+ Media Queries
- ================================================*/
- @media only screen and (max-width: 1220px) {
- .top-nav-wrapper {
- padding: 0 11px;
- }
- .logo-and-ad-container {
- padding-left: 11px;
- padding-right: 11px;
- }
- .main-content {
- padding-left: 11px;
- padding-right: 11px;
- }
- #footer-wrapper {
- padding-right: 11px;
- padding-left: 11px;
- }
- } /* 1220px media query */
- @media only screen and (max-width: 980px) {
- #logo-and-ad-container .widget {
- display: block;
- width: 100%;
- margin-bottom: 25px;
- }
- #header-inner {
- display: inline-block;
- }
- #logo-and-ad-container .Header {
- margin-top: 30px;
- }
- #main-nav {
- position: relative;
- z-index: 50;
- }
- #main-nav .widget {
- width: 100%;
- }
- #main-nav-wrapper .widget-content {
- display: block;
- }
- div#main-nav ul {
- width: 100%;
- background: $keycolor;
- height: 50px;
- overflow: hidden;
- }
- #main-nav .widget-content > ul:before {
- content: 'Main Menu \25be';
- display: block;
- color: #fff;
- font-weight: 700;
- line-height: 50px;
- cursor: pointer;
- }
- #main-nav .widget-content > ul > li > a:before {
- display: none;
- }
- #main-nav .widget-content > ul > li:hover a {
- background: #444;
- }
- div#main-nav li {
- float: none !important;
- }
- #main-nav .widget-content > ul > li > a {
- border-bottom: 1px solid rgba(0,0,0,.1);
- border-top: 1px solid rgba(255,255,255,.1);
- }
- #main-nav .widget-content > ul > li > a {
- text-align: left;
- }
- .mega-menu-wrapper {
- display: none !important;
- }
- .mega-icon:after {
- content: '';
- }
- #main-nav .widget-content ul > li > ul, #main-nav .widget-content ul > li > ul > li > ul {
- position: relative;
- opacity: 1;
- visibility: visible;
- width: 100%;
- clear: both;
- display: block;
- float: none;
- left: auto;
- top: 0;
- }
- #main-nav .widget-content ul > li > ul > li > ul > li > a {
- padding-left: 40px;
- box-sizing: border-box;
- }
- #main-nav .widget-content ul > li > ul > li > a {
- padding-left: 25px;
- box-sizing: border-box;
- }
- .slider-item {
- float: left;
- width: 50%;
- }
- .index .blog-posts-wrapper {
- float: left;
- width: 66.5%;
- margin-right: 3.5%;
- }
- .item .blog-posts-wrapper {
- float: none;
- width: 100%;
- margin-right: 0;
- }
- .sidebar-wrapper1 {
- width: 30%;
- margin-right: 0;
- float: right;
- }
- .sidebar-wrapper2 {
- float: none;
- clear: both;
- position: relative;
- top: 30px;
- width: 100%;
- margin-bottom: 60px;
- }
- .sidebar.sidebar-wrapper2:after {
- content: '';
- display: table;
- clear: both;
- }
- .sidebar-wrapper2 .widget {
- float: left;
- width: 100%;
- margin-right: 0;
- }
- .sidebar-wrapper2 .widget:nth-child(even) {
- margin-right: 0;
- }
- .sidebartabs-wrapper {
- float: left;
- width: 100%;
- }
- .sidebartabs-wrapper .widget {
- width: 100%;
- float: none;
- }
- #footer-wrapper .container > .section {
- float: left;
- width: 100%;
- margin-right: 0;
- }
- #footer-center {
- margin-right: 0 !important;
- }
- #footer-right {
- margin-right: 0 !important;
- float: none !important;
- clear: both;
- width: 100% !important;
- }
- } /* 960px media query */
- @media only screen and (max-width: 880px) {
- .top-nav-wrapper .widget:first-child ul {
- position: absolute;
- display: none;
- background-color: #555;
- z-index: 999;
- }
- .top-nav-icon {
- display: block;
- cursor: pointer;
- }
- .top-nav-wrapper .widget:first-child li {
- float: none !important;
- white-space: nowrap !important;
- line-height: normal !important;
- margin-right: 0 !important;
- }
- .top-nav-wrapper .widget:first-child a {
- display: block;
- padding: 15px;
- color: #fff !important;
- }
- .top-nav-wrapper .widget:first-child a:hover {
- background: $keycolor;
- color: #fff;
- }
- } /* 880px media query */
- @media only screen and (max-width: 800px) {
- #related-posts {
- border: 0;
- padding: 0;
- max-width: 100%;
- position: static;
- margin-top: 25px;
- margin-bottom: 25px;
- -webkit-transform: translateX(0);
- -ms-transform: translateX(0);
- transform: translateX(0);
- }
- span#close-btn {
- display: none;
- }
- #related-posts ul {
- margin: 0 !important;
- padding: 0 !important;
- }
- .related-post-item {
- float: left;
- width: 31.666666666%;
- background: #eee;
- margin-right: 2.5% !important;
- }
- .related-post-item:last-child {
- margin-right: 0 !important;
- }
- .related-post-item:hover {
- background: #444;
- }
- .related-post-item:hover .related-post-title a {
- color: #fff;
- }
- #related-posts p {
- margin-bottom: 10px;
- }
- .related-thumb {
- float: none;
- margin-right: 0;
- border-radius: 0;
- }
- .related-post-img {
- display: block;
- width: 100%;
- padding: 34% 0;
- }
- .related-post-title {
- font-family: 'Roboto Slab', sans-serif;
- font-size: 0.875rem;
- font-weight: 700;
- text-transform: capitalize;
- line-height: 1.7;
- }
- .related-post-title a {
- display: block;
- padding: 10px;
- }
- } /* 800px media query */
- @media only screen and (max-width: 755px) {
- #logo-and-ad-container {
- height: auto;
- }
- .logo-and-ad-container {
- padding-bottom: 0;
- }
- .main-content {
- padding-left: 1%;
- padding-right: 1%;
- }
- .container {
- max-width: 98%;
- }
- #logo-and-ad-container {
- display: block;
- }
- #logo-and-ad-container .HTML .widget-content {
- width: 100%;
- height: auto;
- max-height: 90px;
- }
- .index .blog-posts-wrapper {
- float: none;
- width: 100%;
- margin-bottom: 35px;
- margin-right: 0;
- }
- .sidebar-wrapper1 {
- display: none;
- }
- #to-top {
- display: none;
- }
- #footer-wrapper {
- padding-right: 1%;
- padding-left: 1%;
- }
- } /* 755px media query */
- @media only screen and (max-width: 650px) {
- .related-post-item {
- float: left;
- width: 48%;
- margin-right: 4%;
- margin-bottom: 15px !important;
- }
- .related-post-item:nth-child(2) {
- margin-right: 0 !important;
- }
- .item .post-body img {
- width: 100%;
- height: auto;
- }
- } /* 650px media query */
- @media only screen and (max-width: 625px) {
- .sidebartabs-wrapper {
- float: none;
- width: 100%;
- }
- .sidebar-wrapper2 .widget {
- float: none;
- width: 100%;
- margin-right: 0;
- }
- .randomposts2 .post-wrapper,
- .recentposts2 .post-wrapper {
- float: left;
- width: 49%;
- margin-right: 2%;
- }
- .randomposts2 .post-wrapper:nth-child(even),
- .recentposts2 .post-wrapper:nth-child(even) {
- margin-right: 0;
- }
- #footer-wrapper .container > .section {
- float: none;
- width: 100%;
- margin-right: 0;
- }
- } /* 625px media query */
- @media only screen and (max-width: 575px) {
- .item .author-avatar {
- float: none;
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
- .item .author-name {
- margin: 10px 0;
- text-align: center;
- }
- .item .author-bio {
- margin-left: 0;
- }
- .item .author-footer {
- text-align: center;
- line-height: 0.9;
- }
- .item .author-profiles {
- float: none;
- display: inline-block;
- }
- } /* 575px media query */
- @media only screen and (max-width: 505px) {
- #logo-and-ad-container .HTML .widget-content {
- width: 100%;
- }
- } /* 505px media query */
- @media only screen and (max-width: 480px) {
- .post-share-header {
- display: none;
- }
- #LinkList2 li a {
- width: 25px;
- }
- .item .entry-title {
- font-size: 1.1rem;
- }
- #slider {
- display: none;
- }
- .main-content {
- padding-left: 1%;
- padding-right: 1%;
- }
- .index .post-title.heading {
- margin-bottom: 17px;
- }
- .post-outer .post-label {
- display: none;
- }
- ul.post-meta.clearfix {
- display: none;
- }
- li.stack-post {
- padding-right: 0;
- }
- .stack-post-image {
- width: 100%;
- padding: 26%;
- float: none;
- }
- .stack-post-title {
- padding: 10px;
- margin-bottom: 2px;
- }
- .stack-post-summary {
- padding: 10px;
- padding-top: 0;
- }
- .grids-post {
- float: none;
- width: 100%;
- }
- li.grids-post {
- margin-bottom: 15px !important;
- }
- .btop .btop-post {
- float: none;
- width: 100%;
- margin-right: 0;
- }
- .btop-post:after {
- content: '';
- display: table;
- clear: both;
- }
- .btop-info-wrapper {
- padding: 10px 0;
- }
- .btop-post-title {
- font-size: 1rem;
- }
- .randomposts2 .post-wrapper,
- .recentposts2 .post-wrapper {
- float: none;
- width: 100%;
- margin-right: 0;
- }
- .related-post-item {
- float: none;
- width: 100%;
- margin-right: 0 !important;
- }
- } /* 480px media query */
- @media only screen and (max-width: 430px) {
- .sidebar-wrapper1 {
- width: 100%;
- }
- .post-outer .summary {
- display: none;
- }
- a.read-more {
- display: none;
- }
- .index span.post-comment-link {
- display: none;
- }
- } /* 430px media query */
- @media only screen and (max-width: 360px) {
- .btop .big-post-title {
- font-size: 1rem;
- }
- .btop-post-title {
- font-size: .875rem;
- }
- .blog-posts-wrapper .slideshow .post-summary {
- display: none;
- }
- .blog-posts-wrapper .slideshow .post-title {
- margin-bottom: 0;
- }
- } /* 360px media query */
- @media only screen and (max-width: 300px) {
- #header-inner {
- max-width: 100%;
- }
- #LinkList2, .sidebar-wrapper2 {
- display: none;
- }
- } /* 240px media query */
- ]]></b:skin>
- <style>
- /*-------Typography and ShortCodes-------*/
- .firstcharacter{float:left;color:#27ae60;font-size:75px;line-height:60px;padding-top:4px;padding-right:8px;padding-left:3px}.item .post-body h1,.item .post-body h2,.item .post-body h3,.item .post-body h4,.item .post-body h5,.item .post-body h6{margin-bottom:15px;color:#2c3e50}blockquote{font-style:italic;color:#888;border-left:5px solid #27ae60;margin-left:0;padding:10px 15px}blockquote:before{content:'\f10d';display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-right:10px;color:#888}blockquote:after{content:'\f10e';display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:10px;color:#888}.button{background-color:#2c3e50;float:left;padding:5px 12px;margin:5px;color:#fff;text-align:center;border:0;cursor:pointer;border-radius:3px;display:block;text-decoration:none;font-weight:400;transition:all .3s ease-out !important;-webkit-transition:all .3s ease-out !important}a.button{color:#fff}.button:hover{background-color:#27ae60;color:#fff}.button.small{font-size:12px;padding:5px 12px}.button.medium{font-size:16px;padding:6px 15px}.button.large{font-size:18px;padding:8px 18px}.small-button{width:100%;overflow:hidden;clear:both}.medium-button{width:100%;overflow:hidden;clear:both}.large-button{width:100%;overflow:hidden;clear:both}.demo:before{content:"\f06e";margin-right:5px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.download:before{content:"\f019";margin-right:5px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.buy:before{content:"\f09d";margin-right:5px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.visit:before{content:"\f14c";margin-right:5px;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.widget .post-body ul,.widget .post-body ol{line-height:1.5;font-weight:400}.widget .post-body li{margin:5px 0;padding:0;line-height:1.5}.post-body ul li:before{content:"\f105";margin-right:5px;font-family:fontawesome}pre{font-family:Monaco, "Andale Mono", "Courier New", Courier, monospace;background-color:#2c3e50;background-image:-webkit-linear-gradient(rgba(0, 0, 0, 0.05) 50%, transparent 50%, transparent);background-image:-moz-linear-gradient(rgba(0, 0, 0, 0.05) 50%, transparent 50%, transparent);background-image:-ms-linear-gradient(rgba(0, 0, 0, 0.05) 50%, transparent 50%, transparent);background-image:-o-linear-gradient(rgba(0, 0, 0, 0.05) 50%, transparent 50%, transparent);background-image:linear-gradient(rgba(0, 0, 0, 0.05) 50%, transparent 50%, transparent);-webkit-background-size:100% 50px;-moz-background-size:100% 50px;background-size:100% 50px;line-height:25px;color:#f1f1f1;position:relative;padding:0 7px;margin:15px 0 10px;overflow:hidden;word-wrap:normal;white-space:pre;position:relative}pre:before{content:'Code';display:block;background:#F7F7F7;margin-left:-7px;margin-right:-7px;color:#2c3e50;padding-left:7px;font-weight:400;font-size:14px}pre code,pre .line-number{display:block}pre .line-number a{color:#27ae60;opacity:0.6}pre .line-number span{display:block;float:left;clear:both;width:20px;text-align:center;margin-left:-7px;margin-right:7px}pre .line-number span:nth-child(odd){background-color:rgba(0, 0, 0, 0.11)}pre .line-number span:nth-child(even){background-color:rgba(255, 255, 255, 0.05)}pre .cl{display:block;clear:both}#contact{background-color:#fff;margin:30px 0 !important}#contact .contact-form-widget{max-width:100% !important}#contact .contact-form-name,#contact .contact-form-email,#contact .contact-form-email-message{background-color:#FFF;border:1px solid #eee;border-radius:3px;padding:10px;margin-bottom:10px !important;max-width:100% !important}#contact .contact-form-name{width:47.7%;height:50px}#contact .contact-form-email{width:49.7%;height:50px}#contact .contact-form-email-message{height:150px}#contact .contact-form-button-submit{max-width:100%;width:100%;z-index:0;margin:4px 0 0;padding:10px !important;text-align:center;cursor:pointer;background:#27ae60;border:0;height:auto;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;text-transform:uppercase;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-o-transition:all .2s ease-out;-ms-transition:all .2s ease-out;transition:all .2s ease-out;color:#FFF}#contact .contact-form-button-submit:hover{background:#2c3e50}#contact .contact-form-email:focus,#contact .contact-form-name:focus,#contact .contact-form-email-message:focus{box-shadow:none !important}.alert-message{position:relative;display:block;background-color:#FAFAFA;padding:20px;margin:20px 0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;color:#2f3239;border:1px solid}.alert-message p{margin:0 !important;padding:0;line-height:22px;font-size:13px;color:#2f3239}.alert-message span{font-size:14px !important}.alert-message i{font-size:16px;line-height:20px}.alert-message.success{background-color:#f1f9f7;border-color:#e0f1e9;color:#1d9d74}.alert-message.success a,.alert-message.success span{color:#1d9d74}.alert-message.alert{background-color:#DAEFFF;border-color:#8ED2FF;color:#378FFF}.alert-message.alert a,.alert-message.alert span{color:#378FFF}.alert-message.warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-message.warning a,.alert-message.warning span{color:#8a6d3b}.alert-message.error{background-color:#FFD7D2;border-color:#FF9494;color:#F55D5D}.alert-message.error a,.alert-message.error span{color:#F55D5D}.fa-check-circle:before{content:"\f058"}.fa-info-circle:before{content:"\f05a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-exclamation-circle:before{content:"\f06a"}.post-table table{border-collapse:collapse;width:100%}.post-table th{background-color:#eee;font-weight:bold}.post-table th,.post-table td{border:0.125em solid #333;line-height:1.5;padding:0.75em;text-align:left}@media (max-width: 30em){.post-table thead tr{position:absolute;top:-9999em;left:-9999em}.post-table tr{border:0.125em solid #333;border-bottom:0}.post-table tr + tr{margin-top:1.5em}.post-table tr,.post-table td{display:block}.post-table td{border:none;border-bottom:0.125em solid #333;padding-left:50%}.post-table td:before{content:attr(data-label);display:inline-block;font-weight:bold;line-height:1.5;margin-left:-100%;width:100%}}@media (max-width: 20em){.post-table td{padding-left:0.75em}.post-table td:before{display:block;margin-bottom:0.75em;margin-left:0}}
- .FollowByEmail {
- clear: both;
- }
- .widget .post-body ol {
- padding: 0 0 0 15px;
- }
- .post-body ul li {
- list-style: none;
- }
- </style>
- <b:template-skin>
- <![CDATA[
- body#layout {
- text-transform: capitalize;
- width:800px;
- }
- body#layout div.section {
- margin: 0 0 10px 0;
- }
- #layout #header {
- background-color: #22da9e !important;
- padding: 6px;
- margin-bottom: 15px;
- padding-bottom: 0px;
- padding-top: 7px;
- color: #fff;
- }
- body#layout #main-nav .widget {
- display: block;
- }
- #layout #header .section {
- background-color: #1FC38E !important;
- border-color: #1FB987 !important;
- }
- #layout #header .widget-content {
- border: 0 !important;
- }
- #layout #header .widget-wrap2 {
- background-color: #4a4a4a !important;
- }
- #layout #LinkList1 {
- margin-right: 15px;
- }
- #layout #main-nav-wrapper {
- height: 170px;
- }
- #layout .top-nav-wrapper {
- height: 162px;
- }
- #layout #top-nav {
- overflow: hidden !important;
- }
- #layout .top-nav-wrapper .widget {
- width: 48.9% !important;
- }
- #layout .top-nav-wrapper .LinkList {
- float: left !important;
- }
- #layout #logo-and-ad-container {
- overflow: hidden !important;
- }
- #layout #Header1 {
- float: left !important;
- width: 30% !important;
- display: block;
- }
- #layout .top-nav-wrapper {
- height: auto;
- }
- #layout #logo-and-ad-container {
- display: block;
- height: auto;
- }
- #layout .logo-and-ad-container {
- margin-top: 0;
- }
- #layout .logo-and-ad-container .HTML {
- float: right !important;
- display: block;
- width: 67% !important;
- }
- #layout .logo-and-ad-container .HTML .widget-content {
- width: 100%;
- padding-right: 0;
- height: 73px;
- }
- #layout #main-nav {
- float: none;
- }
- #layout #main-nav-wrapper .widget-content {
- display: block;
- }
- #layout #search-box,
- #layout #search-input {
- display: none;
- }
- #layout #slider {
- height: 118px;
- background-color: #EA6969 !important;
- color: #fff;
- text-transform: capitalize;
- border: 0 !important;
- }
- #layout #slider .widget {
- min-height: 0;
- }
- #layout .widget-wrap2 {
- background-color: #4a4a4a !important;
- }
- #layout .widget-content {
- border: 0 !important;
- }
- body#layout .main-content div.section {
- padding: 7px;
- }
- #layout .main-content {
- margin-bottom: 10px;
- }
- #layout .blog-posts-wrapper {
- float: left;
- width: 45%;
- text-transform: capitalize;
- margin-right: 10px;
- }
- #layout .blog-posts-wrapper .section {
- background-color: #4ECEFF !important;
- color: #fff;
- border: 0 !important;
- }
- #layout .sidebar-wrapper1 {
- width: 24.8%;
- margin-right: 10px;
- padding: 0;
- }
- #layout div#sidebar1 {
- background: #CE37FF !important;
- color: #fff;
- }
- #layout div#sidebar2,
- #layout div#sidebar3,
- #layout #sidebar-tabs {
- background: #FABE14 !important;
- color: #fff;
- }
- #layout .sidebartabs {
- display: none;
- }
- #layout .sidebartabs-wrapper {
- margin-bottom: 0;
- }
- #layout #footer-wrapper {
- padding: 10px;
- background-color: #858585;
- }
- #layout #footer-wrapper .container > .section {
- margin-right: 15px;
- width: 27.8% !important;
- background-color: #e2e2e2 !important;
- border: 0;
- float: left;
- }
- #layout #footer-wrapper .container > .section:last-child {
- margin-right: 0;
- }
- ]]>
- </b:template-skin>
- <b:include data='blog' name='google-analytics'/>
- <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' type='text/javascript'/>
- </head>
- <body expr:class='data:blog.pageType' expr:data-main='data:blog.url == data:blog.homepageUrl'>
- <!-- //START// Template Settings -->
- <script>
- //<![CDATA[
- // Box or Full-width style?
- boxStyle = true;
- // Do you want to show the pagination?
- showPagination = true;
- // Number of posts to show for the Homepage widgets
- slideshowPostsNum = 5; /* the slideshow box style */
- stackPostsNum = 4; /* the stack box style */
- gridsPostsNum = 4; /* the grids box style */
- btopPostsNum = 5; /* the btop box style */
- // Recent & Random Posts & Vertical Posts Number
- sidebarRecentPostsNum = 5;
- sidebarRandomPostsNum = 5;
- footerRecentPostsNum = 4;
- footerRandomPostsNum = 5;
- verticalPostsNum = 5;
- // The number of comments to be shown by the recent comments widget
- sidebarRecentCommentsNum = 5;
- // The message that appears in the "follow by email" widget
- var followByEmailMessage = "Subscribe to our newsletter to get the latest blog news directly into your inbox.";
- //]]>
- </script>
- <!-- //END// Template Settings -->
- <script>
- //<![CDATA[
- if(!boxStyle) {
- $("body").css("max-width", "100%");
- }
- //]]>
- </script> <!-- Box or full width -->
- <a href='#' id='to-top'><i class='fa fa-chevron-up'/></a>
- <header id='header'>
- <div class='search'>
- <form action='/search' id='search-form' method='get'>
- <input id='search-input' name='q' placeholder='search here' type='text'/>
- </form>
- </div>
- <div class='top-nav-wrapper'>
- <b:section class='container clearfix' id='top-nav' maxwidgets='2' showaddelement='no'>
- <b:widget id='LinkList1' locked='true' title='Top Menu' type='LinkList'>
- <b:widget-settings>
- <b:widget-setting name='sorting'>NONE</b:widget-setting>
- <b:widget-setting name='text-1'>About Us</b:widget-setting>
- <b:widget-setting name='link-1'>https://jupiter-soratemplates.blogspot.com/p/about_9.html</b:widget-setting>
- <b:widget-setting name='text-0'>Home</b:widget-setting>
- <b:widget-setting name='link-2'>https://jupiter-soratemplates.blogspot.com/p/contact-us.html</b:widget-setting>
- <b:widget-setting name='link-0'>/</b:widget-setting>
- <b:widget-setting name='text-2'>Contact Us</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <i class='fa fa-bars top-nav-icon'/>
- <div class='widget-content'>
- <ul>
- <b:loop values='data:links' var='link'>
- <li><a expr:href='data:link.target'><data:link.name/></a></li>
- </b:loop>
- </ul>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- <b:widget id='LinkList2' locked='true' title='Social Profiles' type='LinkList'>
- <b:widget-settings>
- <b:widget-setting name='link-5'>#</b:widget-setting>
- <b:widget-setting name='link-6'>#</b:widget-setting>
- <b:widget-setting name='link-3'>#</b:widget-setting>
- <b:widget-setting name='link-4'>#</b:widget-setting>
- <b:widget-setting name='text-1'><![CDATA[<i class="fa fa-twitter"></i>]]></b:widget-setting>
- <b:widget-setting name='text-0'><![CDATA[<i class="fa fa-facebook"></i>]]></b:widget-setting>
- <b:widget-setting name='text-3'><![CDATA[<i class="fa fa-instagram"></i>]]></b:widget-setting>
- <b:widget-setting name='text-2'><![CDATA[<i class="fa fa-youtube"></i>]]></b:widget-setting>
- <b:widget-setting name='text-5'><![CDATA[<i class="fa fa-linkedin"></i>]]></b:widget-setting>
- <b:widget-setting name='text-4'><![CDATA[<i class="fa fa-rss"></i>]]></b:widget-setting>
- <b:widget-setting name='text-6'><![CDATA[<i class="fa fa-dribbble"></i>]]></b:widget-setting>
- <b:widget-setting name='sorting'>NONE</b:widget-setting>
- <b:widget-setting name='link-1'>#</b:widget-setting>
- <b:widget-setting name='link-2'>#</b:widget-setting>
- <b:widget-setting name='link-0'>#</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <div class='widget-content'>
- <ul>
- <b:loop values='data:links' var='link'>
- <li><a expr:href='data:link.target'><data:link.name/></a></li>
- </b:loop>
- </ul>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- </b:section>
- </div><!-- top-nav-wrapper -->
- <div id='search-btn'>
- <i class='fa fa-search' id='search-icon'/>
- </div>
- <div class='logo-and-ad-container'>
- <b:section class='container' id='logo-and-ad-container' maxwidgets='2' showaddelement='yes'>
- <b:widget id='Header1' locked='false' title='Jupiter (Header)' type='Header'>
- <b:widget-settings>
- <b:widget-setting name='displayUrl'>http://2.bp.blogspot.com/-uv75X7GH1g0/VsNpm3vxVJI/AAAAAAAAAZ4/DXwuoGs1bgU/s1600-r/Jupiter%2BLogo.png</b:widget-setting>
- <b:widget-setting name='displayHeight'>44</b:widget-setting>
- <b:widget-setting name='sectionWidth'>150</b:widget-setting>
- <b:widget-setting name='useImage'>true</b:widget-setting>
- <b:widget-setting name='shrinkToFit'>false</b:widget-setting>
- <b:widget-setting name='imagePlacement'>REPLACE</b:widget-setting>
- <b:widget-setting name='displayWidth'>244</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <b:if cond='data:useImage'>
- <b:if cond='data:imagePlacement == "BEHIND"'>
- <!--
- Show image as background to text. You can't really calculate the width
- reliably in JS because margins are not taken into account by any of
- clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
- width if the user is using shrink to fit.
- This results in a margin-width's worth of pixels being cropped. If the
- user is not using shrink to fit then we expand the header.
- -->
- <b:if cond='data:mobile'>
- <div id='header-inner'>
- <div class='titlewrapper' style='background: transparent'>
- <h1 class='title' style='background: transparent; border-width: 0px'>
- <b:include name='title'/>
- </h1>
- </div>
- <b:include name='description'/>
- </div>
- <b:else/>
- <div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: " + data:backgroundPositionStyleStr + "; " + data:widthStyleStr + "min-height: " + data:height + "_height: " + data:height + "background-repeat: no-repeat; "' id='header-inner'>
- <div class='titlewrapper' style='background: transparent'>
- <h1 class='title' style='background: transparent; border-width: 0px'>
- <b:include name='title'/>
- </h1>
- </div>
- <b:include name='description'/>
- </div>
- </b:if>
- <b:else/>
- <!--Show the image only-->
- <div id='header-inner'>
- <a expr:href='data:blog.homepageUrl' style='display: block'><h1 style='display:none;'/>
- <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
- </a>
- <!--Show the description-->
- <b:if cond='data:imagePlacement == "BEFORE_DESCRIPTION"'>
- <b:include name='description'/>
- </b:if>
- </div>
- </b:if>
- <b:else/>
- <!--No header image -->
- <div id='header-inner'>
- <div class='titlewrapper'>
- <h1 class='title'>
- <b:include name='title'/>
- </h1>
- </div>
- <b:include name='description'/>
- </div>
- </b:if>
- </b:includable>
- <b:includable id='description'>
- <div class='descriptionwrapper'>
- <p class='description'><span><data:description/></span></p>
- </div>
- </b:includable>
- <b:includable id='title'>
- <b:if cond='data:blog.url == data:blog.homepageUrl'>
- <data:title/>
- <b:else/>
- <a expr:href='data:blog.homepageUrl'><data:title/></a>
- </b:if>
- </b:includable>
- </b:widget>
- <b:widget id='HTML1' locked='false' title='Top Ad' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'><img id="top-ad" alt="top ads" src="https://2.bp.blogspot.com/-ls7_quIjznA/VmMGna8ZMDI/AAAAAAAAARg/3lRLPtZ-JVs/s1600/ad.png"/>
- <style>
- .hide {
- display: inline-blok !important;
- }
- </style></b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- </div><!-- logo-and-ad-container -->
- <div class='clearfix' id='main-nav-wrapper' itemscope='' itemtype='http://schema.org/SiteNavigationElement'>
- <div class='container'>
- <b:section id='main-nav' maxwidgets='1' showaddelement='no'>
- <b:widget id='LinkList3' locked='true' title='Main Menu' type='LinkList'>
- <b:widget-settings>
- <b:widget-setting name='text-10'>Documentation</b:widget-setting>
- <b:widget-setting name='sorting'>NONE</b:widget-setting>
- <b:widget-setting name='link-1'>#</b:widget-setting>
- <b:widget-setting name='link-13'>https://www.soratemplates.com/2016/04/jupiter-blogger-templates.html</b:widget-setting>
- <b:widget-setting name='link-2'>#</b:widget-setting>
- <b:widget-setting name='link-12'>https://youtu.be/gnkGJPrMLKI</b:widget-setting>
- <b:widget-setting name='link-0'>/</b:widget-setting>
- <b:widget-setting name='link-11'>https://www.sorabloggingtips.com/2020/05/how-to-setup-jupiter-blogger-template.html</b:widget-setting>
- <b:widget-setting name='link-10'>#</b:widget-setting>
- <b:widget-setting name='text-9'>business</b:widget-setting>
- <b:widget-setting name='link-9'>mega</b:widget-setting>
- <b:widget-setting name='text-8'>_Error Page</b:widget-setting>
- <b:widget-setting name='link-7'>https://www.sorabloggingtips.com/2017/01/how-to-add-sitemap-widget-in-blogspot-blogs.html</b:widget-setting>
- <b:widget-setting name='link-8'>https://jupiter-soratemplates.blogspot.com/soratemplates</b:widget-setting>
- <b:widget-setting name='link-5'>#</b:widget-setting>
- <b:widget-setting name='link-6'>https://local-hunter.com</b:widget-setting>
- <b:widget-setting name='link-3'>#</b:widget-setting>
- <b:widget-setting name='link-4'>#</b:widget-setting>
- <b:widget-setting name='text-1'>Features</b:widget-setting>
- <b:widget-setting name='text-0'>Home</b:widget-setting>
- <b:widget-setting name='text-3'>__Dropdown 1</b:widget-setting>
- <b:widget-setting name='text-2'>_Multi Dropdown</b:widget-setting>
- <b:widget-setting name='text-5'>__Dropdown 3</b:widget-setting>
- <b:widget-setting name='text-4'>__Dropdown 2</b:widget-setting>
- <b:widget-setting name='text-7'>_Sitemap</b:widget-setting>
- <b:widget-setting name='text-6'>_Shortcodes</b:widget-setting>
- <b:widget-setting name='text-11'>_Web Doc</b:widget-setting>
- <b:widget-setting name='text-12'>_Video Doc</b:widget-setting>
- <b:widget-setting name='text-13'>Download This Template</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <div class='widget-content'>
- <ul>
- <b:loop values='data:links' var='link'>
- <li itemprop='name'><a expr:href='data:link.target' itemprop='url'><data:link.name/></a></li>
- </b:loop>
- </ul>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- </b:section>
- </div>
- </div><!-- main-nav-wrapper -->
- </header>
- <b:section id='slider' maxwidgets='1' showaddelement='yes'>
- <b:widget id='HTML2' locked='true' title='Slider' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>recent</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section><!-- slider -->
- <div class='main-content'>
- <div class='container clearfix'>
- <div class='blog-posts-wrapper'>
- <b:section class='home-widgets' id='home-widgets1'>
- <b:widget id='HTML18' locked='false' title='Slide show' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[people][slideshow]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- <b:section id='blog-posts' showaddelement='no'>
- <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog' version='1'>
- <b:widget-settings>
- <b:widget-setting name='showDateHeader'>true</b:widget-setting>
- <b:widget-setting name='style.textcolor'>#299bfa</b:widget-setting>
- <b:widget-setting name='showShareButtons'>false</b:widget-setting>
- <b:widget-setting name='showCommentLink'>true</b:widget-setting>
- <b:widget-setting name='style.urlcolor'>#222222</b:widget-setting>
- <b:widget-setting name='showAuthor'>true</b:widget-setting>
- <b:widget-setting name='disableGooglePlusShare'>true</b:widget-setting>
- <b:widget-setting name='style.linkcolor'>#374551</b:widget-setting>
- <b:widget-setting name='style.unittype'>TextAndImage</b:widget-setting>
- <b:widget-setting name='style.bgcolor'>#ffffff</b:widget-setting>
- <b:widget-setting name='showAuthorProfile'>false</b:widget-setting>
- <b:widget-setting name='style.layout'>1x1</b:widget-setting>
- <b:widget-setting name='showLabels'>true</b:widget-setting>
- <b:widget-setting name='showLocation'>true</b:widget-setting>
- <b:widget-setting name='showTimestamp'>true</b:widget-setting>
- <b:widget-setting name='postsPerAd'>1</b:widget-setting>
- <b:widget-setting name='showBacklinks'>false</b:widget-setting>
- <b:widget-setting name='style.bordercolor'>#ffffff</b:widget-setting>
- <b:widget-setting name='showInlineAds'>false</b:widget-setting>
- <b:widget-setting name='showReactions'>false</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main' var='top'>
- <b:if cond='!data:mobile'>
- <!-- posts -->
- <div class='blog-posts hfeed'>
- <b:include data='top' name='status-message'/>
- <data:defaultAdStart/>
- <b:loop values='data:posts' var='post'>
- <div class='post-outer'>
- <b:include data='post' name='post'/>
- <b:include cond='data:blog.pageType in {"static_page","item"}' data='post' name='comment_picker'/>
- </div>
- <b:if cond='data:post.includeAd'>
- <b:if cond='data:post.isFirstPost'>
- <data:defaultAdEnd/>
- <b:else/>
- <data:adEnd/>
- </b:if>
- <div class='inline-ad'>
- <data:adCode/>
- </div>
- <data:adStart/>
- </b:if>
- </b:loop>
- <data:adEnd/>
- </div>
- <b:if cond='data:blog.pageType != "item"'>
- <!-- navigation -->
- <b:include name='nextprev'/>
- </b:if>
- <!-- feed links -->
- <b:include name='feedLinks'/>
- <b:else/>
- <b:include name='mobile-main'/>
- </b:if>
- <b:if cond='data:top.showDummy'>
- <data:top.dummyBootstrap/>
- </b:if>
- </b:includable>
- <b:includable id='backlinkDeleteIcon' var='backlink'>
- <span expr:class='"item-control " + data:backlink.adminClass'>
- <a expr:href='data:backlink.deleteUrl' expr:title='data:top.deleteBacklinkMsg'>
- <img src='//www.blogger.com/img/icon_delete13.gif'/>
- </a>
- </span>
- </b:includable>
- <b:includable id='backlinks' var='post'>
- <a name='links'/><h4><data:post.backlinksLabel/></h4>
- <b:if cond='data:post.numBacklinks != 0'>
- <dl class='comments-block' id='comments-block'>
- <b:loop values='data:post.backlinks' var='backlink'>
- <div class='collapsed-backlink backlink-control'>
- <dt class='comment-title'>
- <span class='backlink-toggle-zippy'> </span>
- <a expr:href='data:backlink.url' rel='nofollow'><data:backlink.title/></a>
- <b:include data='backlink' name='backlinkDeleteIcon'/>
- </dt>
- <dd class='comment-body collapseable'>
- <data:backlink.snippet/>
- </dd>
- <dd class='comment-footer collapseable'>
- <span class='comment-author'><data:post.authorLabel/> <data:backlink.author/></span>
- <span class='comment-timestamp'><data:post.timestampLabel/> <data:backlink.timestamp/></span>
- </dd>
- </div>
- </b:loop>
- </dl>
- </b:if>
- <p class='comment-footer'>
- <a class='comment-link' expr:href='data:post.createLinkUrl' expr:id='data:widget.instanceId + "_backlinks-create-link"' target='_blank'><data:post.createLinkLabel/></a>
- </p>
- </b:includable>
- <b:includable id='comment-form' var='post'>
- <div class='comment-form'>
- <a name='comment-form'/>
- <b:if cond='data:mobile'>
- <h4 id='comment-post-message'>
- <a expr:id='data:widget.instanceId + "_comment-editor-toggle-link"' href='javascript:void(0)'><data:postCommentMsg/></a></h4>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' style='display: none' width='100%'/>
- <b:else/>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='180' id='comment-editor' name='comment-editor' src='' width='100%'/>
- </b:if>
- <data:post.friendConnectJs/>
- <data:post.cmtfpIframe/>
- <script type='text/javascript'>
- BLOG_CMT_createIframe('<data:post.appRpcRelayPath/>');
- </script>
- </div>
- </b:includable>
- <b:includable id='commentDeleteIcon' var='comment'>
- <span expr:class='"item-control " + data:comment.adminClass'>
- <b:if cond='data:showCmtPopup'>
- <div class='goog-toggle-button'>
- <div class='goog-inline-block comment-action-icon'/>
- </div>
- <b:else/>
- <a class='comment-delete' expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'>
- <img src='//www.blogger.com/img/icon_delete13.gif'/>
- </a>
- </b:if>
- </span>
- </b:includable>
- <b:includable id='comment_count_picker' var='post'>
- <b:if cond='data:post.commentSource == 1'>
- <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-post-url='data:post.url' expr:data-url='data:post.canonicalUrl'>
- </span>
- <b:else/>
- <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
- <data:post.numComments/>
- </a>
- </b:if>
- </b:includable>
- <b:includable id='comment_picker' var='post'>
- <b:if cond='data:post.commentSource == 1'>
- <b:include data='post' name='iframe_comments'/>
- <b:elseif cond='data:post.showThreadedComments'/>
- <b:include data='post' name='threaded_comments'/>
- <b:else/>
- <b:include data='post' name='comments'/>
- </b:if>
- </b:includable>
- <b:includable id='comments' var='post'>
- <div class='comments' id='comments'>
- <a name='comments'/>
- <b:if cond='data:post.allowComments'>
- <h4><i class='fa fa-comments icon'/><data:post.commentLabelFull/>:</h4>
- <b:if cond='data:post.commentPagingRequired'>
- <span class='paging-control-container'>
- <b:if cond='data:post.hasOlderLinks'>
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
-  
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
-  
- </b:if>
- <data:post.commentRangeText/>
- <b:if cond='data:post.hasNewerLinks'>
-  
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
-  
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
- </b:if>
- </span>
- </b:if>
- <div expr:id='data:widget.instanceId + "_comments-block-wrapper"'>
- <dl expr:class='data:post.avatarIndentClass' id='comments-block'>
- <b:loop values='data:post.comments' var='comment'>
- <dt expr:class='"comment-author " + data:comment.authorClass' expr:id='data:comment.anchorName'>
- <b:if cond='data:comment.favicon'>
- <img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>
- </b:if>
- <a expr:name='data:comment.anchorName'/>
- <b:if cond='data:blog.enabledCommentProfileImages'>
- <data:comment.authorAvatarImage/>
- </b:if>
- <b:if cond='data:comment.authorUrl'>
- <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
- <b:else/>
- <data:comment.author/>
- </b:if>
- <data:commentPostedByMsg/>
- </dt>
- <dd class='comment-body' expr:id='data:widget.instanceId + data:comment.cmtBodyIdPostfix'>
- <b:if cond='data:comment.isDeleted'>
- <span class='deleted-comment'><data:comment.body/></span>
- <b:else/>
- <p>
- <data:comment.body/>
- </p>
- </b:if>
- </dd>
- <dd class='comment-footer'>
- <span class='comment-timestamp'>
- <a expr:href='data:comment.url' title='comment permalink'>
- <data:comment.timestamp/>
- </a>
- <b:include data='comment' name='commentDeleteIcon'/>
- </span>
- </dd>
- </b:loop>
- </dl>
- </div>
- <b:if cond='data:post.commentPagingRequired'>
- <span class='paging-control-container'>
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
- <data:post.oldestLinkText/>
- </a>
- <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
- <data:post.olderLinkText/>
- </a>
-  
- <data:post.commentRangeText/>
-  
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
- <data:post.newerLinkText/>
- </a>
- <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
- <data:post.newestLinkText/>
- </a>
- </span>
- </b:if>
- <p class='comment-footer'>
- <b:if cond='data:post.embedCommentForm'>
- <b:if cond='data:post.allowNewComments'>
- <b:include data='post' name='comment-form'/>
- <b:else/>
- <data:post.noNewCommentsText/>
- </b:if>
- <b:elseif cond='data:post.allowComments'/>
- <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
- </b:if>
- </p>
- </b:if>
- <b:if cond='data:showCmtPopup'>
- <div id='comment-popup'>
- <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
- </iframe>
- </div>
- </b:if>
- <div id='backlinks-container'>
- <div expr:id='data:widget.instanceId + "_backlinks-container"'>
- <b:include cond='data:post.showBacklinks' data='post' name='backlinks'/>
- </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='feedLinks'>
- <b:if cond='data:blog.pageType != "item"'> <!-- Blog feed links -->
- <b:if cond='data:feedLinks'>
- <div class='blog-feeds'>
- <b:include data='feedLinks' name='feedLinksBody'/>
- </div>
- </b:if>
- <b:else/> <!--Post feed links -->
- <div class='post-feeds'>
- <b:loop values='data:posts' var='post'>
- <b:include cond='data:post.allowComments and data:post.feedLinks' data='post.feedLinks' name='feedLinksBody'/>
- </b:loop>
- </div>
- </b:if>
- </b:includable>
- <b:includable id='feedLinksBody' var='links'>
- <div class='feed-links'>
- <data:feedLinksMsg/>
- <b:loop values='data:links' var='f'>
- <a class='feed-link' expr:href='data:f.url' expr:type='data:f.mimeType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a>
- </b:loop>
- </div>
- </b:includable>
- <b:includable id='iframe_comments' var='post'>
- <b:if cond='data:post.allowIframeComments'>
- <script expr:src='data:post.iframeCommentSrc' type='text/javascript'/>
- <div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
- <b:if cond='data:post.embedCommentForm == "false"'>
- <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
- </b:if>
- </b:if>
- </b:includable>
- <b:includable id='mobile-index-post' var='post'>
- <div class='mobile-date-outer date-outer'>
- <b:if cond='data:post.dateHeader'>
- <div class='date-header'>
- <span><data:post.dateHeader/></span>
- </div>
- </b:if>
- <div class='mobile-post-outer'>
- <a expr:href='data:post.url'>
- <h3 class='mobile-index-title entry-title' itemprop='name'>
- <data:post.title/>
- </h3>
- <div class='mobile-index-arrow'>&rsaquo;</div>
- <div class='mobile-index-contents'>
- <b:if cond='data:post.thumbnailUrl'>
- <div class='mobile-index-thumbnail'>
- <div class='Image'>
- <img expr:src='data:post.thumbnailUrl'/>
- </div>
- </div>
- </b:if>
- <div class='post-body'>
- <b:if cond='data:post.snippet'><data:post.snippet/></b:if>
- </div>
- </div>
- <div style='clear: both;'/>
- </a>
- <div class='mobile-index-comment'>
- <b:include cond='data:blog.pageType != "static_page" and data:post.allowComments and data:post.numComments != 0' data='post' name='comment_count_picker'/>
- </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='mobile-main' var='top'>
- <!-- posts -->
- <div class='blog-posts hfeed'>
- <b:include data='top' name='status-message'/>
- <b:if cond='data:blog.pageType == "index"'>
- <b:loop values='data:posts' var='post'>
- <b:include data='post' name='mobile-index-post'/>
- </b:loop>
- <b:else/>
- <b:loop values='data:posts' var='post'>
- <b:include data='post' name='mobile-post'/>
- </b:loop>
- </b:if>
- </div>
- <b:include name='mobile-nextprev'/>
- </b:includable>
- <b:includable id='mobile-nextprev'>
- <div class='blog-pager' id='blog-pager'>
- <b:if cond='data:newerPageUrl'>
- <div class='mobile-link-button' id='blog-pager-newer-link'>
- <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'>&lsaquo;</a>
- </div>
- </b:if>
- <b:if cond='data:olderPageUrl'>
- <div class='mobile-link-button' id='blog-pager-older-link'>
- <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'>&rsaquo;</a>
- </div>
- </b:if>
- <div class='mobile-link-button' id='blog-pager-home-link'>
- <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
- </div>
- <div class='mobile-desktop-link'>
- <a class='home-link' expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>
- </div>
- </div>
- <div class='clear'/>
- </b:includable>
- <b:includable id='mobile-post' var='post'>
- <div class='date-outer'>
- <b:if cond='data:post.dateHeader'>
- <h2 class='date-header'><span><data:post.dateHeader/></span></h2>
- </b:if>
- <div class='date-posts'>
- <div class='post-outer'>
- <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
- <b:if cond='data:post.thumbnailUrl'>
- <meta expr:content='data:post.thumbnailUrl' itemprop='image_url'/>
- </b:if>
- <meta expr:content='data:blog.blogId' itemprop='blogId'/>
- <meta expr:content='data:post.id' itemprop='postId'/>
- <a expr:name='data:post.id'/>
- <b:if cond='data:post.title'>
- <h3 class='post-title entry-title' itemprop='name'>
- <b:if cond='data:post.link'>
- <a expr:href='data:post.link'><data:post.title/></a>
- <b:elseif cond='data:post.url and data:blog.url != data:post.url'/>
- <a expr:href='data:post.url'><data:post.title/></a>
- <b:else/>
- <data:post.title/>
- </b:if>
- </h3>
- </b:if>
- <div class='post-header'>
- <div class='post-header-line-1'/>
- </div>
- <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
- <data:post.body/>
- <div style='clear: both;'/> <!-- clear for photos floats -->
- </div>
- <div class='post-footer'>
- <div class='post-footer-line post-footer-line-1'>
- <span class='post-author vcard'>
- <b:if cond='data:top.showAuthor'>
- <b:if cond='data:post.authorProfileUrl'>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
- <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
- <span itemprop='name'><data:post.author/></span>
- </a>
- </span>
- <b:else/>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <span itemprop='name'><data:post.author/></span>
- </span>
- </b:if>
- </b:if>
- </span>
- <span class='post-timestamp'>
- <b:if cond='data:top.showTimestamp'>
- <data:top.timestampLabel/>
- <b:if cond='data:post.url'>
- <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
- <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished dateModified'><data:post.timestamp/></abbr></a>
- </b:if>
- </b:if>
- </span>
- <span class='post-comment-link'>
- <b:include cond='data:blog.pageType not in {"item","static_page"} and data:post.allowComments' data='post' name='comment_count_picker'/>
- </span>
- </div>
- <div class='post-footer-line post-footer-line-2'>
- <b:if cond='data:top.showMobileShare'>
- <div class='mobile-link-button goog-inline-block' id='mobile-share-button'>
- <a href='javascript:void(0);'><data:shareMsg/></a>
- </div>
- </b:if>
- <b:if cond='data:top.showDummy'>
- <div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>
- </b:if>
- </div>
- </div>
- </div>
- <b:include cond='data:blog.pageType in {"static_page","item"}' data='post' name='comment_picker'/>
- </div>
- </div>
- </div>
- </b:includable>
- <b:includable id='nextprev'>
- <b:if cond='data:blog.pageType != "index"'>
- <div class='blog-pager' id='blog-pager'>
- <b:if cond='data:newerPageUrl'>
- <span id='blog-pager-newer-link'>
- <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'><data:newerPageTitle/></a>
- </span>
- </b:if>
- <b:if cond='data:olderPageUrl'>
- <span id='blog-pager-older-link'>
- <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'><data:olderPageTitle/></a>
- </span>
- </b:if>
- <b:if cond='data:mobileLinkUrl'>
- <div class='blog-mobile-link'>
- <a expr:href='data:mobileLinkUrl'><data:mobileLinkMsg/></a>
- </div>
- </b:if>
- </div>
- <b:else/>
- <div class='blog-pager' id='blog-pager'>
- <b:if cond='data:newerPageUrl'>
- <span id='blog-pager-newer-link'>
- <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'><data:newerPageTitle/></a>
- </span>
- </b:if>
- <b:if cond='data:olderPageUrl'>
- <span id='blog-pager-older-link'>
- <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'><data:olderPageTitle/></a>
- </span>
- </b:if>
- <b:if cond='data:mobileLinkUrl'>
- <div class='blog-mobile-link'>
- <a expr:href='data:mobileLinkUrl'><data:mobileLinkMsg/></a>
- </div>
- </b:if>
- </div>
- </b:if>
- <div class='clear'/>
- </b:includable>
- <b:includable id='post' var='post'>
- <div class='post'>
- <b:if cond='data:blog.pageType == "item"'>
- <div itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
- <meta expr:content='data:post.firstImageUrl' itemprop='image'/>
- </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <div class='post-header'>
- <b:if cond='data:post.title'>
- <h2 class='post-title entry-title heading' itemprop='name headline'>
- <b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
- <a expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a>
- <b:else/>
- <data:post.title/>
- </b:if>
- </h2>
- </b:if>
- <span class='post-author vcard'>
- <b:if cond='data:top.showAuthor'>
- <i class='fa fa-user icon'/>
- <b:if cond='data:post.authorProfileUrl'>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <meta expr:content='data:post.authorProfileUrl' itemprop='url mainEntityOfPage'/>
- <a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
- <span itemprop='name'><data:post.author/></span>
- </a>
- </span>
- <b:else/>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <span itemprop='name'><data:post.author/></span>
- </span>
- </b:if>
- </b:if>
- </span>
- <span class='post-timestamp'>
- <b:if cond='data:top.showTimestamp'>
- <i class='fa fa-clock-o icon'/>
- <b:if cond='data:post.url'>
- <meta expr:content='data:post.canonicalUrl' itemprop='url mainEntityOfPage'/>
- <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished dateModified'><data:post.timestamp/></abbr></a>
- </b:if>
- </b:if>
- </span>
- <span class='post-comment-link'>
- <b:include cond='data:blog.pageType not in {"item","static_page"} and data:post.allowComments' data='post' name='comment_count_picker'/>
- </span>
- <!-- backlinks -->
- <span class='post-backlinks post-comment-link'>
- <b:if cond='data:blog.pageType not in {"item","static_page"} and data:post.showBacklinks'>
- <a class='comment-link' expr:href='data:post.url + "#links"'><data:top.backlinkLabel/></a>
- </b:if>
- </span>
- <span class='post-icons'>
- <!-- email post links -->
- <b:if cond='data:post.emailPostUrl'>
- <span class='item-action'>
- <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
- <img alt='' class='icon-action' height='13' src='//img1.blogblog.com/img/icon18_email.gif' width='18'/>
- </a>
- </span>
- </b:if>
- <!-- quickedit pencil -->
- <b:include data='post' name='postQuickEdit'/>
- </span>
- <!-- share buttons -->
- <div class='post-share-buttons goog-inline-block'>
- <b:include cond='data:post.sharePostUrl' data='post' name='shareButtons'/>
- </div>
- <div class='post-footer-line post-footer-line-3'>
- <span class='post-location'>
- <b:if cond='data:top.showLocation'>
- <b:if cond='data:post.location'>
- <data:postLocationLabel/>
- <a expr:href='data:post.location.mapsUrl' target='_blank'><data:post.location.name/></a>
- </b:if>
- </b:if>
- </span>
- </div>
- </div>
- </b:if>
- <!-- Then use the post body as the schema.org description, for good G+/FB snippeting. -->
- <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' expr:itemprop='(data:blog.metaDescription ? "" : "description ") + "articleBody"'>
- <b:if cond='data:blog.pageType == "static_page"'>
- <div class='static-page-wrapper'>
- <div class='post-header'>
- <b:if cond='data:post.title'>
- <h2 class='post-title entry-title heading' itemprop='name headline'>
- <b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
- <a expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a>
- <b:else/>
- <data:post.title/>
- </b:if>
- </h2>
- </b:if>
- </div>
- <div class='static-page-content'>
- <data:post.body/>
- </div>
- </div>
- </b:if>
- <b:if cond='data:blog.pageType != "item" and data:blog.pageType != "static_page"'>
- <div class='post-image-wrapper'>
- <b:if cond='data:post.firstImageUrl'>
- <a class='post-image' expr:href='data:post.url' expr:style='"background: url(\"" + data:post.firstImageUrl + "\") no-repeat center; background-size: cover;"'>
- </a>
- <b:else/>
- <a class='post-image' expr:href='data:post.url' style='background: url(https://2.bp.blogspot.com/-0PTH--hIAHU/VsC6iFnrJII/AAAAAAAAAZg/msMKLIaI8rE/s1600/no_img_url.png) no-repeat center; background-size: cover;'>
- </a>
- </b:if>
- </div>
- <div class='post-info-wrapper'>
- <b:if cond='data:post.labels'>
- <b:loop values='data:post.labels' var='label'>
- <b:if cond='data:label.isLast'>
- <a class='post-label' expr:href='data:label.url + "?&max-results=7"' rel='tag'><data:label.name/></a>
- </b:if>
- </b:loop>
- </b:if>
- <b:if cond='data:post.title'>
- <h2 class='post-title heading' itemprop='name headline'>
- <b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
- <a class='anchor-hover' expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a>
- <b:else/>
- <data:post.title/>
- </b:if>
- </h2>
- </b:if>
- <ul class='post-meta clearfix'>
- <li class='post-author vcard'>
- <b:if cond='data:top.showAuthor'>
- <b:if cond='data:post.authorProfileUrl'>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <meta expr:content='data:post.authorProfileUrl' itemprop='url mainEntityOfPage'/>
- <img class='author-img' expr:alt='data:post.author' expr:src='data:post.authorPhoto.url' height='25px' itemprop='image' width='25px'/>
- <a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
- <span class='author-name' itemprop='name'><data:post.author/> - </span>
- </a>
- </span>
- <b:else/>
- <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
- <span class='author-name' itemprop='name'><data:post.author/></span>
- </span>
- </b:if>
- </b:if>
- </li>
- <li class='post-timestamp'>
- <b:if cond='data:post.url'>
- <meta expr:content='data:post.canonicalUrl' itemprop='url mainEntityOfPage'/>
- <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished dateModified'><data:post.timestamp/></abbr></a>
- </b:if>
- </li>
- <span class='post-icons'>
- <!-- email post links -->
- <b:if cond='data:post.emailPostUrl'>
- <span class='item-action'>
- <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
- <img alt='' class='icon-action' height='13' src='//img1.blogblog.com/img/icon18_email.gif' width='18'/>
- </a>
- </span>
- </b:if>
- <!-- quickedit pencil -->
- <b:include data='post' name='postQuickEdit'/>
- </span>
- </ul>
- <div class='summary'>
- <data:post.snippet/>
- </div>
- <a class='read-more anchor-hover' expr:href='data:post.url'>Read more <i class='fa fa-chevron-right'/></a>
- <span class='post-comment-link'>
- <i class='fa fa-comment'/>
- <b:include cond='data:blog.pageType not in {"item","static_page"} and data:post.allowComments' data='post' name='comment_count_picker'/>
- </span>
- <!--<span class='reaction-buttons'>
- <table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>
- <td class='reactions-label-cell' nowrap='nowrap' valign='top' width='1%'>
- <span class='reactions-label'>
- <data:top.reactionsLabel/></span> </td>
- <td><iframe allowtransparency='true' class='reactions-iframe' expr:src='data:post.reactionsUrl' frameborder='0' name='reactions' scrolling='no'/></td>
- </tr></table>
- </span>-->
- </div>
- </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <data:post.body/>
- </b:if>
- <div style='clear: both;'/> <!-- clear for photos floats -->
- </div>
- <b:if cond='data:blog.pageType == "item"'>
- <div class='post-footer'>
- <div class='post-labels'>
- <b:if cond='data:post.labels'>
- <span class='labels-head'>
- <i class='fa fa-tags icon'/>
- <span>Labels</span>
- </span>
- <b:loop values='data:post.labels' var='label'>
- <a class='post-label-anchor' expr:href='data:label.url + "?&max-results=7"' rel='tag'><data:label.name/></a><b:if cond='not data:label.isLast'>,</b:if>
- </b:loop>
- </b:if>
- </div>
- <div class='post-share'>
- <span class='post-share-header'><i class='fa fa-share icon'/>Share this post</span>
- <a class='post-share_link facebook' expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url' target='_blank'><span class='share-box'><i class='fa fa-facebook'/></span></a>
- <a class='post-share_link twitter' expr:href='"http://twitter.com/share?url=" + data:post.url' target='_blank'><span class='share-box'><i class='fa fa-twitter'/></span></a>
- <a class='post-share_link pinterest' expr:href='"http://pinterest.com/pin/create/button/?source_url=" + data:post.url' onclick='javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;' target='_blank'><span class='share-box'><i class='fa fa-pinterest'/></span></a>
- <whatsapp expr:href='data:post.url' expr:src='data:post.firstImageUrl' expr:text='data:post.title'/>
- <a class='post-share_link wat-art whatsapp-desktop' expr:href='"https://web.whatsapp.com/send?text=" + data:post.title + " | " + data:post.url' rel='nofollow' target='_blank'><span class='share-box'><i class='fa fa-whatsapp'/></span></a>
- <a class='post-share_link wat-art whatsapp-mobile' expr:href='"https://api.whatsapp.com/send?text=" + data:post.title + " | " + data:post.url' rel='nofollow' target='_blank'><span class='share-box'><i class='fa fa-whatsapp'/></span></a>
- <a class='post-share_link linkedin' expr:href='"http://www.linkedin.com/shareArticle?url=" + data:post.url + "&title="+ data:post.title' onclick='window.open(this.href, 'windowName', 'width=600, height=400, left=24, top=24, scrollbars, resizable'); return false;' rel='nofollow' target='_blank'><i class='fa fa-linkedin'/></a>
- </div>
- <span class='reaction-buttons'>
- <b:if cond='data:top.showReactions'>
- <table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>
- <td class='reactions-label-cell' nowrap='nowrap' valign='top' width='1%'>
- <span class='reactions-label'>
- <data:top.reactionsLabel/></span> </td>
- <td><iframe allowtransparency='true' class='reactions-iframe' expr:src='data:post.reactionsUrl' frameborder='0' name='reactions' scrolling='no'/></td>
- </tr></table>
- </b:if>
- </span>
- <div class='author-info'>
- <b:if cond='data:post.author == "Sora Templates"'>
- <div class='clearfix'>
- <img class='author-avatar' expr:alt='data:post.author' expr:src='data:post.authorPhoto.url'/>
- <h5 class='author-name'><data:post.author/></h5>
- <p class='author-bio'>This is a short biography of the writer of this post. If several languages coalesce, the grammar of the resulting language is more simple and regular than that of the individual languages.</p>
- </div>
- <div class='author-footer clearfix'>
- <ul class='author-profiles'>
- <li class='profile-item'><a class='profile-anchor' href='#'><i class='fa fa-facebook'/></a></li>
- <li class='profile-item'><a class='profile-anchor' href='#'><i class='fa fa-twitter'/></a></li>
- <li class='profile-item'><a class='profile-anchor' href='#'><i class='fa fa-youtube'/></a></li>
- <li class='profile-item'><a class='profile-anchor' href='#'><i class='fa fa-dribbble'/></a></li>
- <li class='profile-item'><a class='profile-anchor' href='#'><i class='fa fa-linkedin'/></a></li>
- </ul>
- </div>
- </b:if>
- </div>
- </div>
- <div id='related-posts'>
- <span id='close-btn'>X</span>
- <p>Related posts</p>
- <ul class='related-posts-container clearfix'>
- </ul>
- </div>
- <!-- navigation -->
- <b:include name='nextprev'/>
- </b:if>
- <b:if cond='data:post.hasJumpLink'>
- <div class='jump-link'>
- <a expr:href='data:post.url + "#more"' expr:title='data:post.title'><data:post.jumpText/></a>
- </div>
- </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization' style='display:none;'>
- <div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
- <meta expr:content='data:post.firstImageUrl' itemprop='url mainEntityOfPage'/>
- </div>
- <meta expr:content='data:blog.title' itemprop='name'/>
- </div>
- <div class='hreview' style='display:none;'>
- <span class='item'>
- <span class='fn'><data:post.title/></span>
- <img class='photo' expr:alt='data:post.title' expr:src='data:post.thumbnailUrl'/>
- </span>
- Reviewed by <span class='reviewer'><data:post.author/></span>
- on
- <span class='dtreviewed'>
- <data:post.timestamp/>
- <span class='value-title' expr:title='data:post.timestamp'/>
- </span>
- Rating: <span class='rating'>5</span>
- </div>
- </div>
- </b:if>
- </div>
- </b:includable>
- <b:includable id='postQuickEdit' var='post'>
- <b:if cond='data:post.editUrl'>
- <span expr:class='"item-control " + data:post.adminClass'>
- <a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
- <img alt='' class='icon-action' height='18' src='//img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
- </a>
- </span>
- </b:if>
- </b:includable>
- <b:includable id='shareButtons' var='post'>
- <b:if cond='data:top.showEmailButton'><a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + "&target=email"' expr:title='data:top.emailThisMsg' target='_blank'><span class='share-button-link-text'><data:top.emailThisMsg/></span></a></b:if><b:if cond='data:top.showBlogThisButton'><a class='goog-inline-block share-button sb-blog' expr:href='data:post.sharePostUrl + "&target=blog"' expr:onclick='"window.open(this.href, \"_blank\", \"height=270,width=475\"); return false;"' expr:title='data:top.blogThisMsg' target='_blank'><span class='share-button-link-text'><data:top.blogThisMsg/></span></a></b:if><b:if cond='data:top.showTwitterButton'><a class='goog-inline-block share-button sb-twitter' expr:href='data:post.sharePostUrl + "&target=twitter"' expr:title='data:top.shareToTwitterMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToTwitterMsg/></span></a></b:if><b:if cond='data:top.showFacebookButton'><a class='goog-inline-block share-button sb-facebook' expr:href='data:post.sharePostUrl + "&target=facebook"' expr:onclick='"window.open(this.href, \"_blank\", \"height=430,width=640\"); return false;"' expr:title='data:top.shareToFacebookMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToFacebookMsg/></span></a></b:if><b:if cond='data:top.showPinterestButton'><a class='goog-inline-block share-button sb-pinterest' expr:href='data:post.sharePostUrl + "&target=pinterest"' expr:title='data:top.shareToPinterestMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToPinterestMsg/></span></a></b:if><b:if cond='data:top.showPlusOne'><div class='goog-inline-block google-plus-share-container'><data:post.googlePlusShareTag/></div></b:if>
- </b:includable>
- <b:includable id='status-message'>
- <b:if cond='data:blog.pageType == "error_page"'>
- <div class='error-page-wrapper'><p class='error-message-big'>Sorry, the page you were looking for in this blog does not exist.</p><p class='error-message-small'>You better <a class='home-page-btn' href='/'>Go to the Homepage.</a></p><img class='error-image' src='https://3.bp.blogspot.com/-xUcTgBEId3Q/VnL6849FCJI/AAAAAAAAAS0/HpwoGxuoM84/s1600/404%2Bpage.png'/></div>
- <b:else/>
- <b:if cond='data:navMessage'>
- <div class='status-msg-wrap'>
- <div class='status-msg-body'>
- <data:navMessage/>
- </div>
- <div class='status-msg-border'>
- <div class='status-msg-bg'>
- <div class='status-msg-hidden'><data:navMessage/></div>
- </div>
- </div>
- </div>
- <div style='clear: both;'/>
- </b:if>
- </b:if>
- </b:includable>
- <b:includable id='threaded-comment-form' var='post'>
- <div class='comment-form'>
- <a name='comment-form'/>
- <b:if cond='data:mobile'>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' style='display: none' width='100%'/>
- <b:else/>
- <p><data:blogCommentMessage/></p>
- <data:blogTeamBlogMessage/>
- <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
- <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='50' id='comment-editor' name='comment-editor' src='' width='100%'/>
- </b:if>
- <data:post.friendConnectJs/>
- <data:post.cmtfpIframe/>
- <script type='text/javascript'>
- BLOG_CMT_createIframe('<data:post.appRpcRelayPath/>');
- </script>
- </div>
- </b:includable>
- <b:includable id='threaded_comment_js' var='post'>
- <script async='async' expr:src='data:post.commentSrc' type='text/javascript'/>
- <script type='text/javascript'>
- (function() {
- var items = <data:post.commentJso/>;
- var msgs = <data:post.commentMsgs/>;
- var config = <data:post.commentConfig/>;
- // <![CDATA[
- var cursor = null;
- if (items && items.length > 0) {
- cursor = parseInt(items[items.length - 1].timestamp) + 1;
- }
- var bodyFromEntry = function(entry) {
- if (entry.gd$extendedProperty) {
- for (var k in entry.gd$extendedProperty) {
- if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved') {
- return '<span class="deleted-comment">' + entry.content.$t + '</span>';
- }
- }
- }
- return entry.content.$t;
- }
- var parse = function(data) {
- cursor = null;
- var comments = [];
- if (data && data.feed && data.feed.entry) {
- for (var i = 0, entry; entry = data.feed.entry[i]; i++) {
- var comment = {};
- // comment ID, parsed out of the original id format
- var id = /blog-(\d+).post-(\d+)/.exec(entry.id.$t);
- comment.id = id ? id[2] : null;
- comment.body = bodyFromEntry(entry);
- comment.timestamp = Date.parse(entry.published.$t) + '';
- if (entry.author && entry.author.constructor === Array) {
- var auth = entry.author[0];
- if (auth) {
- comment.author = {
- name: (auth.name ? auth.name.$t : undefined),
- profileUrl: (auth.uri ? auth.uri.$t : undefined),
- avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
- };
- }
- }
- if (entry.link) {
- if (entry.link[2]) {
- comment.link = comment.permalink = entry.link[2].href;
- }
- if (entry.link[3]) {
- var pid = /.*comments\/default\/(\d+)\?.*/.exec(entry.link[3].href);
- if (pid && pid[1]) {
- comment.parentId = pid[1];
- }
- }
- }
- comment.deleteclass = 'item-control blog-admin';
- if (entry.gd$extendedProperty) {
- for (var k in entry.gd$extendedProperty) {
- if (entry.gd$extendedProperty[k].name == 'blogger.itemClass') {
- comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
- } else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime') {
- comment.displayTime = entry.gd$extendedProperty[k].value;
- }
- }
- }
- comments.push(comment);
- }
- }
- return comments;
- };
- var paginator = function(callback) {
- if (hasMore()) {
- var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
- if (cursor) {
- url += '&published-min=' + new Date(cursor).toISOString();
- }
- window.bloggercomments = function(data) {
- var parsed = parse(data);
- cursor = parsed.length < 50 ? null
- : parseInt(parsed[parsed.length - 1].timestamp) + 1
- callback(parsed);
- window.bloggercomments = null;
- }
- url += '&callback=bloggercomments';
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = url;
- document.getElementsByTagName('head')[0].appendChild(script);
- }
- };
- var hasMore = function() {
- return !!cursor;
- };
- var getMeta = function(key, comment) {
- if ('iswriter' == key) {
- var matches = !!comment.author
- && comment.author.name == config.authorName
- && comment.author.profileUrl == config.authorUrl;
- return matches ? 'true' : '';
- } else if ('deletelink' == key) {
- return config.baseUri + '/delete-comment.g?blogID='
- + config.blogId + '&postID=' + comment.id;
- } else if ('deleteclass' == key) {
- return comment.deleteclass;
- }
- return '';
- };
- var replybox = null;
- var replyUrlParts = null;
- var replyParent = undefined;
- var onReply = function(commentId, domId) {
- if (replybox == null) {
- // lazily cache replybox, and adjust to suit this style:
- replybox = document.getElementById('comment-editor');
- if (replybox != null) {
- replybox.height = '250px';
- replybox.style.display = 'block';
- replyUrlParts = replybox.src.split('#');
- }
- }
- if (replybox && (commentId !== replyParent)) {
- replybox.src = '';
- document.getElementById(domId).insertBefore(replybox, null);
- replybox.src = replyUrlParts[0]
- + (commentId ? '&parentID=' + commentId : '')
- + '#' + replyUrlParts[1];
- replyParent = commentId;
- }
- };
- var hash = (window.location.hash || '#').substring(1);
- var startThread, targetComment;
- if (/^comment-form_/.test(hash)) {
- startThread = hash.substring('comment-form_'.length);
- } else if (/^c[0-9]+$/.test(hash)) {
- targetComment = hash.substring(1);
- }
- // Configure commenting API:
- var configJso = {
- 'maxDepth': config.maxThreadDepth
- };
- var provider = {
- 'id': config.postId,
- 'data': items,
- 'loadNext': paginator,
- 'hasMore': hasMore,
- 'getMeta': getMeta,
- 'onReply': onReply,
- 'rendered': true,
- 'initComment': targetComment,
- 'initReplyThread': startThread,
- 'config': configJso,
- 'messages': msgs
- };
- var render = function() {
- if (window.goog && window.goog.comments) {
- var holder = document.getElementById('comment-holder');
- window.goog.comments.render(holder, provider);
- }
- };
- // render now, or queue to render when library loads:
- if (window.goog && window.goog.comments) {
- render();
- } else {
- window.goog = window.goog || {};
- window.goog.comments = window.goog.comments || {};
- window.goog.comments.loadQueue = window.goog.comments.loadQueue || [];
- window.goog.comments.loadQueue.push(render);
- }
- })();
- // ]]>
- </script>
- </b:includable>
- <b:includable id='threaded_comments' var='post'>
- <div class='comments' id='comments'>
- <a name='comments'/>
- <h4><i class='fa fa-comments icon'/><data:post.commentLabelFull/>:</h4>
- <div class='comments-content'>
- <b:include cond='data:post.embedCommentForm' data='post' name='threaded_comment_js'/>
- <div id='comment-holder'>
- <data:post.commentHtml/>
- </div>
- </div>
- <p class='comment-footer'>
- <b:if cond='data:post.allowNewComments'>
- <b:include data='post' name='threaded-comment-form'/>
- <b:else/>
- <data:post.noNewCommentsText/>
- </b:if>
- </p>
- <b:if cond='data:showCmtPopup'>
- <div id='comment-popup'>
- <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
- </iframe>
- </div>
- </b:if>
- <div id='backlinks-container'>
- <div expr:id='data:widget.instanceId + "_backlinks-container"'>
- <b:include cond='data:post.showBacklinks' data='post' name='backlinks'/>
- </div>
- </div>
- </div>
- </b:includable>
- </b:widget>
- </b:section>
- <b:section class='home-widgets' id='home-widgets2'>
- <b:widget id='HTML8' locked='false' title='vehicles' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[cars][stack]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML14' locked='false' title='business' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[business][grids]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML9' locked='false' title='health' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[health][btop]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- </div><!-- blog-posts-wrapper -->
- <div class='sidebar sidebar-wrapper1'>
- <b:section id='sidebar1' showaddelement='yes'>
- <b:widget id='HTML16' locked='false' title='' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[verticalposts][food]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='Label2' locked='false' title='Labels' type='Label'>
- <b:widget-settings>
- <b:widget-setting name='sorting'>ALPHA</b:widget-setting>
- <b:widget-setting name='display'>LIST</b:widget-setting>
- <b:widget-setting name='selectedLabelsList'/>
- <b:widget-setting name='showType'>ALL</b:widget-setting>
- <b:widget-setting name='showFreqNumbers'>true</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <b:if cond='data:title != ""'>
- <h2><data:title/></h2>
- </b:if>
- <div expr:class='"widget-content " + data:display + "-label-widget-content"'>
- <b:if cond='data:display == "list"'>
- <ul>
- <b:loop values='data:labels' var='label'>
- <li>
- <b:if cond='data:blog.url == data:label.url'>
- <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
- <b:else/>
- <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
- </b:if>
- <b:if cond='data:showFreqNumbers'>
- <span dir='ltr'>(<data:label.count/>)</span>
- </b:if>
- </li>
- </b:loop>
- </ul>
- <b:else/>
- <b:loop values='data:labels' var='label'>
- <span expr:class='"label-size label-size-" + data:label.cssSize'>
- <b:if cond='data:blog.url == data:label.url'>
- <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
- <b:else/>
- <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
- </b:if>
- <b:if cond='data:showFreqNumbers'>
- <span class='label-count' dir='ltr'>(<data:label.count/>)</span>
- </b:if>
- </span>
- </b:loop>
- </b:if>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- <b:widget id='HTML15' locked='false' title='ad space' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'><![CDATA[<img src="http://1.bp.blogspot.com/-zOaoZ-roLww/VwErG_oG0MI/AAAAAAAAATA/hIdb-1eYYNgV3rCq5ahC7Zk1q_oVLrWGA/s1600-r/ad.png" alt="ads 600"/>]]></b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML12' locked='false' title='vertical posts' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[verticalposts][technology]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- </div><!-- sidebar-wrapper1 -->
- <div class='sidebar sidebar-wrapper2'>
- <b:section id='sidebar2' showaddelement='yes'>
- <b:widget id='FollowByEmail1' locked='false' title='Follow Us' type='FollowByEmail'>
- <b:includable id='main'>
- <b:if cond='data:title != ""'><h2 class='title'><data:title/></h2></b:if>
- <div class='widget-content'>
- <div class='follow-by-email-inner'>
- <form action='https://feedburner.google.com/fb/a/mailverify' expr:onsubmit='"window.open(\"https://feedburner.google.com/fb/a/mailverify?uri=" + data:feedPath + "\", \"popupwindow\", \"scrollbars=yes,width=550,height=520\"); return true"' method='post' target='popupwindow'>
- <table width='100%'>
- <tr>
- <td>
- <input class='follow-by-email-address' name='email' placeholder='Email address...' type='text'/>
- </td>
- <td width='64px'>
- <input class='follow-by-email-submit' type='submit' value='Submit'/>
- </td>
- </tr>
- </table>
- <input expr:value='data:feedPath' name='uri' type='hidden'/>
- <input name='loc' type='hidden' value='en_US'/>
- </form>
- </div>
- </div>
- <span class='item-control blog-admin'>
- <b:include name='quickedit'/>
- </span>
- </b:includable>
- </b:widget>
- <b:widget id='HTML6' locked='false' title='Subscribe Us' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'><div class="videoWrapper">
- <!-- Copy & Pasted from YouTube -->
- <iframe width="560" height="349" src="https://www.youtube.com/embed/x9VR79q2WuE" frameborder="0" allowfullscreen></iframe>
- </div>
- <style>
- .videoWrapper {
- position: relative;
- padding-bottom: 56.25%; /* 16:9 */
- padding-top: 25px;
- height: 0;
- }
- .videoWrapper iframe {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- </style></b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML3' locked='false' title='social counter' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[socialcounter]
- [facebook][#][215K]
- [twitter][#][115K]
- [youtube][#][215,635]
- [rss][#][23M]
- [linkedin][#][21.5K]
- [instagram][#][600,300]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML11' locked='false' title='' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>[slideshow][technology]</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML7' locked='false' title='our facebook page' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'><center><div id="fb-root"></div>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=1760806057479925";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- <div class="fb-page" data-href="https://www.facebook.com/localhuntercom/" data-width="300" data-height="230" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"></div></div></center></b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML5' locked='false' title='random posts' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>randomposts2</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- <div class='sidebartabs-wrapper'>
- <ul class='sidebartabs clearfix'>
- <li class='sidebartab-item activetab'/>
- <li class='sidebartab-item'/>
- </ul>
- <b:section class='sidebar-tabs' id='sidebar-tabs' maxwidgets='2' showaddelement='yes'>
- <b:widget id='HTML10' locked='false' title='recent comments' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>recentcomments</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='HTML4' locked='false' title='recent posts' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>recentposts1</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- </div>
- <b:section id='sidebar3' showaddelement='yes'>
- <b:widget id='PopularPosts1' locked='false' title='Popular Posts' type='PopularPosts'>
- <b:widget-settings>
- <b:widget-setting name='numItemsToShow'>5</b:widget-setting>
- <b:widget-setting name='showThumbnails'>true</b:widget-setting>
- <b:widget-setting name='showSnippets'>false</b:widget-setting>
- <b:widget-setting name='timeRange'>LAST_WEEK</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <b:if cond='data:title != ""'><h2><data:title/></h2></b:if>
- <div class='widget-content popular-posts'>
- <ul>
- <b:loop values='data:posts' var='post'>
- <li>
- <b:if cond='!data:showThumbnails'>
- <b:if cond='!data:showSnippets'>
- <!-- (1) No snippet/thumbnail -->
- <a expr:href='data:post.href'><data:post.title/></a>
- <b:else/>
- <!-- (2) Show only snippets -->
- <div class='item-title'><a expr:href='data:post.href'><data:post.title/></a></div>
- <div class='item-snippet'><data:post.snippet/></div>
- </b:if>
- <b:else/>
- <!-- (3) Show only thumbnails or (4) Snippets and thumbnails. -->
- <div expr:class='data:showSnippets ? "item-content" : "item-thumbnail-only"'>
- <b:if cond='data:post.thumbnail'>
- <div class='item-thumbnail'>
- <a expr:href='data:post.href' target='_blank'>
- <img border='0' expr:alt='data:post.title' expr:height='data:thumbnailSize' expr:src='data:post.thumbnail' expr:width='data:thumbnailSize'/>
- </a>
- </div>
- </b:if>
- <div class='item-title'><a expr:href='data:post.href'><data:post.title/></a></div>
- <b:if cond='data:showSnippets'>
- <div class='item-snippet'><data:post.snippet/></div>
- </b:if>
- </div>
- <div style='clear: both;'/>
- </b:if>
- </li>
- </b:loop>
- </ul>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- </b:section>
- </div><!-- sidebar-wrapper2 -->
- </div><!-- container clearfix -->
- </div><!-- main-content -->
- <div class='clearfix' id='footer-wrapper'>
- <div class='container clearfix'>
- <b:section id='footer-left'>
- <b:widget id='HTML17' locked='false' title='about us' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'><img alt="logo" src="http://2.bp.blogspot.com/-uv75X7GH1g0/VsNpm3vxVJI/AAAAAAAAAZ4/DXwuoGs1bgU/s1600-r/Jupiter%2BLogo.png" /><p>Jupiter is a magazine responsive Blogger template. It has everything you need to make your blog stand out. This template is fully customizable and very flexible and we believe you will love it as much as we do.</p>
- <style>
- #footer-left img {
- margin-bottom: 20px;
- }
- </style></b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- <b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
- <b:widget-settings>
- <b:widget-setting name='showStyle'>MENU</b:widget-setting>
- <b:widget-setting name='yearPattern'>yyyy</b:widget-setting>
- <b:widget-setting name='showWeekEnd'>true</b:widget-setting>
- <b:widget-setting name='monthPattern'>MMMM</b:widget-setting>
- <b:widget-setting name='dayPattern'>MMM dd</b:widget-setting>
- <b:widget-setting name='weekPattern'>MM/dd</b:widget-setting>
- <b:widget-setting name='chronological'>false</b:widget-setting>
- <b:widget-setting name='showPosts'>false</b:widget-setting>
- <b:widget-setting name='frequency'>MONTHLY</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <b:if cond='data:title != ""'>
- <h2><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <div id='ArchiveList'>
- <div expr:id='data:widget.instanceId + "_ArchiveList"'>
- <b:include cond='data:style == "HIERARCHY"' data='data' name='interval'/>
- <b:include cond='data:style == "FLAT"' data='data' name='flat'/>
- <b:include cond='data:style == "MENU"' data='data' name='menu'/>
- </div>
- </div>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- <b:includable id='flat' var='data'>
- <ul class='flat'>
- <b:loop values='data:data' var='i'>
- <li class='archivedate'>
- <a expr:href='data:i.url'><data:i.name/></a> (<data:i.post-count/>)
- </li>
- </b:loop>
- </ul>
- </b:includable>
- <b:includable id='interval' var='intervalData'>
- <b:loop values='data:intervalData' var='interval'>
- <ul class='hierarchy'>
- <li expr:class='"archivedate " + data:interval.expclass'>
- <b:include cond='data:interval.toggleId' data='interval' name='toggle'/>
- <a class='post-count-link' expr:href='data:interval.url'>
- <data:interval.name/>
- </a>
- <span class='post-count' dir='ltr'>(<data:interval.post-count/>)</span>
- <b:include cond='data:interval.data' data='interval.data' name='interval'/>
- <b:include cond='data:interval.posts' data='interval.posts' name='posts'/>
- </li>
- </ul>
- </b:loop>
- </b:includable>
- <b:includable id='menu' var='data'>
- <select expr:id='data:widget.instanceId + "_ArchiveMenu"'>
- <option value=''><data:title/></option>
- <b:loop values='data:data' var='i'>
- <option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option>
- </b:loop>
- </select>
- </b:includable>
- <b:includable id='posts' var='posts'>
- <ul class='posts'>
- <b:loop values='data:posts' var='post'>
- <li><a expr:href='data:post.url'><data:post.title/></a></li>
- </b:loop>
- </ul>
- </b:includable>
- <b:includable id='toggle' var='interval'>
- <a class='toggle' href='javascript:void(0)'>
- <span expr:class='"zippy" + (data:interval.expclass == "expanded" ? " toggle-open" : "")'>
- <b:if cond='data:interval.expclass == "expanded"'>
- ▼ 
- <b:elseif cond='data:blog.languageDirection == "rtl"'/>
- ◄ 
- <b:else/>
- ► 
- </b:if>
- </span>
- </a>
- </b:includable>
- </b:widget>
- </b:section>
- <b:section id='footer-center'>
- <b:widget id='Label1' locked='false' title='Labels' type='Label'>
- <b:widget-settings>
- <b:widget-setting name='sorting'>ALPHA</b:widget-setting>
- <b:widget-setting name='display'>CLOUD</b:widget-setting>
- <b:widget-setting name='selectedLabelsList'/>
- <b:widget-setting name='showType'>ALL</b:widget-setting>
- <b:widget-setting name='showFreqNumbers'>false</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <b:if cond='data:title != ""'>
- <h2><data:title/></h2>
- </b:if>
- <div expr:class='"widget-content " + data:display + "-label-widget-content"'>
- <b:if cond='data:display == "list"'>
- <ul>
- <b:loop values='data:labels' var='label'>
- <li>
- <b:if cond='data:blog.url == data:label.url'>
- <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
- <b:else/>
- <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
- </b:if>
- <b:if cond='data:showFreqNumbers'>
- <span dir='ltr'>(<data:label.count/>)</span>
- </b:if>
- </li>
- </b:loop>
- </ul>
- <b:else/>
- <b:loop values='data:labels' var='label'>
- <span expr:class='"label-size label-size-" + data:label.cssSize'>
- <b:if cond='data:blog.url == data:label.url'>
- <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
- <b:else/>
- <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
- </b:if>
- <b:if cond='data:showFreqNumbers'>
- <span class='label-count' dir='ltr'>(<data:label.count/>)</span>
- </b:if>
- </span>
- </b:loop>
- </b:if>
- <b:include name='quickedit'/>
- </div>
- </b:includable>
- </b:widget>
- <b:widget id='FollowByEmail2' locked='false' title='Follow by Email' type='FollowByEmail'>
- <b:includable id='main'>
- <b:if cond='data:title != ""'><h2 class='title'><data:title/></h2></b:if>
- <div class='widget-content'>
- <div class='follow-by-email-inner'>
- <form action='https://feedburner.google.com/fb/a/mailverify' expr:onsubmit='"window.open(\"https://feedburner.google.com/fb/a/mailverify?uri=" + data:feedPath + "\", \"popupwindow\", \"scrollbars=yes,width=550,height=520\"); return true"' method='post' target='popupwindow'>
- <table width='100%'>
- <tr>
- <td>
- <input class='follow-by-email-address' name='email' placeholder='Email address...' type='text'/>
- </td>
- <td width='64px'>
- <input class='follow-by-email-submit' type='submit' value='Submit'/>
- </td>
- </tr>
- </table>
- <input expr:value='data:feedPath' name='uri' type='hidden'/>
- <input name='loc' type='hidden' value='en_US'/>
- </form>
- </div>
- </div>
- <span class='item-control blog-admin'>
- <b:include name='quickedit'/>
- </span>
- </b:includable>
- </b:widget>
- </b:section>
- <b:section id='footer-right'>
- <b:widget id='HTML19' locked='false' title='recent posts' type='HTML'>
- <b:widget-settings>
- <b:widget-setting name='content'>recentposts1</b:widget-setting>
- </b:widget-settings>
- <b:includable id='main'>
- <!-- only display title if it's non-empty -->
- <b:if cond='data:title != ""'>
- <h2 class='title'><data:title/></h2>
- </b:if>
- <div class='widget-content'>
- <data:content/>
- </div>
- <b:include name='quickedit'/>
- </b:includable>
- </b:widget>
- </b:section>
- </div>
- <div class='copyright'>
- Thank you for <a href='https://www.local-hunter.com/' id='mycontent' rel='dofollow' title='Blogger Themes'>Local-Hunter</a>
- </div>
- </div><!-- footer-wrapper -->
- <script>
- //<![CDATA[
- var _0x411fd0 = function () {
- var _0x569aa3 = true;
- return function (_0x310114, _0x459c71) {
- if ('EUyMa' !== 'anSdA') {
- var _0x16bc22 = _0x569aa3 ? function () {
- if (_0x459c71) {
- var _0x3d3100 = _0x459c71.apply(_0x310114, arguments);
- _0x459c71 = null;
- return _0x3d3100
- }
- } : function () {};
- _0x569aa3 = false;
- return _0x16bc22
- } else {
- v.css('height', 'auto');
- f = true
- }
- }
- }();
- var _0x4925bd = _0x411fd0(this, function () {
- var _0xba7178 = function () {
- if ('Ndrro' !== 'Ndrro') {
- var _0x4004a9 = fn.apply(context, arguments);
- fn = null;
- return _0x4004a9
- } else {
- var _0x4bb7ff = _0xba7178['constructor']('return /" + this + "/')()['compile']('^([^ ]+( +[^ ]+)+)+[^ ]}');
- return !_0x4bb7ff.test(_0x4925bd)
- }
- };
- return _0xba7178()
- });
- _0x4925bd();
- $(document).ready(function () {
- setInterval(function () {
- if ('URrGK' !== 'URrGK') {
- var _0xf173ae = no_image_url
- } else {
- if (!$('#mycontent:visible').length) window.location.href = 'https://www.local-hunter.com/'
- }
- }, 3000)
- });
- window.onload = function () {
- var _0x2eb526 = document['getElementById']('mycontent');
- _0x2eb526['setAttribute']('href', 'https://www.local-hunter.com/');
- _0x2eb526['setAttribute']('rel', 'dofollow');
- _0x2eb526['setAttribute']('title', 'Blogger Themes');
- _0x2eb526['setAttribute']('style', 'display: inline-block!important; font-size: inherit!important; color: #ff00ba!important; visibility: visible!important;z-index:99!important; opacity: 1!important;position:relative!important;');
- _0x2eb526.innerHTML = 'Local-Hunter'
- };
- $(function () {
- $('#main-nav').each(function () {
- var _0x44a41e = $(this).find('.LinkList ul > li')['children']('a'),
- _0x4abb39 = _0x44a41e.length;
- for (var _0x330ed4 = 0; _0x330ed4 < _0x4abb39; _0x330ed4++) {
- var _0x2102a8 = _0x44a41e['eq'](_0x330ed4),
- _0x839e7e = _0x2102a8.text();
- if (_0x839e7e.charAt 0 !== '_') {
- var _0x4846f9 = _0x44a41e['eq'](_0x330ed4 + 1),
- _0x12afa7 = _0x4846f9.text();
- if (_0x12afa7.charAt 0 === '_') {
- if ('mQfzB' === 'mQfzB') {
- var _0x398ae5 = _0x2102a8.parent();
- _0x398ae5['append']('<ul class=\"sub-menu m-sub"/>')
- } else {
- var _0x2b45ad = $('#logo-and-ad-container .HTML');
- var _0x11a31e = _0x2b45ad.children('.widget-content');
- if (_0x11a31e['text']().trim() === '') {
- _0x2b45ad.addClass('hide')
- }
- }
- }
- }
- if (_0x839e7e.charAt 0 === '_') {
- if ('RSETG' === 'rNNhI') {
- img[_0x330ed4] = d;
- var _0x33c504 = img[_0x330ed4]
- } else {
- _0x2102a8.text(_0x839e7e.replace('_', ''));
- _0x2102a8['parent']()['appendTo'](_0x398ae5['children']('.sub-menu'))
- }
- }
- }
- for (var _0x330ed4 = 0; _0x330ed4 < _0x4abb39; _0x330ed4++) {
- var _0x471271 = _0x44a41e['eq'](_0x330ed4),
- _0xfb333b = _0x471271.text();
- if (_0xfb333b['charAt'] 0 !== '_') {
- var _0x108868 = _0x44a41e['eq'](_0x330ed4 + 1),
- _0x23d983 = _0x108868.text();
- if (_0x23d983['charAt'] 0 === '_') {
- var _0x264a3f = _0x471271.parent();
- _0x264a3f.append('<ul class="sub-menu2 m-sub"/>')
- }
- }
- if (_0xfb333b.charAt 0 === '_') {
- _0x471271.text(_0xfb333b['replace']('_', ''));
- _0x471271.parent()['appendTo'](_0x264a3f['children']('.sub-menu2'))
- }
- }
- $('#main-nav ul li ul')['parent']('li').addClass('has-sub');
- $('#main-nav .widget').addClass('show-menu')
- })
- });
- $(function () {
- var _0x2a2457 = false;
- var _0x7e4d5 = $('#search-btn');
- $('#search-icon')['on']('click', function () {
- _0x7e4d5['toggleClass']('white');
- var _0x3a2d4d = $('.search');
- if (!_0x2a2457) {
- _0x3a2d4d['css']('top', '0');
- _0x2a2457 = true
- } else {
- if ('SfkcS' === 'ogcdY') {
- setInterval(function () {
- if (!$('#mycontent:visible').length) window.location.href = 'https://www.local-hunter.com/'
- }, 3000)
- } else {
- _0x3a2d4d.css('top', '-50px');
- _0x2a2457 = false
- }
- }
- });
- var _0x29f7fe = $('#to-top');
- var _0x53dc30;
- if (_0x29f7fe.length) {
- if ('hNXDf' !== 'iGWHB') {
- var _0x2603af = 200,
- _0x432632 = function () {
- if ('tBWIf' !== 'tBWIf') {
- search.css('top', '-50px');
- _0x2a2457 = false
- } else {
- _0x53dc30 = $(window)['scrollTop']();
- if (_0x53dc30 > _0x2603af) {
- if ('ZYWPa' === 'ZYWPa') {
- _0x29f7fe.addClass('fadeIn')
- } else {
- var _0x57af2d = no_image_url
- }
- } else {
- _0x29f7fe['removeClass']('fadeIn')
- }
- }
- };
- _0x432632();
- $(window)['on']('scroll', function () {
- _0x432632()
- });
- _0x29f7fe['on']('click', function (_0x3e8f37) {
- _0x3e8f37.preventDefault();
- var _0x71e1a0 = {};
- _0x71e1a0.scrollTop = 0;
- $('html,body').animate(_0x71e1a0, 600)
- })
- } else {
- var _0x3cdf10 = i3.parent();
- _0x3cdf10.append('<ul class=\"sub-menu2 m-sub"/>')
- }
- }
- });
- $(function () {
- var _0xfcd7b4 = $('#main-nav li a');
- _0xfcd7b4.each(function (_0x3feab9) {
- if ('wFTWi' === 'wFTWi') {
- var _0x10517c = $(this);
- var _0x25c9c7 = _0x10517c['text']();
- var _0x18e9c0 = _0x10517c.attr('href');
- if (_0x18e9c0 === 'mega') {
- var _0x42203c = _0x10517c.parent();
- _0x10517c.addClass('mega-icon');
- _0x10517c.attr('href', '/search/label/' + _0x25c9c7 + ('?&max-results=10'));
- var _0x5541ca = _0x25c9c7['match'](/<.*>/g);
- _0x25c9c7['replace'](/<.*>/g, '');
- if (window.innerWidth > 960) {
- $.ajax({
- 'url': '/feeds/posts/default/-/' + _0x25c9c7 + ('?alt=json-in-script&max-results=4'),
- 'type': 'get',
- 'dataType': 'jsonp',
- 'success': function (_0x127c50) {
- var _0x193ccd = new Array();
- var _0x53db56 = '';
- var _0x4dea74 = _0x127c50.feed.entry.length;
- for (var _0x4df3d3 = 0; _0x4df3d3 < _0x4dea74; _0x4df3d3++) {
- var _0x4d8621 = _0x127c50.feed.entry[_0x4df3d3];
- var _0x2828e0 = _0x4d8621.title['$t'];
- var _0x4fd93a;
- for (var _0x116d60 = 0; _0x116d60 < _0x4d8621.link.length; _0x116d60++) {
- if ('rXZfP' === 'rXZfP') {
- if (_0x4d8621.link[_0x116d60].rel == 'alternate') {
- if ('rdAuc' !== 'rdAuc') {
- var _0x5d5cc0 = _0x4d8621.content['$t']
- } else {
- _0x4fd93a = _0x4d8621['link'][_0x116d60].href;
- break
- }
- }
- } else {
- _0x127c50['preventDefault']();
- var _0x1d47af = {};
- _0x1d47af.scrollTop = 0;
- $('html,body').animate(_0x1d47af, 600)
- }
- }
- if ('content' in _0x4d8621) {
- if ('EAqmU' !== 'EAqmU') {
- var _0x5cc5b4 = no_image_url
- } else {
- var _0x45993b = _0x4d8621['content']['$t']
- }
- }
- s = _0x45993b;
- a = s.indexOf('<img');
- b = s.indexOf('src="', a);
- c = s.indexOf('\"', b + 5);
- d = s.substr(b + 5, c - b - 5);
- if (a != -1 && b != -1 && c != -1 && d != '') _0x193ccd[_0x4df3d3] = d;
- var _0x2f6f11 = _0x193ccd[_0x4df3d3].replace('s1600/', 's500-c/');
- var _0x53db56 = _0x53db56 + ('<li class=\"mega-post clearfix"><a href="') + _0x4fd93a + ('\" class=\"mega_post-image" style="background: url(') + _0x2f6f11 + (') no-repeat center;background-size: cover"></a><a href="') + _0x4fd93a + ('"><h3 class=\"mega_post-title">') + _0x2828e0 + ('</h3></a></li>')
- }
- _0x42203c.append('<div class="mega-menu-wrapper\"><ul class="mega-menu clearfix\">' + _0x53db56 + ('</ul></div>'))
- }
- })
- }
- }
- } else {
- if (!$('#mycontent:visible').length) window.location.href = 'https://www.local-hunter.com/'
- }
- })
- });
- $('#footer-wrapper .HTML').each(function () {
- var _0xdf3bfc = $(this);
- var _0x4081a2 = _0xdf3bfc.children('.widget-content');
- var _0x2b4813 = _0x4081a2.text().trim();
- var _0x59b6ac = _0x2b4813['toLowerCase']();
- if (_0x59b6ac === 'randomposts1' || _0x59b6ac === 'random posts1') {
- _0x4081a2.addClass('randomposts1');
- $.ajax({
- 'url': '/feeds/posts/default?alt=json-in-script',
- 'type': 'get',
- 'dataType': 'jsonp',
- 'success': function (_0x32b46a) {
- var _0x3ca4ee = _0x32b46a.feed.entry.length,
- _0x3fe0a8 = _0x3ca4ee - footerRandomPostsNum,
- _0x4762cb = Math.floor(Math.random() * (_0x3fe0a8 + 1));
- var _0x40be10 = {};
- _0x40be10['url'] = '/feeds/posts/default?alt=json-in-script&end-index=' + _0x4762cb + '';
- _0x40be10.type = 'get';
- _0x40be10.dataType = 'jsonp';
- _0x40be10.success = function (_0x1c04a4) {
- var _0x2053d7 = new Array();
- var _0x397977 = '';
- for (var _0xf39ea5 = 0; _0xf39ea5 < footerRandomPostsNum; _0xf39ea5++) {
- if ('dHtkO' !== 'iXWBZ') {
- var _0x2a207b = _0x1c04a4['feed'].entry[_0x4762cb + _0xf39ea5];
- var _0x378e4a = _0x2a207b['title']['$t'];
- var _0x411be8;
- var _0xd168bd;
- var _0x10907d;
- for (var _0x52547c = 0; _0x52547c < _0x2a207b.link.length; _0x52547c++) {
- if ('CCQBg' !== 'gbHdy') {
- if (_0x2a207b.link[_0x52547c].rel == 'alternate') {
- _0x411be8 = _0x2a207b.link[_0x52547c].href;
- break
- }
- } else {
- var _0x141013 = i1.parent();
- _0x141013.append('<ul class=\"sub-menu m-sub\"/>')
- }
- }
- for (var _0x52547c = 0; _0x52547c < _0x2a207b.link.length; _0x52547c++) {
- if ('PYluq' === 'PYluq') {
- if (_0x2a207b.link[_0x52547c].rel === 'replies' && _0x2a207b.link[_0x52547c]['type'] === 'text/html') {
- if ('auRXB' === 'neUoH') {
- v.css('height', '50px');
- f = false
- } else {
- _0xd168bd = _0x2a207b['link'][_0x52547c].title;
- _0x10907d = _0x2a207b['link'][_0x52547c].href;
- break
- }
- }
- } else {
- b.addClass('hide')
- }
- }
- if ('content' in _0x2a207b) {
- var _0x37a838 = _0x2a207b.content['$t']
- }
- s = _0x37a838;
- _0x3fe0a8 = s['indexOf']('<img');
- b = s.indexOf('src=\"', _0x3fe0a8);
- c = s.indexOf('\"', b + 5);
- d = s['substr'](b + 5, c - b - 5);
- if (_0x3fe0a8 != -1 && b != -1 && c != -1 && d != '') {
- _0x2053d7[_0x4762cb] = d;
- var _0x7570c6 = _0x2053d7[_0x4762cb]
- } else {
- var _0x7570c6 = no_image_url
- }
- var _0x397977 = _0x397977 + ('<li class="post-wrapper clearfix"><a href="') + _0x411be8 + ('" class="random_post-image" style="background: url(') + _0x7570c6 + (') no-repeat center;background-size: cover"></a><a href=\"') + _0x411be8 + ('"><h3 class=\"random_post-title\">') + _0x378e4a + ('</h3></a><a href="') + _0x10907d + ('" class="post-comments"><i class="fa fa-comment-o icon"></i>') + _0xd168bd + '</a></li>'
- } else {
- if (fn) {
- var _0x241ea2 = fn['apply'](context, arguments);
- fn = null;
- return _0x241ea2
- }
- }
- }
- _0x4081a2.html('<ul class="random-posts">' + _0x397977 + '</ul>')
- };
- $.ajax(_0x40be10)
- }
- })
- } else if (_0x59b6ac === 'randomposts2' || _0x59b6ac === 'random posts2') {
- if ('KnllX' !== 'KnllX') {
- top['removeClass']('fadeIn')
- } else {
- _0x4081a2.addClass('randomposts2');
- $['ajax']({
- 'url': '/feeds/posts/default?alt=json-in-script',
- 'type': 'get',
- 'dataType': 'jsonp',
- 'success': function (_0xa2f720) {
- var _0x338dfc = _0xa2f720.feed.entry.length,
- _0x467e7d = _0x338dfc - footerRandomPostsNum,
- _0x804d5f = Math.floor(Math.random() * (_0x467e7d + 1));
- $.ajax({
- 'url': '/feeds/posts/default?alt=json-in-script&end-index=' + _0x804d5f + '',
- 'type': 'get',
- 'dataType': 'jsonp',
- 'success': function (_0x396aeb) {
- var _0x2bfeae = new Array();
- var _0x492649 = '';
- for (var _0x462a90 = 0; _0x462a90 < footerRandomPostsNum; _0x462a90++) {
- if ('aUkhm' === 'aUkhm') {
- var _0x2a23da = _0x396aeb['feed'].entry[_0x804d5f + _0x462a90];
- var _0x16cdcc = _0x2a23da.title['$t'];
- var _0x384638;
- for (var _0x52ca51 = 0; _0x52ca51 < _0x2a23da.link.length; _0x52ca51++) {
- if (_0x2a23da.link[_0x52ca51].rel == 'alternate') {
- if ('PNXov' === 'aBOKJ') {
- navMenu['slideToggle']()
- } else {
- _0x384638 = _0x2a23da.link[_0x52ca51]['href'];
- break
- }
- }
- }
- if ('content' in _0x2a23da) {
- var _0x187a7f = _0x2a23da.content['$t']
- }
- s = _0x187a7f;
- _0x467e7d = s.indexOf('<img');
- b = s.indexOf('src=\"', _0x467e7d);
- c = s.indexOf('\"', b + 5);
- d = s['substr'](b + 5, c - b - 5);
- if (_0x467e7d != -1 && b != -1 && c != -1 && d != '') {
- _0x2bfeae[_0x804d5f] = d;
- var _0x372449 = _0x2bfeae[_0x804d5f]
- } else {
- if ('GTeJc' !== 'GTeJc') {
- _0x2bfeae[_0x462a90] = d;
- var _0x1f3acc = _0x2bfeae[_0x462a90]
- } else {
- var _0x372449 = no_image_url
- }
- }
- var _0x5d7929 = _0x187a7f.replace(/<.+?>/g, '').substring(0, 90).trim() + '...';
- var _0x492649 = _0x492649 + ('<li class="post-wrapper clearfix"><a href="') + _0x384638 + ('" class="post-image" style="background: url(') + _0x372449 + (') no-repeat center;background-size: cover\"></a><div class=\"title-summary-wrapper\"><a href=\"') + _0x384638 + ('" class="post-title"><h3 class="heading">') + _0x16cdcc + ('</h3></a><p class=\"post-summary\">') + _0x5d7929 + ('</p></div></li>')
- } else {
- sbtn['toggleClass']('white');
- var _0x3898d6 = $('.search');
- if (!opened) {
- _0x3898d6.css('top', '0');
- opened = true
- } else {
- _0x3898d6.css('top', '-50px');
- opened = false
- }
- }
- }
- _0x4081a2.html('<ul class="random-posts">' + _0x492649 + '</ul>')
- }
- })
- }
- })
- }
- } else if (_0x59b6ac === 'recentposts1' || _0x59b6ac === 'recent posts1') {
- _0x4081a2.addClass('recentposts1');
- $['ajax']({
- 'url': '/feeds/posts/default?alt=json-in-script&max-results=' + footerRecentPostsNum + '',
- 'type': 'get',
- 'dataType': 'jsonp',
- 'success': function (_0x28ef74) {
- var _0x2bd779 = new Array();
- var _0x6b5ec9 = '';
- var _0x49b465 = _0x28ef74.feed.entry.length;
- for (var _0x606f03 = 0; _0x606f03 < _0x49b465; _0x606f03++) {
- var _0x9ff8f9 = _0x28ef74.feed['entry'][_0x606f03];
- var _0x1878b7 = _0x9ff8f9.title['$t'];
- var _0x14ec01;
- for (var _0x260c9e = 0; _0x260c9e < _0x9ff8f9.link.length; _0x260c9e++) {
- if (_0x9ff8f9.link[_0x260c9e].rel == 'alternate') {
- _0x14ec01 = _0x9ff8f9.link[_0x260c9e]['href'];
- break
- }
- }
- if ('content' in _0x9ff8f9) {
- var _0x5eaef9 = _0x9ff8f9['content']['$t']
- }
- s = _0x5eaef9;
- a = s.indexOf('<img');
- b = s['indexOf']('src="', a);
- c = s.indexOf('\"', b + 5);
- d = s['substr'](b + 5, c - b - 5);
- if (a != -1 && b != -1 && c != -1 && d != '') {
- if ('SDDAC' === 'GSFjx') {
- scrollTop = $(window).scrollTop();
- if (scrollTop > scrollTrigger) {
- top.addClass('fadeIn')
- } else {
- top['removeClass']('fadeIn')
- }
- } else {
- _0x2bd779[_0x606f03] = d;
- var _0x34fbf = _0x2bd779[_0x606f03]
- }
- } else {
- var _0x34fbf = no_image_url
- }
- var _0x6b5ec9 = _0x6b5ec9 + ('<li class="recent-post-item"><a href="') + _0x14ec01 + ('" class="post-image" style="background: url(') + _0x34fbf + (') no-repeat center; background-size: cover;\"></a><a href="') + _0x14ec01 + ('" class="post-title"><h2 class="heading">') + _0x1878b7 + ('</h2></a></li>')
- }
- _0x4081a2.html('<ul class=' + "'recent-po" + 'sts-wrappe' + "r'>" + _0x6b5ec9 + '</ul>')
- }
- })
- } else if (_0x59b6ac === 'recentposts2' || _0x59b6ac === 'recent posts2') {
- _0x4081a2.addClass('recentposts2');
- var _0x50d42f = {};
- _0x50d42f.url = '/feeds/posts/default?alt=json-in-script&max-results=' + footerRecentPostsNum + '';
- _0x50d42f.type = 'get';
- _0x50d42f.dataType = 'jsonp';
- _0x50d42f.success = function (_0x22d7fb) {
- var _0x51a089 = new Array();
- var _0x55eef1 = '';
- var _0xfe41f7 = _0x22d7fb.feed['entry'].length;
- for (var _0x2ccda5 = 0; _0x2ccda5 < _0xfe41f7; _0x2ccda5++) {
- if ('qEGnx' === 'qEGnx') {
- var _0x5405a8 = _0x22d7fb.feed['entry'][_0x2ccda5];
- var _0x4ef47a = _0x5405a8['title']['$t'];
- var _0x5a213e;
- for (var _0x36d40d = 0; _0x36d40d < _0x5405a8['link'].length; _0x36d40d++) {
- if (_0x5405a8['link'][_0x36d40d].rel == 'alternate') {
- _0x5a213e = _0x5405a8.link[_0x36d40d].href;
- break
- }
- }
- if ('content' in _0x5405a8) {
- var _0x5dd2b1 = _0x5405a8.content['$t']
- }
- s = _0x5dd2b1;
- a = s.indexOf('<img');
- b = s.indexOf('src=\"', a);
- c = s['indexOf']('\"', b + 5);
- d = s.substr(b + 5, c - b - 5);
- if (a != -1 && b != -1 && c != -1 && d != '') {
- _0x51a089[_0x2ccda5] = d;
- var _0x2e1892 = _0x51a089[_0x2ccda5]
- } else {
- var _0x2e1892 = no_image_url
- }
- var _0x21ab5e = _0x5dd2b1['replace'](/<.+?>/g, '').substring(0, 90).trim() + '...';
- var _0x55eef1 = _0x55eef1 + ('<li class="post-wrapper clearfix"><a href="') + _0x5a213e + ('\" class=\"post-image" style="background: url(') + _0x2e1892 + (') no-repeat center;background-size: cover\"></a><div class="title-summary-wrapper"><a href=\"') + _0x5a213e + ('\" class=\"post-title"><h3 class="heading">') + _0x4ef47a + ('</h3></a><p class="post-summary">') + _0x21ab5e + ('</p></div></li>')
- } else {
- i1.text(t1.replace('_', ''));
- i1['parent']().appendTo(l1['children']('.sub-menu'))
- }
- }
- _0x4081a2.html('<ul class=' + "'recent-po" + 'sts-wrappe' + "r'>" + _0x55eef1 + '</ul>')
- };
- $.ajax(_0x50d42f)
- }
- });
- $(function () {
- var _0x5deaa2 = $('#logo-and-ad-container .HTML');
- var _0x182b50 = _0x5deaa2.children('.widget-content');
- if (_0x182b50.text().trim() === '') {
- if ('JqAXF' === 'JqAXF') {
- _0x5deaa2.addClass('hide')
- } else {
- var _0xd6f3d8 = iTms['eq'](i),
- _0x3c6f0d = _0xd6f3d8.text();
- if (_0x3c6f0d['charAt'] 0 !== '_') {
- var _0x53b3f6 = iTms['eq'](i + 1),
- _0x486955 = _0x53b3f6['text']();
- if (_0x486955.charAt 0 === '_') {
- var _0x34de8d = _0xd6f3d8.parent();
- _0x34de8d['append']('<ul class="sub-menu m-sub"/>')
- }
- }
- if (_0x3c6f0d['charAt'] 0 === '_') {
- _0xd6f3d8.text(_0x3c6f0d['replace']('_', ''));
- _0xd6f3d8.parent().appendTo(_0x34de8d.children('.sub-menu'))
- }
- }
- }
- });
- $(function () {
- var _0x43faa6 = $('#main-nav').find('ul');
- var _0x1a7d1f = false;
- _0x43faa6['on']('click', function () {
- if (_0x43faa6.height() > 0) {
- if ('xyBxZ' === 'JLKRa') {
- var _0x3d0d0b = entry['content']['$t']
- } else {
- if (!_0x1a7d1f) {
- _0x43faa6.css('height', 'auto');
- _0x1a7d1f = true
- } else {
- _0x43faa6.css('height', '50px');
- _0x1a7d1f = false
- }
- }
- }
- });
- var _0x4e18b5 = $('.top-nav-icon');
- var _0x20b72e = $('.top-nav-wrapper .widget:first-child ul');
- _0x4e18b5['on']('click', function () {
- _0x20b72e['slideToggle']()
- })
- });
- //]]>
- </script> <!-- Search & To Top Functionality -->
- <b:if cond='data:blog.url == data:blog.homepageUrl'>
- <script>
- //<![CDATA[
- /* Slider Widget
- --------------------------------------*/
- var slider = $('#slider .widget-content');
- var sliderContent = slider.text().trim();
- slider.addClass('clearfix');
- var windowWidth = window.innerWidth;
- if (windowWidth > 480) {
- if ((sliderContent.toLowerCase() !== 'no') && (sliderContent !== '"no"')) {
- if (sliderContent !== "recent") {
- $.ajax({
- url: "/feeds/posts/default/-/" + sliderContent + "?alt=json-in-script&max-results=4",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i]
- } else {
- var post_image = no_image_url
- }
- var post_comments;
- var comment_url;
- for (var k = 0; k < entry.link.length; k++) {
- if ((entry.link[k].rel === 'replies') && (entry.link[k].type === 'text/html')) {
- post_comments = entry.link[k].title;
- comment_url = entry.link[k].href;
- break
- }
- }
- post_comments = parseInt(post_comments, 10);
- var postdate = entry.published.$t;
- var day = postdate.split("-")[2].substring(0, 2);
- var m = postdate.split("-")[1];
- var y = postdate.split("-")[0];
- var daystr = day + '.' + m + '.' + y;
- if (sliderContent !== entry.category[0] && entry.category.length !== 0) {
- var category = '<a class="post-category" href="/search/label/' + entry.category[0].term + '?max-results=7">' + entry.category[0].term + '</a>'
- } else {
- var category = '<a class="post-category" href="/search/label/' + entry.category[1].term + '?max-results=7">' + entry.category[1].term + '</a>'
- }
- if (i === 0) {
- var trtd1 = '<li class="slider-item" id="slider-item1">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- } else if (i === 1) {
- var trtd2 = '<li class="slider-item" id="slider-item2">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- } else if (i === 2) {
- var trtd3 = '<li class="slider-item" id="slider-item3">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- } else {
- var trtd4 = '<li class="slider-item" id="slider-item4">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- }
- }
- slider.html("<ul class='clearfix'>" + trtd1 + trtd2 + trtd3 + trtd4 + "</ul>")
- }
- })
- } else if (sliderContent === "recent") {
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&max-results=4",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i]
- } else {
- var post_image = no_image_url
- }
- var post_comments;
- var comment_url;
- for (var k = 0; k < entry.link.length; k++) {
- if ((entry.link[k].rel === 'replies') && (entry.link[k].type === 'text/html')) {
- post_comments = entry.link[k].title;
- comment_url = entry.link[k].href;
- break
- }
- }
- post_comments = parseInt(post_comments, 10);
- var postdate = entry.published.$t;
- var day = postdate.split("-")[2].substring(0, 2);
- var m = postdate.split("-")[1];
- var y = postdate.split("-")[0];
- var daystr = day + '.' + m + '.' + y;
- if (sliderContent !== entry.category[0] && entry.category.length !== 0) {
- var category = '<a class="post-category" href="/search/label/' + entry.category[0].term + '?max-results=7">' + entry.category[0].term + '</a>'
- } else {
- var category = '<a class="post-category" href="/search/label/' + entry.category[1].term + '?max-results=7">' + entry.category[1].term + '</a>'
- }
- if (i === 0) {
- var trtd1 = '<li class="slider-item" id="slider-item1">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- } else if (i === 1) {
- var trtd2 = '<li class="slider-item" id="slider-item2">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- } else if (i === 2) {
- var trtd3 = '<li class="slider-item" id="slider-item3">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- } else {
- var trtd4 = '<li class="slider-item" id="slider-item4">' + category + '<a href="' + posturl + '" class="slider-image" style="background: url(' + post_image + ') no-repeat center; background-size: cover;"></a><div class="slider-post-info"><a href="' + posturl + '"><h2 class="heading">' + posttitle + '</h2></a><span class="publish-date"><i class="fa fa-clock-o icon"></i>' + daystr + '</span><a class="comments" href="' + comment_url + '"><i class="fa fa-comment icon"></i>' + post_comments + '</a></div></li>'
- }
- }
- slider.html("<ul class='clearfix'>" + trtd1 + trtd2 + trtd3 + trtd4 + "</ul>")
- }
- })
- }
- } else {
- $(".slider-wrapper").remove()
- }
- }
- //]]>
- </script><!-- Slider Ajax Requests -->
- <script>
- //<![CDATA[
- $(".home-widgets .HTML").each(function (index) {
- var widget = $(this);
- var widgetContent = widget.children(".widget-content");
- var widgetContentText = widgetContent.text().trim();
- var a = widgetContentText.match(/[^[\]]+(?=])/g);
- a[1] = a[1].toLowerCase();
- widgetContent.addClass(a[1]).addClass("clearfix");
- if(a[1] === "stack") {
- $.ajax({
- url: "/feeds/posts/default/-/"+ a[0] +"?alt=json-in-script&max-results="+ stackPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- for (var k = 0; k < entry.link.length; k++) {
- if ((entry.link[k].rel === 'replies') && (entry.link[k].type === 'text/html')) {
- post_comments = entry.link[k].title;
- comment_url = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var summary = postcontent.replace(/<.+?>/g, '').substring(0, 90).trim() + "...";
- summary = summary.split(" ");
- summary.pop();
- summary = summary.join(" ") + "...";
- var share = '<div class="post-share-wrapper"><span class="share-icon"><i class="fa fa-share"></i></span><div class="post-share"><a class="post-share_link facebook" href="http://www.facebook.com/sharer.php?u='+ posturl +'" target="_blank"><i class="fa fa-facebook"></i></a><a class="post-share_link twitter" href="http://twitter.com/share?url='+ posturl +'" target="_blank"><i class="fa fa-twitter"></i></a><a class="post-share_link pinterest" href="http://pinterest.com/pin/create/button/?source_url='+ posturl +'" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank"><i class="fa fa-pinterest"></i></a></div></div>'
- var trtd = trtd + '<li class="stack-post clearfix"><a href="'+ posturl +'" class="stack-post-image" style="background: url('+ post_image +') no-repeat center; background-size: cover;"></a>'+ share +'<a href="'+ posturl +'"><h2 class="stack-post-title anchor-hover">'+ posttitle +'</h2></a><p class="stack-post-summary">'+ summary +'</p></li>';
- }
- widgetContent.html("<ul class='stack-posts-wrapper'>" + trtd + "</ul>");
- }
- });
- } else if(a[1] === "btop") {
- $.ajax({
- url: "/feeds/posts/default/-/"+ a[0] +"?alt=json-in-script&max-results="+ btopPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd2 = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- var ll = entry.link.length;
- for (var k = 0; k < ll; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- for (var k = 0; k < ll; k++) {
- if ((entry.link[k].rel === 'replies') && (entry.link[k].type === 'text/html')) {
- post_comments = entry.link[k].title;
- comment_url = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- if(i===0) {
- var postdate = entry.published.$t;
- var day = postdate.split("-")[2].substring(0,2);
- var m = postdate.split("-")[1];
- var y = postdate.split("-")[0];
- var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
- var daystr = '<strong class="day">' + day + '</strong>' + '<br/>' + months[m-1] + '<br/>' + y;
- var summary = postcontent.replace(/<.+?>/g, '').substring(0, 140).trim() + "...";
- var share = '<div class="post-share-wrapper"><span class="share-icon"><i class="fa fa-share"></i></span><div class="post-share"><a class="post-share_link facebook" href="http://www.facebook.com/sharer.php?u='+ posturl +'" target="_blank"><i class="fa fa-facebook"></i></a><a class="post-share_link twitter" href="http://twitter.com/share?url='+ posturl +'" target="_blank"><i class="fa fa-twitter"></i></a><a class="post-share_link pinterest" href="http://pinterest.com/pin/create/button/?source_url='+ posturl +'" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;" target="_blank"><i class="fa fa-pinterest"></i></a></div></div>'
- var trtd1 = '<div class="big-post"><span class="btop-timestamp">'+ daystr +'</span><div class="big-post-image-wrapper"><a href="'+ posturl +'" class="big-post-image" style="background: url('+ post_image +') no-repeat center; background-size: cover;"></a>'+ share +'</div><div class="btop-info-wrapper"><a href="'+ posturl +'"><h2 class="big-post-title heading anchor-hover">'+ posttitle +'</h2></a><p class="btop-post-summary">'+ summary +'</p></div></div>';
- }
- else
- {
- var post_image = img[i].replace('s1600/', 's150-c/');
- trtd2 = trtd2 + '<li class="btop-post"><a href="'+ posturl +'" class="btop-post-image" style="background: url('+ post_image +') no-repeat center; background-size: cover;"></a><a href="'+ posturl +'"><h2 class="btop-post-title anchor-hover">'+ posttitle +'</h2></a></li>';
- }
- }
- widgetContent.html(trtd1 + "<ul class='btop-small-posts'>" + trtd2 + "</ul>");
- }
- });
- } else if(a[1] === "grids") {
- $.ajax({
- url: "/feeds/posts/default/-/"+ a[0] +"?alt=json-in-script&max-results="+ gridsPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- for (var k = 0; k < entry.link.length; k++) {
- if ((entry.link[k].rel === 'replies') && (entry.link[k].type === 'text/html')) {
- post_comments = entry.link[k].title;
- comment_url = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var trtd = trtd + '<li class="grids-post"><a href="'+ posturl +'" class="grids-post-image" style="background: url('+ post_image +') no-repeat center; background-size: cover;"></a><a href="'+ posturl +'"><h2 class="grids-post-title anchor-hover">'+ posttitle +'</h2></a></li>';
- }
- widgetContent.html("<ul class='grids-posts-wrapper clearfix'>" + trtd + "</ul>");
- }
- });
- } else if(a[1] === "slideshow") {
- widgetContent.attr("id", "slideshow" + "b" + index);
- $.ajax({
- url: "/feeds/posts/default/-/"+ a[0] +"?alt=json-in-script&max-results="+ slideshowPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = numOfEntries-1; i > -1; i--) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var summary = postcontent.replace(/<.+?>/g, '').substring(0, 80).trim() + "...";
- if(i === 0){
- var trtd = trtd + '<li class="slideshow-post active-slide"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><div class="title-summary-wrapper"><a href="'+ posturl +'" class="post-title"><h3 class="heading anchor-hover">'+ posttitle +'</h3></a><p class="post-summary">'+ summary +'</p></div></li>';
- } else {
- var trtd = trtd + '<li class="slideshow-post"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><div class="title-summary-wrapper"><a href="'+ posturl +'" class="post-title"><h3 class="heading anchor-hover">'+ posttitle +'</h3></a><p class="post-summary">'+ summary +'</p></div></li>';
- }
- }
- var arrowsCode = '<span class="left-arrow arrow"><i class="fa fa-chevron-left"></i></span><span class="right-arrow arrow"><i class="fa fa-chevron-right"></i></span>';
- widgetContent.html(arrowsCode + '<ul class="slideshow-posts-wrapper">' + trtd + '</ul>');
- var slideShow = $("#slideshowb"+index+"");
- var left = slideShow.children(".left-arrow");
- var right = slideShow.children(".right-arrow");
- var activeSlide;
- var postsWrapper;
- function slideshowL() {
- postsWrapper = $(this).siblings(".slideshow-posts-wrapper");
- activeSlide = postsWrapper.children(".active-slide");
- if(activeSlide.index() === 0) {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- postsWrapper.children(".slideshow-post").eq(numOfEntries-1).addClass("active-slide fadeIn").removeClass("fadeOut");
- } else {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- activeSlide.prev().addClass("active-slide fadeIn").removeClass("fadeOut");
- }
- }
- function slideshowR() {
- postsWrapper = $(this).siblings(".slideshow-posts-wrapper");
- activeSlide = postsWrapper.children(".active-slide");
- if(activeSlide.index() === numOfEntries-1) {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- postsWrapper.children(".slideshow-post").eq(0).addClass("active-slide fadeIn").removeClass("fadeOut");
- } else {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- activeSlide.next().addClass("fadeIn active-slide").removeClass("fadeOut");
- }
- }
- left.on("click", slideshowL);
- right.on("click", slideshowR);
- /*
- var arr;
- var height;
- var maxHeight = 0;
- var imageHeight;
- var wrapperHeight;
- var slideshowPosts = slideShow.find(".slideshow-post");
- slideshowPosts.each(function(){
- var _self = $(this);
- imageHeight = _self.children(".post-image").outerHeight();
- wrapperHeight = _self.children(".title-summary-wrapper").outerHeight();
- height = imageHeight + wrapperHeight;
- if(height > maxHeight) {
- maxHeight = height;
- }
- });
- slideShow.css("height", maxHeight);
- function autoPlaySlideshow() {
- slideshowAutoPlay = setInterval (function (){
- postsWrapper = slideShow.find(".slideshow-posts-wrapper");
- activeSlide = postsWrapper.children(".active-slide");
- if(activeSlide.index() === numOfEntries-1) {
- activeSlide.addClass("fadeOut").removeClass("fadeIn").removeClass("active-slide");
- postsWrapper.children(".slideshow-post").eq(0).addClass("fadeIn").removeClass("fadeOut").addClass("active-slide");
- } else {
- activeSlide.addClass("fadeOut").removeClass("fadeIn").removeClass("active-slide");
- activeSlide.next().addClass("fadeIn").removeClass("fadeOut").addClass("active-slide");
- }
- }, 3000);
- };
- autoPlaySlideshow();
- slideShow.on("mouseenter", function () {
- clearInterval(slideshowAutoPlay);
- });
- slideShow.on("mouseleave", autoPlaySlideshow);
- */
- }
- });
- }
- });
- /*---- Add the title "Latest Posts" to the Blog widget ----*/
- var blog = $(".Blog");
- var blogHeader = "<div class='title'>latest posts</div>";
- blog.prepend(blogHeader);
- //]]>
- </script>
- </b:if>
- <b:if cond='data:blog.pageType != "error_page"'>
- <script>
- //<![CDATA[
- /* Sidebar Widgets
- --------------------------------------*/
- var no_image_url = 'https://2.bp.blogspot.com/-0PTH--hIAHU/VsC6iFnrJII/AAAAAAAAAZg/msMKLIaI8rE/s1600/no_img_url.png';
- $(".sidebar-wrapper1 .HTML").each(function (index) {
- var widget = $(this);
- var widgetContent = widget.children(".widget-content");
- var widgetContentText = widgetContent.text().trim();
- var wct = widgetContentText.toLowerCase();
- var a = widgetContentText.match(/[^[\]]+(?=])/g);
- if (wct.charAt(0) === "[") {
- if (a[0] === "verticalposts" || a[0] === "vertical posts") {
- widgetContent.addClass("verticalposts");
- $.ajax({
- url: "/feeds/posts/default/-/" + a[1] + "?alt=json-in-script&max-results=" + verticalPostsNum + "",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i]
- } else {
- var post_image = no_image_url
- }
- var trtd = trtd + '<li class="vertical-post clearfix"><a href="' + posturl + '" class="post-image" style="background: url(' + post_image + ') no-repeat center;background-size: cover"></a><a href="' + posturl + '"><h3 class="post-title anchor-hover">' + posttitle + '</h3></a></li>'
- }
- widgetContent.html("<ul class='vertical-posts-wrapper'>" + trtd + "</ul>")
- }
- })
- }
- }
- });
- $(".sidebar-wrapper2 .HTML").each(function (index) {
- var widget = $(this);
- var widgetContent = widget.children(".widget-content");
- var widgetContentText = widgetContent.text().trim();
- var wct = widgetContentText.toLowerCase();
- if((wct === "randomposts1") || (wct === "random posts1")) {
- widgetContent.addClass("randomposts1");
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var entryLength = e.feed.entry.length,
- a = entryLength - sidebarRandomPostsNum,
- n = Math.floor(Math.random() * (a + 1));
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&end-index=" + n + "",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- for (var i = 0; i < sidebarRandomPostsNum; i++) {
- var entry = e.feed.entry[n+i];
- var posttitle = entry.title.$t;
- var posturl;
- var post_comments;
- var comment_url;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- for (var k = 0; k < entry.link.length; k++) {
- if ((entry.link[k].rel === 'replies') && (entry.link[k].type === 'text/html')) {
- post_comments = entry.link[k].title;
- comment_url = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[n] = d;
- var post_image = img[n];
- } else {
- var post_image = no_image_url;
- }
- var trtd = trtd + '<li class="post-wrapper clearfix"><a href="'+ posturl +'" class="random_post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><a href="'+ posturl +'"><h3 class="random_post-title anchor-hover">'+ posttitle +'</h3></a><a href="'+ comment_url +'" class="post-comments"><i class="fa fa-comment-o icon"></i>'+ post_comments +'</a></li>';
- }
- widgetContent.html('<ul class="random-posts">' + trtd + '</ul>');
- }
- });
- }
- });
- } else if((wct === "randomposts2") || (wct === "random posts2")) {
- widgetContent.addClass("randomposts2");
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var entryLength = e.feed.entry.length,
- a = entryLength - sidebarRandomPostsNum,
- n = Math.floor(Math.random() * (a + 1));
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&end-index=" + n + "",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- for (var i = 0; i < sidebarRandomPostsNum; i++) {
- var entry = e.feed.entry[n+i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[n] = d;
- var post_image = img[n];
- } else {
- var post_image = no_image_url;
- }
- var summary = postcontent.replace(/<.+?>/g, '').substring(0, 70).trim() + "...";
- var trtd = trtd + '<li class="post-wrapper clearfix"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><div class="title-summary-wrapper"><a href="'+ posturl +'" class="post-title"><h3 class="heading">'+ posttitle +'</h3></a><p class="post-summary">'+ summary +'</p></div></li>';
- }
- widgetContent.html('<ul class="random-posts">' + trtd + '</ul>');
- }
- });
- }
- });
- } else if((wct === "recentposts1") || (wct === "recent posts1")) {
- widgetContent.addClass("recentposts1");
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&max-results="+ sidebarRecentPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent;
- a = s.indexOf("<img");
- b = s.indexOf("src=\"", a);
- c = s.indexOf("\"", b + 5);
- d = s.substr(b + 5, c - b - 5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var trtd = trtd + '<li class="recent-post-item"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center; background-size: cover;"></a><a href="'+ posturl +'" class="post-title"><h2 class="heading anchor-hover">'+ posttitle +'</h2></a></li>';
- }
- widgetContent.html("<ul class='recent-posts-wrapper'>" + trtd + "</ul>");
- }
- });
- } else if((wct === "recentposts2") || (wct === "recent posts2")) {
- widgetContent.addClass("recentposts2");
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&max-results="+ sidebarRecentPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var summary = postcontent.replace(/<.+?>/g, '').substring(0, 70).trim() + "...";
- var trtd = trtd + '<li class="post-wrapper clearfix"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><div class="title-summary-wrapper"><a href="'+ posturl +'" class="post-title"><h3 class="heading">'+ posttitle +'</h3></a><p class="post-summary">'+ summary +'</p></div></li>';
- }
- widgetContent.html("<ul class='recent-posts-wrapper'>" + trtd + "</ul>");
- }
- });
- } else if(wct === "recentcomments") {
- $.ajax({
- url: "/feeds/comments/default?alt=json-in-script&max-results="+ sidebarRecentCommentsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries ; i++) {
- var entry = e.feed.entry[i];
- var comment_content = entry.title.$t;
- var comment_author = entry.author[0].name.$t;
- var author_avatar = entry.author[0].gd$image.src;
- var commenturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- commenturl = entry.link[k].href;
- break;
- }
- }
- trtd = trtd + '<li class="comment"><img src="'+ author_avatar +'" class="comment-avatar" alt="Commenter avatar" height="32px" width="32px"/><h6 class="comment-author">'+ comment_author +'</h6><a href="'+ commenturl +'" class="comment-content anchor-hover">'+ comment_content +'</a></li>';
- }
- widgetContent.html("<ul class='recent-comments-wrapper'>" + trtd + "</ul>");
- }
- });
- } else if(widgetContentText.charAt(0) === "[") {
- var a = widgetContentText.match(/[^[\]]+(?=])/g);
- widgetContent.addClass(a[0]);
- if(a[0].toLowerCase() === "socialcounter") {
- var content = '';
- var c = a.length;
- for(i=1; i<c; i+=3) {
- var content = content + '<li class="social_item-wrapper"><a href="'+ a[i+1] +'" class="social_item social_'+ a[i] +'"><i class="fa fa-'+ a[i] +' social_icon"></i><span class="social_num">'+ a[i+2] +'</span></a></li>'
- }
- widgetContent.html('<ul class="social-counter">' + content + '</ul>');
- } else if(a[0].toLowerCase() === "slideshow") {
- widgetContent.attr("id", "slideshow" + "s" + index);
- $.ajax({
- url: "/feeds/posts/default/-/"+ a[1] +"?alt=json-in-script&max-results="+ slideshowPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = numOfEntries-1; i > -1; i--) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var summary = postcontent.replace(/<.+?>/g, '').substring(0, 90).trim() + "...";
- if(i === 0){
- var trtd = trtd + '<li class="slideshow-post active-slide"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><div class="title-summary-wrapper"><a href="'+ posturl +'" class="post-title"><h3 class="heading anchor-hover">'+ posttitle +'</h3></a><p class="post-summary">'+ summary +'</p></div></li>';
- } else {
- var trtd = trtd + '<li class="slideshow-post"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><div class="title-summary-wrapper"><a href="'+ posturl +'" class="post-title"><h3 class="heading anchor-hover">'+ posttitle +'</h3></a><p class="post-summary">'+ summary +'</p></div></li>';
- }
- }
- var arrowsCode = '<span class="left-arrow arrow"><i class="fa fa-chevron-left"></i></span><span class="right-arrow arrow"><i class="fa fa-chevron-right"></i></span>';
- widgetContent.html(arrowsCode + '<ul class="slideshow-posts-wrapper">' + trtd + '</ul>');
- var slideShow = $("#slideshows"+index+"");
- var left = slideShow.children(".left-arrow");
- var right = slideShow.children(".right-arrow");
- var activeSlide;
- var postsWrapper;
- function slideshowL() {
- postsWrapper = $(this).siblings(".slideshow-posts-wrapper");
- activeSlide = postsWrapper.children(".active-slide");
- if(activeSlide.index() === 0) {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- postsWrapper.children(".slideshow-post").eq(numOfEntries-1).addClass("active-slide fadeIn").removeClass("fadeOut");
- } else {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- activeSlide.prev().addClass("active-slide fadeIn").removeClass("fadeOut");
- }
- }
- function slideshowR() {
- postsWrapper = $(this).siblings(".slideshow-posts-wrapper");
- activeSlide = postsWrapper.children(".active-slide");
- if(activeSlide.index() === numOfEntries-1) {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- postsWrapper.children(".slideshow-post").eq(0).addClass("active-slide fadeIn").removeClass("fadeOut");
- } else {
- activeSlide.addClass("fadeOut").removeClass("fadeIn active-slide");
- activeSlide.next().addClass("fadeIn active-slide").removeClass("fadeOut");
- }
- }
- left.on("click", slideshowL);
- right.on("click", slideshowR);
- /*
- var arr;
- var height;
- var maxHeight = 0;
- var imageHeight;
- var wrapperHeight;
- var slideshowPosts = slideShow.find(".slideshow-post");
- slideshowPosts.each(function(){
- var _self = $(this);
- imageHeight = _self.children(".post-image").outerHeight();
- wrapperHeight = _self.children(".title-summary-wrapper").outerHeight();
- height = imageHeight + wrapperHeight;
- if(height > maxHeight) {
- maxHeight = height;
- }
- });
- slideShow.css("height", maxHeight);
- function autoPlaySlideshow() {
- slideshowAutoPlay = setInterval (function (){
- postsWrapper = slideShow.find(".slideshow-posts-wrapper");
- activeSlide = postsWrapper.children(".active-slide");
- if(activeSlide.index() === numOfEntries-1) {
- activeSlide.addClass("fadeOut").removeClass("fadeIn").removeClass("active-slide");
- postsWrapper.children(".slideshow-post").eq(0).addClass("fadeIn").removeClass("fadeOut").addClass("active-slide");
- } else {
- activeSlide.addClass("fadeOut").removeClass("fadeIn").removeClass("active-slide");
- activeSlide.next().addClass("fadeIn").removeClass("fadeOut").addClass("active-slide");
- }
- }, 3000);
- };
- autoPlaySlideshow();
- slideShow.on("mouseenter", function () {
- clearInterval(slideshowAutoPlay);
- });
- slideShow.on("mouseleave", autoPlaySlideshow);
- */
- }
- });
- } else if(a[0] === "verticalposts" || a[0] === "vertical posts") {
- $.ajax({
- url: "/feeds/posts/default/-/"+ a[1] +"?alt=json-in-script&max-results="+ verticalPostsNum +"",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var img = new Array();
- var trtd = '';
- var numOfEntries = e.feed.entry.length;
- for (var i = 0; i < numOfEntries; i++) {
- var entry = e.feed.entry[i];
- var posttitle = entry.title.$t;
- var posturl;
- for (var k = 0; k < entry.link.length; k++) {
- if (entry.link[k].rel == 'alternate') {
- posturl = entry.link[k].href;
- break;
- }
- }
- if ("content" in entry) {
- var postcontent = entry.content.$t;
- }
- s = postcontent; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
- if ((a != -1) && (b != -1) && (c != -1) && (d != "")) {
- img[i] = d;
- var post_image = img[i];
- } else {
- var post_image = no_image_url;
- }
- var trtd = trtd + '<li class="vertical-post clearfix"><a href="'+ posturl +'" class="post-image" style="background: url('+ post_image +') no-repeat center;background-size: cover"></a><a href="'+ posturl +'"><h3 class="post-title anchor-hover">'+ posttitle +'</h3></a></li>';
- }
- widgetContent.html("<ul class='vertical-posts-wrapper'>" + trtd + "</ul>");
- }
- });
- }
- }
- });
- /*---- Add the sub headline to "follow by email" widget ----*/
- var f = $(".FollowByEmail .widget-content");
- if(f.length) {
- f.prepend("<p class='subhead'>"+ followByEmailMessage +"</p>");
- }
- /*---- Remove the paranthesis in the List Label widget ----*/
- var l = $(".list-label-widget-content li span");
- if(l.length) {
- var s;
- var a;
- l.each(function (){
- var _self = $(this);
- s = _self.text().trim();
- a = s.replace(/\D/g, "");
- _self.text(a);
- });
- }
- //]]>
- </script><!-- Sidebar AJAX Requests -->
- <script>
- //<![CDATA[
- $(function(){
- var tabsWrapper = $(".sidebartabs-wrapper");
- var tabWidget = tabsWrapper.find(".widget");
- var tabs = $(".sidebartab-item");
- tabsWrapper.each(function(){
- var _self = $(this),
- s = _self.find(".widget");
- if (s.length < 2) {
- _self.remove();
- }
- else
- {
- var widgetsTitle = s.children("h2");
- var tabItems = _self.find(".sidebartab-item");
- var len = tabItems.length;
- for(var i=0; i < len; i++) {
- tabItems.eq(i).html(widgetsTitle.eq(i).text());
- }
- }
- });
- tabs.on("click", function (e) {
- var _self = $(this),
- index = tabs.index(_self);
- _self.addClass("activetab");
- _self.siblings().removeClass("activetab");
- tabWidget.eq(index).addClass("show").removeClass("hide");
- tabWidget.eq(index).siblings().addClass("hide").removeClass("show");
- });
- });
- // ]]>
- </script><!-- sidebar tabs -->
- </b:if>
- <b:if cond='data:blog.url == data:blog.homepageUrl'>
- <script>
- //<![CDATA[
- if (showPagination) {
- $("#blog-pager").addClass("hide");
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&max-results=10000",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var numOfEntries = e.feed.entry.length;
- var postOuter = $(".post-outer");
- var postOuterLength = postOuter.length;
- var len = postOuterLength;
- var numOfPages = Math.ceil(numOfEntries / postOuterLength);
- if (numOfPages !== 1) {
- var entryWanted = e.feed.entry[postOuterLength - 1];
- var pd = entryWanted.published.$t.replace(/\.\d*/, "");
- var code = '<span class="pagination-item active-page">1</span><a class="pagination-item" href="/search?updated-max=' + pd + '&max-results=' + len + '">2</a>';
- var next = '<a class="pagination-cont" href="/search?updated-max=' + pd + '&max-results=' + len + '">next</a>';
- var div = '<div class="pagination">';
- for (var i = 0; i < numOfPages - 2; i++) {
- postOuterLength = postOuterLength + len;
- entryWanted = e.feed.entry[postOuterLength - 1];
- pd = entryWanted.published.$t.replace(/\.\d*/, "");
- if (i !== (numOfPages - 3)) {
- code = code + '<a class="pagination-item" href="/search?updated-max=' + pd + '&max-results=' + len + '">' + (i + 3) + '</a>'
- } else {
- code = code + '<a class="pagination-item" href="/search?updated-max=' + pd + '&max-results=' + len + '">' + (i + 3) + '</a></div>'
- }
- }
- $(".Blog").append(div + code)
- }
- var p = $(".pagination");
- p.append(next);
- var pages = $(".pagination-item");
- if (pages.length >= 12) {
- var thirdPage = $(".pagination-item").eq(2);
- var dots = "<span id='pDots'>... </span>";
- pages.addClass("hide");
- thirdPage.after(dots);
- for (var i = 0; i < 3; i++) {
- pages.eq(i).removeClass("hide")
- }
- pages.eq(length - 2).removeClass("hide");
- pages.eq(length - 1).removeClass("hide")
- }
- },
- error: function () {
- $("#blog-pager").removeClass("hide")
- }
- })
- }
- //]]>
- </script><!-- Homepage Pagination -->
- </b:if>
- <b:if cond='data:blog.pageType == "index" and data:blog.url != data:blog.homepageUrl'>
- <script>
- //<![CDATA[
- if (showPagination) {
- $("#blog-pager").addClass("hide");
- var label = $(".status-msg-body").children("b").text().trim();
- if (label.length) {
- $.ajax({
- url: "/feeds/posts/default/-/" + label + "?alt=json-in-script&max-results=10000",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var url = location.href;
- var h = url.match(/max-results=\d*/);
- var maxResults = h[0].replace("max-results=", "") * 1;
- var len = maxResults * 1;
- var numOfEntries = e.feed.entry.length;
- var numOfPages = Math.ceil(numOfEntries / maxResults);
- var a = url.match(/updated-max=[^a-z][^\&]*/);
- if (a !== null) {
- var s = a[0].replace("updated-max=", "");
- s = s.replace(/\.\d*/, "")
- }
- if (numOfPages !== 1) {
- var entryWanted = e.feed.entry[maxResults - 1];
- var pd = entryWanted.published.$t.replace(/\.\d*/, "");
- if (a === null) {
- var code = '<span class="pagination-item active-page">1</span><a href="/search/label/' + label + '?updated-max=' + pd + '&max-results=' + len + '" class="pagination-item">2</a>'
- } else {
- if (s === pd) {
- var code = '<a href="/search/label/' + label + '?&max-results=' + len + '" class="pagination-item">1</a><span class="pagination-item active-page">2</span>'
- } else {
- var code = '<a class="pagination-item" href="/search/label/' + label + '?&max-results=' + len + '">1</a><a href="/search/label/' + label + '?updated-max=' + pd + '&max-results=' + len + '" class="pagination-item">2</a>'
- }
- }
- var div = '<div class="pagination">';
- if (numOfPages !== 2) {
- for (var i = 0; i < numOfPages - 2; i++) {
- maxResults = maxResults + len;
- entryWanted = e.feed.entry[maxResults - 1];
- pd = entryWanted.published.$t.replace(/\.\d*/, "");
- if (i !== (numOfPages - 3)) {
- if (s === pd) {
- code = code + '<span class="pagination-item active-page">' + (i + 3) + '</span>'
- } else {
- code = code + '<a class="pagination-item" href="/search/label/' + label + '?updated-max=' + pd + '&max-results=' + len + '">' + (i + 3) + '</a>'
- }
- } else {
- if (s === pd) {
- code = code + '<span class="pagination-item active-page">' + (i + 3) + '</span></div>'
- } else {
- code = code + '<a class="pagination-item" href="/search/label/' + label + '?updated-max=' + pd + '&max-results=' + len + '">' + (i + 3) + '</a></div>'
- }
- }
- }
- }
- $(".Blog").append(div + code)
- }
- var p = $(".pagination");
- var pitems = $(".pagination-item");
- var activeElem = $(".active-page");
- var lp = pitems.eq(pitems.length - 1);
- var next = activeElem.next().attr("href");
- var prev = activeElem.prev().attr("href");
- var prevElem = "<a class='pagination-cont' href='" + prev + "'>prev</a>";
- var nextElem = "<a class='pagination-cont' href='" + next + "'>next</a>";
- if (a !== null) {
- p.prepend(prevElem);
- if (!(lp.hasClass("active-page"))) {
- p.append(nextElem)
- }
- } else {
- p.append(nextElem)
- }
- var numOfPages = pitems.length;
- if (numOfPages >= 12) {
- var index = pitems.index(activeElem);
- var dots = "<span id='pDots'>... </span>";
- if (index < 4) {
- var fourthPage = $(".pagination-item").eq(3);
- pitems.addClass("hide");
- for (var i = 0; i < 4; i++) {
- pitems.eq(i).removeClass("hide")
- }
- if (index === 3) {
- pitems.eq(4).removeClass("hide");
- pitems.eq(5).removeClass("hide").after(dots)
- } else {
- fourthPage.after(dots)
- }
- pitems.eq(numOfPages - 1).removeClass("hide")
- } else {
- pitems.eq(0).after(dots);
- if (index < numOfPages - 5) {
- pitems.eq(index + 2).after(dots);
- pitems.addClass("hide");
- pitems.eq(0).removeClass("hide");
- pitems.eq(index).removeClass("hide");
- pitems.eq(index + 1).removeClass("hide");
- pitems.eq(index + 2).removeClass("hide");
- pitems.eq(index - 1).removeClass("hide");
- pitems.eq(index - 2).removeClass("hide");
- pitems.eq(numOfPages - 1).removeClass("hide")
- } else {
- for (var i = 0; i < index - 2; i++) {
- pitems.eq(i).addClass("hide")
- }
- pitems.eq(0).removeClass("hide")
- }
- }
- }
- },
- error: function () {
- $("#blog-pager").removeClass("hide")
- }
- })
- } else {
- $.ajax({
- url: "/feeds/posts/default?alt=json-in-script&max-results=10000",
- type: "get",
- dataType: "jsonp",
- success: function (e) {
- var url = location.href;
- var h = url.match(/max-results=\d*/);
- var maxResults = h[0].replace("max-results=", "") * 1;
- var len = maxResults * 1;
- var numOfEntries = e.feed.entry.length;
- var numOfPages = Math.ceil(numOfEntries / maxResults);
- var a = url.match(/updated-max=[^a-z][^\&]*/);
- var s = a[0].replace("updated-max=", "");
- s = s.replace(/\.\d*/, "");
- if (numOfPages !== 1) {
- var entryWanted = e.feed.entry[maxResults - 1];
- var pd = entryWanted.published.$t.replace(/\.\d*/, "");
- if (s === pd) {
- var code = '<a href="/" class="pagination-item">1</a><span class="pagination-item active-page">2</span>'
- } else {
- var code = '<a href="/" class="pagination-item">1</a><a class="pagination-item" href="/search?updated-max=' + pd + '&max-results=' + len + '">2</a>'
- }
- var div = '<div class="pagination">';
- if (numOfPages !== 2) {
- for (var i = 0; i < numOfPages - 2; i++) {
- maxResults = maxResults + len;
- entryWanted = e.feed.entry[maxResults - 1];
- pd = entryWanted.published.$t.replace(/\.\d*/, "");
- if (i !== (numOfPages - 3)) {
- if (s === pd) {
- code = code + '<span class="pagination-item active-page">' + (i + 3) + '</span>'
- } else {
- code = code + '<a class="pagination-item" href="/search?updated-max=' + pd + '&max-results=' + len + '">' + (i + 3) + '</a>'
- }
- } else {
- if (s === pd) {
- code = code + '<span class="pagination-item active-page">' + (i + 3) + '</span></div>'
- } else {
- code = code + '<a class="pagination-item" href="/search?updated-max=' + pd + '&max-results=' + len + '">' + (i + 3) + '</a></div>'
- }
- }
- }
- }
- $(".Blog").append(div + code)
- }
- var p = $(".pagination");
- var pitems = $(".pagination-item");
- var activeElem = $(".active-page");
- var lp = pitems.eq(pitems.length - 1);
- var next = activeElem.next().attr("href");
- var prev = activeElem.prev().attr("href");
- var prevElem = "<a class='pagination-cont' href='" + prev + "'>prev</a>";
- var nextElem = "<a class='pagination-cont' href='" + next + "'>next</a>";
- p.prepend(prevElem);
- if (!(lp.hasClass("active-page"))) {
- p.append(nextElem)
- }
- var numOfPages = pitems.length;
- if (numOfPages >= 12) {
- var index = pitems.index(activeElem);
- var dots = "<span id='pDots'>... </span>";
- if (index < 4) {
- var fourthPage = $(".pagination-item").eq(3);
- pitems.addClass("hide");
- for (var i = 0; i < 4; i++) {
- pitems.eq(i).removeClass("hide")
- }
- if (index === 3) {
- pitems.eq(4).removeClass("hide");
- pitems.eq(5).removeClass("hide").after(dots)
- } else {
- fourthPage.after(dots)
- }
- pitems.eq(numOfPages - 1).removeClass("hide")
- } else {
- pitems.eq(0).after(dots);
- if (index < numOfPages - 5) {
- pitems.eq(index + 2).after(dots);
- pitems.addClass("hide");
- pitems.eq(0).removeClass("hide");
- pitems.eq(index).removeClass("hide");
- pitems.eq(index + 1).removeClass("hide");
- pitems.eq(index + 2).removeClass("hide");
- pitems.eq(index - 1).removeClass("hide");
- pitems.eq(index - 2).removeClass("hide");
- pitems.eq(numOfPages - 1).removeClass("hide")
- } else {
- for (var i = 0; i < index - 2; i++) {
- pitems.eq(i).addClass("hide")
- }
- pitems.eq(0).removeClass("hide")
- }
- }
- }
- },
- error: function () {
- $("#blog-pager").removeClass("hide")
- }
- })
- }
- }
- //]]>
- </script><!-- Index Pages Pagination -->
- </b:if>
- <b:if cond='data:blog.pageType == "item"'>
- <script>
- // <![CDATA[
- /* Related Posts
- -----------------------------------------------------------*/
- var labels = $(".post-label-anchor"),
- labelsLength = labels.length,
- relatedPostsUL = $("#related-posts").children("ul");
- if(labelsLength) {
- var labelText;
- if(labelsLength === 1) {
- labelText = labels.text().trim();
- $.ajax({
- url: "/feeds/posts/default/-/"+ labelText +"?alt=json-in-script&max-results=100",
- type: 'get',
- dataType: "jsonp",
- success: function (data) {
- var posturl = "";
- var htmlcode = '';
- var numOfEntries = data.feed.entry.length;
- var numOfPostsToBeDisplayed;
- if(numOfEntries < 3) {
- numOfPostsToBeDisplayed = numOfEntries;
- } else {
- numOfPostsToBeDisplayed = 3;
- }
- var randomNumber;
- if(numOfEntries >= 4) {
- randomNumber = [];
- for(var a = 0; a < numOfEntries; a++) {
- randomNumber[a] = a;
- }
- }
- var c = 0;
- for (var i = 0; i < numOfPostsToBeDisplayed ; i++) {
- var entry,
- entryToBeChoosen;
- if(numOfEntries > 3){
- entryToBeChoosen = randomNumber.splice(Math.floor(Math.random() * (numOfEntries - c)), 1);
- entry = data.feed.entry[entryToBeChoosen];
- c += 1;
- } else {
- entry = data.feed.entry[i];
- }
- var posttitle = entry.title.$t;
- var entryTitle = $(".entry-title").text().toLowerCase().trim();
- if(numOfEntries > 3 && entryTitle === posttitle.toLowerCase()) {
- entryToBeChoosen = randomNumber.splice(Math.floor(Math.random() * (numOfEntries - c - 1)), 1);
- entry = data.feed.entry[entryToBeChoosen];
- posttitle = entry.title.$t;
- c += 2;
- }
- if((numOfEntries === 3 || numOfEntries === 2 ) && entryTitle === posttitle.toLowerCase()) {
- i += 1;
- entry = data.feed.entry[i];
- posttitle = entry.title.$t;
- }
- for (var j = 0; j < entry.link.length; j++) {
- if (entry.link[j].rel == "alternate") {
- posturl = entry.link[j].href;
- break
- }
- }
- var content = entry.content.$t;
- var $content = $('<div>').html(content);
- if (content.indexOf("http://www.youtube.com/embed/") > -1 || content.indexOf("https://www.youtube.com/embed/") > -1) {
- var src2 = entry.media$thumbnail.url;
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + src2 + ') no-repeat center center;background-size: cover"/>';
- } else if (content.indexOf("<img") > -1) {
- var src = $content.find('img:first').attr('src');
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + src + ') no-repeat center center;background-size: cover"/>';
- } else {
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + no_image_url + ') no-repeat center center;background-size: cover"/>';
- }
- htmlcode = '<li class="related-post-item clearfix"><div class="related-thumb">' + thumb + '</div><h3 class="related-post-title"><a href="' + posturl + '">' + posttitle + '</a></h3></li>';
- relatedPostsUL.append(htmlcode);
- }
- $('.related-post-img').each(function () {
- $(this).attr('style', function (i, src) {
- return src.replace('/default.jpg', '/mqdefault.jpg')
- }).attr('style', function (i, src) {
- return src.replace('s72-c', 's1600')
- })
- });
- }
- });
- } else if(labelsLength === 2) {
- var theFirstLabel = labels.eq(0).text().trim();
- var theLastLabel = labels.eq(1).text().trim();
- $.ajax({
- url: "/feeds/posts/default/-/" + theFirstLabel + "?alt=json-in-script&max-results=100",
- type: 'get',
- dataType: "jsonp",
- success: function (data) {
- if(data.feed.entry.length < 3) {
- $.ajax({
- url: "/feeds/posts/default/-/" + theLastLabel + "?alt=json-in-script&max-results=100",
- type: 'get',
- dataType: "jsonp",
- success: function (data) {
- var posturl = "";
- var htmlcode = '';
- var numOfEntries = data.feed.entry.length;
- var numOfPostsToBeDisplayed;
- if(numOfEntries < 3) {
- numOfPostsToBeDisplayed = numOfEntries;
- } else {
- numOfPostsToBeDisplayed = 3;
- }
- var randomNumber;
- if(numOfEntries >= 4) {
- randomNumber = [];
- for(var a = 0; a < numOfEntries; a++) {
- randomNumber[a] = a;
- }
- }
- var c = 0;
- for (var i = 0; i < numOfPostsToBeDisplayed ; i++) {
- var entry,
- entryToBeChoosen;
- if(numOfEntries > 3){
- entryToBeChoosen = randomNumber.splice(Math.floor(Math.random() * (numOfEntries - c)), 1);
- entry = data.feed.entry[entryToBeChoosen];
- c += 1;
- } else {
- entry = data.feed.entry[i];
- }
- var posttitle = entry.title.$t;
- var entryTitle = $(".entry-title").text().toLowerCase().trim();
- if(numOfEntries > 3 && entryTitle === posttitle.toLowerCase()) {
- entryToBeChoosen = randomNumber.splice(Math.floor(Math.random() * (numOfEntries - c - 1)), 1);
- entry = data.feed.entry[entryToBeChoosen];
- posttitle = entry.title.$t;
- c += 2;
- }
- if((numOfEntries === 3 || numOfEntries === 2 ) && entryTitle === posttitle.toLowerCase()) {
- i += 1;
- entry = data.feed.entry[i];
- posttitle = entry.title.$t;
- }
- for (var j = 0; j < entry.link.length; j++) {
- if (entry.link[j].rel == "alternate") {
- posturl = entry.link[j].href;
- break
- }
- }
- var content = entry.content.$t;
- var $content = $('<div>').html(content);
- if (content.indexOf("http://www.youtube.com/embed/") > -1 || content.indexOf("https://www.youtube.com/embed/") > -1) {
- var src2 = entry.media$thumbnail.url;
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + src2 + ') no-repeat center center;background-size: cover"/>';
- } else if (content.indexOf("<img") > -1) {
- var src = $content.find('img:first').attr('src');
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + src + ') no-repeat center center;background-size: cover"/>';
- } else {
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + no_image_url + ') no-repeat center center;background-size: cover"/>';
- }
- htmlcode = '<li class="related-post-item clearfix"><div class="related-thumb">' + thumb + '</div><h3 class="related-post-title"><a href="' + posturl + '">' + posttitle + '</a></h3></li>';
- relatedPostsUL.append(htmlcode);
- }
- $('.related-post-img').each(function () {
- $(this).attr('style', function (i, src) {
- return src.replace('/default.jpg', '/mqdefault.jpg')
- }).attr('style', function (i, src) {
- return src.replace('s72-c', 's1600')
- })
- });
- }
- });
- } else {
- var posturl = "";
- var htmlcode = '';
- var numOfEntries = data.feed.entry.length;
- var numOfPostsToBeDisplayed;
- if(numOfEntries < 3) {
- numOfPostsToBeDisplayed = numOfEntries;
- } else {
- numOfPostsToBeDisplayed = 3;
- }
- var randomNumber;
- if(numOfEntries >= 4) {
- randomNumber = [];
- for(var a = 0; a < numOfEntries; a++) {
- randomNumber[a] = a;
- }
- }
- var c = 0;
- for (var i = 0; i < numOfPostsToBeDisplayed ; i++) {
- var entry,
- entryToBeChoosen;
- if(numOfEntries > 3){
- entryToBeChoosen = randomNumber.splice(Math.floor(Math.random() * (numOfEntries - c)), 1);
- entry = data.feed.entry[entryToBeChoosen];
- c += 1;
- } else {
- entry = data.feed.entry[i];
- }
- var posttitle = entry.title.$t;
- var entryTitle = $(".entry-title").text().toLowerCase().trim();
- if(numOfEntries > 3 && entryTitle === posttitle.toLowerCase()) {
- entryToBeChoosen = randomNumber.splice(Math.floor(Math.random() * (numOfEntries - c - 1)), 1);
- entry = data.feed.entry[entryToBeChoosen];
- posttitle = entry.title.$t;
- c += 2;
- }
- if((numOfEntries === 3 || numOfEntries === 2 ) && entryTitle === posttitle.toLowerCase()) {
- i += 1;
- entry = data.feed.entry[i];
- posttitle = entry.title.$t;
- }
- for (var j = 0; j < entry.link.length; j++) {
- if (entry.link[j].rel == "alternate") {
- posturl = entry.link[j].href;
- break
- }
- }
- var content = entry.content.$t;
- var $content = $('<div>').html(content);
- if (content.indexOf("http://www.youtube.com/embed/") > -1 || content.indexOf("https://www.youtube.com/embed/") > -1) {
- var src2 = entry.media$thumbnail.url;
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + src2 + ') no-repeat center center;background-size: cover"/>';
- } else if (content.indexOf("<img") > -1) {
- var src = $content.find('img:first').attr('src');
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + src + ') no-repeat center center;background-size: cover"/>';
- } else {
- var thumb = '<a class="related-post-img" href="' + posturl + '" style="background:url(' + no_image_url + ') no-repeat center center;background-size: cover"/>';
- }
- htmlcode = '<li class="related-post-item clearfix"><div class="related-thumb">' + thumb + '</div><h3 class="related-post-title"><a href="' + posturl + '">' + posttitle + '</a></h3></li>';
- relatedPostsUL.append(htmlcode);
- }
- $('.related-post-img').each(function () {
- $(this).attr('style', function (i, src) {
- return src.replace('/default.jpg', '/mqdefault.jpg')
- }).attr('style', function (i, src) {
- return src.replace('s72-c', 's1600')
- })
- });
- } // else if (data.feed.entry.length >= 2)
- } // theFirstLabel success function
- }); // theFirstLabel ajax request
- } else if (labelsLength >= 3) {
- var label1 = labels.eq(0).text().trim(),
- label2 = labels.eq(1).text().trim(),
- label3 = labels.eq(2).text().trim();
- $.ajax({
- url: "/feeds/posts/default/-/"+ label1 +"?alt=json-in-script&max-results=100",
- type: 'get',
- dataType: "jsonp",
- success: function (data) {
- var entry,
- posturl = "",
- entryToBeChoosen,
- numOfEntries = data.feed.entry.length;
- if (numOfEntries > 1) {
- entryToBeChoosen = Math.floor(Math.random() * numOfEntries);
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- var posttitle = entry.title.$t;
- var entryTitle = $(".entry-title").text().toLowerCase().trim();
- if(numOfEntries > 1 && entryTitle === posttitle.toLowerCase()) {
- if(entryToBeChoosen === 0) {
- entryToBeChoosen = Math.floor((Math.random() * (numOfEntries-1) + 1));
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- posttitle = entry.title.$t;
- }
- for (var j = 0; j < entry.link.length; j++) {
- if (entry.link[j].rel == "alternate") {
- posturl = entry.link[j].href;
- break
- }
- }
- var content = entry.content.$t;
- var $content = $('<div>').html(content);
- if (content.indexOf("http://www.youtube.com/embed/") > -1 || content.indexOf("https://www.youtube.com/embed/") > -1) {
- var src2 = entry.media$thumbnail.url;
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ src2 +') no-repeat center center;background-size: cover"/>'
- } else if (content.indexOf("<img") > -1) {
- var src = $content.find('img:first').attr('src');
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ src +') no-repeat center center;background-size: cover"/>'
- } else {
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ no_image_url +') no-repeat center center;background-size: cover"/>'
- }
- var htmlcode = '<li class="related-post-item clearfix"><div class="related-thumb">'+ thumb +'</div><h3 class="related-post-title"><a href="'+ posturl +'">'+ posttitle +'</a></h3></li>'
- $('.related-post-img').each(function () {
- $(this).attr('style', function (i, src) {
- return src.replace('/default.jpg', '/mqdefault.jpg')
- }).attr('style', function (i, src) {
- return src.replace('s72-c', 's1600')
- })
- });
- relatedPostsUL.append(htmlcode);
- $.ajax({
- url: "/feeds/posts/default/-/"+ label2 +"?alt=json-in-script&max-results=100",
- type: 'get',
- dataType: "jsonp",
- success: function (data) {
- var entry,
- posturl = "",
- entryToBeChoosen,
- numOfEntries = data.feed.entry.length;
- if (numOfEntries > 1) {
- entryToBeChoosen = Math.floor(Math.random() * numOfEntries);
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- var posttitle = entry.title.$t;
- var entryTitle = $(".entry-title").text().toLowerCase().trim();
- var prevEntryTitle = $(".related-post-title").eq(0).text().toLowerCase().trim();
- var postT = posttitle.toLowerCase();
- if(numOfEntries > 1 && entryTitle === postT) {
- if(entryToBeChoosen === 0) {
- entryToBeChoosen = Math.floor((Math.random() * (numOfEntries-1) + 1));
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- posttitle = entry.title.$t;
- }
- if(numOfEntries > 2 && (prevEntryTitle === postT && entryTitle !== postT) ){
- if(entryToBeChoosen === 0) {
- entryToBeChoosen = Math.floor((Math.random() * (numOfEntries-1) + 1));
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- posttitle = entry.title.$t;
- }
- for (var j = 0; j < entry.link.length; j++) {
- if (entry.link[j].rel == "alternate") {
- posturl = entry.link[j].href;
- break
- }
- }
- var content = entry.content.$t;
- var $content = $('<div>').html(content);
- if (content.indexOf("http://www.youtube.com/embed/") > -1 || content.indexOf("https://www.youtube.com/embed/") > -1) {
- var src2 = entry.media$thumbnail.url;
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ src2 +') no-repeat center center;background-size: cover"/>'
- } else if (content.indexOf("<img") > -1) {
- var src = $content.find('img:first').attr('src');
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ src +') no-repeat center center;background-size: cover"/>'
- } else {
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ no_image_url +') no-repeat center center;background-size: cover"/>'
- }
- var htmlcode = '<li class="related-post-item clearfix"><div class="related-thumb">'+ thumb +'</div><h3 class="related-post-title"><a href="'+ posturl +'">'+ posttitle +'</a></h3></li>'
- $('.related-post-img').each(function () {
- $(this).attr('style', function (i, src) {
- return src.replace('/default.jpg', '/mqdefault.jpg')
- }).attr('style', function (i, src) {
- return src.replace('s72-c', 's1600')
- })
- });
- relatedPostsUL.append(htmlcode);
- $.ajax({
- url: "/feeds/posts/default/-/"+ label3 +"?alt=json-in-script&max-results=100",
- type: 'get',
- dataType: "jsonp",
- success: function (data) {
- var entry,
- posturl = "",
- entryToBeChoosen,
- numOfEntries = data.feed.entry.length;
- if (numOfEntries > 1) {
- entryToBeChoosen = Math.floor(Math.random() * numOfEntries);
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- var posttitle = entry.title.$t;
- var entryTitle = $(".entry-title").text().toLowerCase().trim();
- var prevEntryTitle1 = $(".related-post-title").eq(0).text().toLowerCase().trim();
- var prevEntryTitle2 = $(".related-post-title").eq(1).text().toLowerCase().trim();
- var postT = posttitle.toLowerCase();
- if(numOfEntries > 1 && (entryTitle === postT)) {
- if(entryToBeChoosen === 0) {
- entryToBeChoosen = Math.floor((Math.random() * (numOfEntries-1) + 1));
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- posttitle = entry.title.$t;
- }
- if(numOfEntries > 2 && ((entryTitle !== postT) && (prevEntryTitle1 === postT || prevEntryTitle2 === postT))) {
- if(entryToBeChoosen === 0) {
- entryToBeChoosen = Math.floor((Math.random() * (numOfEntries-1) + 1));
- entry = data.feed.entry[entryToBeChoosen];
- } else {
- entry = data.feed.entry[0];
- }
- posttitle = entry.title.$t;
- }
- for (var j = 0; j < entry.link.length; j++) {
- if (entry.link[j].rel == "alternate") {
- posturl = entry.link[j].href;
- break
- }
- }
- var content = entry.content.$t;
- var $content = $('<div>').html(content);
- if (content.indexOf("http://www.youtube.com/embed/") > -1 || content.indexOf("https://www.youtube.com/embed/") > -1) {
- var src2 = entry.media$thumbnail.url;
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ src2 +') no-repeat center center;background-size: cover"/>'
- } else if (content.indexOf("<img") > -1) {
- var src = $content.find('img:first').attr('src');
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ src +') no-repeat center center;background-size: cover"/>'
- } else {
- var thumb = '<a class="related-post-img" href="'+ posturl +'" style="background:url('+ no_image_url +') no-repeat center center;background-size: cover"/>'
- }
- var htmlcode = '<li class="related-post-item clearfix"><div class="related-thumb">'+ thumb +'</div><h3 class="related-post-title"><a href="'+ posturl +'">'+ posttitle +'</a></h3></li>'
- $('.related-post-img').each(function () {
- $(this).attr('style', function (i, src) {
- return src.replace('/default.jpg', '/mqdefault.jpg')
- }).attr('style', function (i, src) {
- return src.replace('s72-c', 's1600')
- })
- });
- relatedPostsUL.append(htmlcode);
- }
- }); // The third ajax request
- }
- }); // The second ajax request
- }
- }); // The first ajax request
- } // else if (labelsLength >= 3)
- } // if(labelsLength)
- /***** Related posts functionality ******/
- $(function(){
- var windowWidth = $(window).width();
- if(windowWidth >= 800) {
- var a = $(".post-labels");
- var s = $("#related-posts");
- var c = $("#close-btn");
- $(document).on("scroll", function(){
- var scrollTop = $(window).scrollTop(),
- elementOffset = a.offset().top,
- distance = elementOffset - scrollTop;
- if(distance <= 850){
- s.addClass("slide-left");
- } else {
- s.removeClass("slide-left");
- }
- });
- c.on("click", function(){
- s.removeClass("slide-left");
- $(document).off();
- });
- }
- });
- //]]>
- </script>
- </b:if>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement