Second pass at adding key files
This commit is contained in:
48
site/articles/local/category.html
Normal file
48
site/articles/local/category.html
Normal file
@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><%site_title%></title>
|
||||
<%include include_common_head.html%>
|
||||
</head>
|
||||
<body id="home">
|
||||
<%~if ad_wallpaper%>
|
||||
<%ad_wallpaper%>
|
||||
<%~endif%>
|
||||
<div class="container">
|
||||
<%include include_header.html%>
|
||||
|
||||
<div class="main">
|
||||
<div class="contentwrapper clearfix">
|
||||
<%include include_breadcrumb.html%>
|
||||
<%~if not links_loop.length%>
|
||||
<section class="section category-list section-has-widgets section-reverse">
|
||||
<div class="sidebar-b">
|
||||
<%~set widgets_loop = Plugins::UI::fetch_widgets('category', $ID)%>
|
||||
<%~set widget_end = $widgets_loop.length%>
|
||||
<%include include_widgets.html%>
|
||||
</div>
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
|
||||
<!-- latest articles -->
|
||||
<div class="clearfix">
|
||||
<h1><%Name%></h1>
|
||||
<%~loop category_loop%>
|
||||
<%include include_category.html%>
|
||||
<%~endloop%>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- end content -->
|
||||
</section><!-- end section -->
|
||||
<%~else%>
|
||||
<%include subcategory.html%>
|
||||
<%~endif%>
|
||||
|
||||
<div class="section-spacer"></div>
|
||||
|
||||
</div><!-- End contentwrapper -->
|
||||
</div>
|
||||
<%include include_footer.html%>
|
||||
</div>
|
||||
</body>
|
||||
<%~include include_global_js.html%>
|
69
site/articles/local/coaching.html
Normal file
69
site/articles/local/coaching.html
Normal file
@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><%site_title%></title>
|
||||
<%include include_common_head.html%>
|
||||
</head>
|
||||
<body id="home">
|
||||
<%~if ad_wallpaper%>
|
||||
<%ad_wallpaper%>
|
||||
<%~endif%>
|
||||
|
||||
<div class="container">
|
||||
<%include include_header.html%>
|
||||
|
||||
<div class="main">
|
||||
<div class="contentwrapper clearfix">
|
||||
<%~set title_loop = Links::Build::build('title', 'Slowtwitch Coaching')%>
|
||||
<%include include_breadcrumb.html%>
|
||||
|
||||
<section class="section section-has-widgets section-reverse">
|
||||
<div class="sidebar-b">
|
||||
<%~Plugins::UI::fetch_widget(27)%>
|
||||
<div class="widget-spacer"></div>
|
||||
<%include _widget_manual.html%>
|
||||
|
||||
<div class="widget-spacer"></div>
|
||||
|
||||
<div class="advert hide-on-mobile">
|
||||
|
||||
<%~set adsize = '300x600'%>
|
||||
<%include include_ad.html%>
|
||||
|
||||
</div>
|
||||
<div class="widget-spacer"></div>
|
||||
<%~set Title = 'Local Listing'%>
|
||||
<%~set Widget = 'local_listings'%>
|
||||
<%include _widget_automated.html%>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
<div class="col-1-1">
|
||||
<h1>Slowtwitch Coaching</h1>
|
||||
<img src="<%static_url%>/images/coaching.jpg" class="center img-responsive">
|
||||
<p>Slowtwitch Coaching Certification Clinics are designed for the multisport or individual sport coach looking to take his or her knowledge and coaching business to the next level. By combining interactive discussions and presentations with actual hands-on coaching instruction, the Slowtwitch Coaching Certification Clinics go beyond the traditional classroom setting to provide coaches with real, practical training that directly translates to their coaching careers.</p>
|
||||
<p>Slowtwitch currently offers the following coaching certifications:</p>
|
||||
<ul>
|
||||
<li><a href="<%config.build_root_url%>/coaching/Swim Coaching Certification.pdf">Certified Triathlon Swim Coach</a></li>
|
||||
<li><a href="<%config.build_root_url%>/coaching/Cycling Power Certification.pdf">Certified Cycling Power Coach</a></li>
|
||||
<li><a href="<%config.build_root_url%>/coaching/Cycling Coaching Certification.pdf">Certified Triathlon Cycling Coach</a></li>
|
||||
<li><a href="<%config.build_root_url%>/coaching/Run Coaching Certification.pdf">Certified Triathlon Run Coach</a></li>
|
||||
</ul>
|
||||
<p>Click on the links above to learn more about each clinic and see a sample schedule with descriptions of each session.
|
||||
<p>You can find a list of Slowtwitch Certified Coaches <a href="<%config.build_root_url%>/coaching/Database Listing.pdf">here</a>.
|
||||
</div><!-- end col-2/3 -->
|
||||
|
||||
</div><!-- end grid -->
|
||||
<div class="section-divider mobile"></div>
|
||||
</div><!-- end content -->
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<%include include_footer.html%>
|
||||
</div>
|
||||
</body>
|
||||
<%~include include_global_js.html%>
|
||||
</html>
|
238
site/articles/local/detailed.html
Normal file
238
site/articles/local/detailed.html
Normal file
@ -0,0 +1,238 @@
|
||||
<%~set detailed_url = get_detailed_url($ID)%>
|
||||
<%~Links::Utils::load_reviews($ID, $detailed_max_reviews)~%>
|
||||
<%~Plugins::SlideShow::generate_paths($ID)%>
|
||||
<%~convert_nl_br%>
|
||||
<%old_detailed_url($detailed_url)%>
|
||||
<!DOCTYPE html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><%Title%> - <%site_title_short%></title>
|
||||
<%--Facebook Meta Tags--%>
|
||||
<meta name="title" content="<%escape_html Title%>" />
|
||||
<meta name="description" content="<%escape_html Description%>" />
|
||||
<meta property="og:title" content="<%escape_html Title%>"/>
|
||||
<meta name="og:description" content="<%escape_html Description%>" />
|
||||
<meta property="og:site_name" content="<%site_title_short%>"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:url" content="<%detailed_url%>/<%http_detailed_url%>"/>
|
||||
<meta property="fb:app_id" content="193269620735521"/>
|
||||
<%--Twitter Meta Tags--%>
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="@slowtwitch " />
|
||||
<meta name="twitter:creator" content="@slowtwitch" />
|
||||
<meta name="twitter:title" content="<%escape_html Title%>" />
|
||||
<meta name="twitter:description" content="<%escape_html Description%>" />
|
||||
<%~if Image1_thumbnail_path%>
|
||||
<link rel="image_src" href="<%escape_html Image1_largest_path%>" / >
|
||||
<meta property="og:image" content="https://slowtwitch.com<%escape_html Image1_largest_path%>"/>
|
||||
<meta name="twitter:image" content="https://slowtwitch.com<%escape_html Image1_largest_path%>" />
|
||||
<%~elsif Thumbnail_URL and Thumbnail_URL ne 'http://' %>
|
||||
<link rel="image_src" href="<%Thumbnail_URL%>" / >
|
||||
<meta property="og:image" content="<%Thumbnail_URL%>"/>
|
||||
<meta name="twitter:image" content="<%Thumbnail_URL%>" />
|
||||
<%else%>
|
||||
<%~Plugins::ConvertVideo::get_file_path($ID, "thumbnail_file_field") %>
|
||||
<%~if thumbnail_file_field_path%>
|
||||
<link rel="image_src" href="<%thumbnail_file_field_path%>" / >
|
||||
<meta property="og:image" content="<%thumbnail_file_field_path%>"/>
|
||||
<meta name="twitter:image" content="<%thumbnail_file_field_path%>" />
|
||||
<%~endif%>
|
||||
<%~endif%>
|
||||
<%~include include_common_head.html%>
|
||||
</head>
|
||||
<body id="detailed">
|
||||
<%~if ad_wallpaper%>
|
||||
<%ad_wallpaper%>
|
||||
<%~endif%>
|
||||
|
||||
<div class="container">
|
||||
<%include include_header.html%>
|
||||
|
||||
<div class="main">
|
||||
<div class="contentwrapper clearfix">
|
||||
<%include include_breadcrumb.html%>
|
||||
|
||||
<section class="section article section-has-widgets section-reverse clearfix">
|
||||
<div class="sidebar-b">
|
||||
<%~set adsize = '300x250'%>
|
||||
<%include include_ad.html%>
|
||||
<div class="widget-spacer"></div>
|
||||
<%~set widgets_loop = Plugins::UI::fetch_widgets('article')%>
|
||||
<%~set widget_start = 1%><%set widget_end = 2%>
|
||||
<%include include_widgets.html%>
|
||||
<div class="widget-divider"></div>
|
||||
|
||||
<style>
|
||||
#stickThis {
|
||||
width: 300px;
|
||||
text-align: center; }
|
||||
#stickThis.box {
|
||||
margin-top: 0;
|
||||
position: fixed;
|
||||
z-index: 9999; }
|
||||
</style>
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
||||
<div id="stickHere"></div>
|
||||
<div id="stickThis">
|
||||
<div id="poll_widget" data="<%Forum%>"></div>
|
||||
<div class="widget-spacer"></div>
|
||||
<%~set adsize = '300x600'%>
|
||||
<%include include_ad.html%>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function boxtothetop() {
|
||||
var windowTop = $(window).scrollTop();
|
||||
var top = $('#stickHere').offset().top;
|
||||
var bottom = $('#stickHere').offset().top + $('#stickThis').outerHeight(true);
|
||||
var mainBottom = $('.footer').offset().top - 10;
|
||||
var toolbarBottom = $('#article-bottom.section-divider').offset().top + $('#article-bottom.section-divider').outerHeight() - 20;
|
||||
if ( $('#related_three').length ) {
|
||||
toolbarBottom = $('#related_three.highlight.col-4-12').offset().top - 20;
|
||||
}
|
||||
// console.log( { windowTop, top, bottom , mainBottom, toolbarBottom } );
|
||||
if ( windowTop > top && bottom < toolbarBottom ) {
|
||||
$('#stickThis').addClass('box');
|
||||
$('#stickHere').height($('#stickThis').outerHeight());
|
||||
if ( windowTop + ( bottom - top ) < toolbarBottom ) {
|
||||
$('#stickThis').css({"top": 0});
|
||||
} else {
|
||||
var gap = -1 * ( bottom - top ) + ( toolbarBottom - windowTop );
|
||||
//console.log( {gap} );
|
||||
$('#stickThis').css({"top": gap});
|
||||
}
|
||||
} else {
|
||||
$('#stickThis').removeClass('box');
|
||||
$('#stickHere').height(0);
|
||||
}
|
||||
}
|
||||
|
||||
$(function() {
|
||||
$(window).scroll(boxtothetop);
|
||||
boxtothetop();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
<div class="clearfix">
|
||||
<h1><%Title%></h1>
|
||||
<div class="post-meta light-grey grid">
|
||||
|
||||
<%~if Contact_Name%>
|
||||
<i class="icon sprite-slowtwitch"></i>
|
||||
<%~if LinkOwner ine 'admin'%>
|
||||
<span class="author"><a href="<%config.db_cgi_url%>/search.cgi?LinkOwner=<%LinkOwner%>"><%Contact_Name%></a></span>
|
||||
<%~else%>
|
||||
<span class="author"><%Contact_Name%></span>
|
||||
<%~endif%>
|
||||
<%~endif%>
|
||||
<span class="time"><%Add_Date%></span>
|
||||
</div>
|
||||
|
||||
<div class="grid article-content">
|
||||
<div class="col-1-1">
|
||||
<div class="content-divider-top"></div>
|
||||
|
||||
<%~if Link_Type eq 'article'%>
|
||||
<%~include include_detailed_article.html%>
|
||||
<%~elsif Link_Type eq 'photo' %>
|
||||
<%~if slideshow%>
|
||||
<%~include include_detailed_slideshow.html%>
|
||||
<%~elsif is_old_article($Add_Date_orig)%>
|
||||
<%~include include_detailed_old_photo.html%>
|
||||
<%else%>
|
||||
<%~include include_detailed_photo.html%>
|
||||
<%~endif%>
|
||||
<%~else%>
|
||||
<%~include include_detailed_video.html%>
|
||||
<%~endif%>
|
||||
|
||||
<div class="lnkactions">
|
||||
<%~if user.Status eq 'Administrator'%>
|
||||
<a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a>
|
||||
<a href="<%config.db_cgi_url%>/feature.cgi">EDIT FEATURED LINKS</a>
|
||||
<%~endif%>
|
||||
<%if user.Status eq 'Editor' AND user.Status neq 'Administrator'%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">EDIT THIS ARTICLE</a><%endif%>
|
||||
<%if user.Status eq 'Administrator'%><a href="<%config.db_cgi_url%>/user.cgi?do=logout">Log Out</a><%endif%>
|
||||
<%if config.bookmark_enabled%><a href="<%config.db_cgi_url%>/bookmark.cgi?action=link_add;ID=<%ID%>">Bookmark It</a><%endif%>
|
||||
<%if isLinkOwner%><a href="<%config.db_cgi_url%>/modify.cgi?LinkID=<%ID%>">Edit this link</a><%endif%>
|
||||
<%if paymentsEnabled%><a href="<%config.db_cgi_url%>/modify.cgi?do=payment_linked;process_payment=1;modify=1;ID=<%ID%>"><%if isUnpaid or isFree%>New Payment<%else%>Renewal Payment<%endif%></a><%endif%>
|
||||
</div>
|
||||
|
||||
<%include include_share.html%>
|
||||
<%include include_fb_comments.html%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div><!-- end grid -->
|
||||
<div class="section-divider mobile"></div>
|
||||
</div><!-- end content -->
|
||||
</section>
|
||||
|
||||
<section class="section related highlight-list clearfix remove-sidebar section-has-widgets">
|
||||
<div class="content content-has-widgets">
|
||||
<div class ="grid">
|
||||
<%~if RelatedArticles%>
|
||||
<h1>Related Articles</h1>
|
||||
<%~old_related_articles($RelatedArticles, $ID)%>
|
||||
<%~loop related_articles_loop%>
|
||||
<%~if row_num > 3%><%lastloop%><%endif%>
|
||||
<%~rewrite_detail_url%>
|
||||
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
|
||||
<%~if row_num < 3%>
|
||||
<div class="highlight col-4-12">
|
||||
<%~else%>
|
||||
<div class="highlight col-4-12" id="related_three">
|
||||
<%~endif%>
|
||||
<a href="<%detailed_url%>">
|
||||
<%~if thumbnail_url%>
|
||||
<img src="<%thumbnail_url.medium%>" width="193" height="144" class="img-responsive"/>
|
||||
<%~else%>
|
||||
<img src="<%config.build_static_url%>/images/default_193x144.png" width="193" height="144" class="img-responsive"/>
|
||||
<%~endif%>
|
||||
</a>
|
||||
<div class="info">
|
||||
<h3><a href="<%detailed_url%>"><%Title%></a></h3>
|
||||
<div class="post-meta light-grey"><%Add_Date%></div>
|
||||
</div>
|
||||
</div>
|
||||
<%~set has_related_articles = 1%>
|
||||
<%~endloop%>
|
||||
<%~else%>
|
||||
|
||||
<%~loop 1..5%>
|
||||
<%~set related_article = Plugins::UI::retrieve_param('Related_Article', $loop_value)%>
|
||||
<%~if related_article%>
|
||||
<div class="highlight col-4-12">
|
||||
<%related_article%>
|
||||
</div>
|
||||
<%~set has_related_articles = 1%>
|
||||
<%~endif%>
|
||||
<%~endloop%>
|
||||
|
||||
<%~endif%>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="section-divider" id="article-bottom"></div>
|
||||
|
||||
<section class="section advert-large hide-on-mobile">
|
||||
<div class="content content-has-widgets">
|
||||
<%~set adsize = '970x250'%>
|
||||
<%include include_ad.html%>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div><!-- End contentwrapper -->
|
||||
</div>
|
||||
<%include include_footer.html%>
|
||||
</div>
|
||||
</body>
|
||||
<%~include include_global_js.html%>
|
||||
</html>
|
143
site/articles/local/home.html
Normal file
143
site/articles/local/home.html
Normal file
@ -0,0 +1,143 @@
|
||||
<!DOCTYPE html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><%site_title%></title>
|
||||
<%include include_common_head.html%>
|
||||
</head>
|
||||
<body id="home">
|
||||
<%~if ad_wallpaper%>
|
||||
<%ad_wallpaper%>
|
||||
<%~endif%>
|
||||
|
||||
|
||||
<div class="container">
|
||||
<%include include_header.html%>
|
||||
|
||||
<div class="main">
|
||||
<div class="contentwrapper clearfix">
|
||||
|
||||
<%~if $config.featured_articles%><%set featured_articles_loop = Plugins::UI::fetch_links(ids => $config.featured_articles)%><%endif%>
|
||||
<%~if featured_articles_loop.length%>
|
||||
<section class="section featured home">
|
||||
<%loop featured_articles_loop%>
|
||||
<%if row_num > 1%><%lastloop%><%endif%>
|
||||
<%~rewrite_detail_url%>
|
||||
<div class="home-featured grid">
|
||||
<div class="col-1-2">
|
||||
<a href="<%detailed_url%>">
|
||||
<%~if thumbnail_url%>
|
||||
<div class="crop-3"><img src="<%thumbnail_url.large || $thumbnail_url.medium%>" class="img-responsive"></div>
|
||||
<%--
|
||||
srcset="<%thumbnail_url.largest%> 620w, <%thumbnail_url.large%> 900w"
|
||||
class="img-responsive">
|
||||
--%>
|
||||
<%~else%>
|
||||
<img src="<%config.build_static_url%>/images/default_470x260.png">
|
||||
<%~endif%>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-1-2">
|
||||
<div class="featured-hero">
|
||||
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
|
||||
<h1><a href="<%detailed_url%>"><%Title%></a></h1>
|
||||
<div class="excerpt briefy">
|
||||
<a href="<%detailed_url%>" class="no-underline" Title="Read more">
|
||||
<span style="font-size: 15px; font-family: Open Sans, sans-serif" class="post-meta">
|
||||
<%shorten_it($Description, 150)%>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="post-meta light-grey">
|
||||
<i class="icon sprite-slowtwitch"></i>
|
||||
<span class="author"><%Contact_Name%></span>
|
||||
</div>
|
||||
</div><!-- end featured-content -->
|
||||
</div><!-- end col-6-12 -->
|
||||
|
||||
</div><!-- end grid grid-pad -->
|
||||
<%~endloop%>
|
||||
|
||||
<!-- Latest Headlines -->
|
||||
<div class="section-has-widgets remove-sidebar clearfix">
|
||||
<div class="sidebar-b">
|
||||
<%~set adsize = '300x600'%>
|
||||
<%include include_ad.html%>
|
||||
</div><!-- end sidebar -->
|
||||
<div class="content content-has-sidebar">
|
||||
<div class="grid">
|
||||
<%~set skip_first = 1%><%~set show_ad = 4%><%set show_category = 1%>
|
||||
<%include include_featured_articles.html%>
|
||||
<%~set show_category = 0%>
|
||||
</div>
|
||||
</div><!-- end content -->
|
||||
</div>
|
||||
</section><!-- end section: featured articles -->
|
||||
<div class="section-divider"></div>
|
||||
<%~endif%>
|
||||
|
||||
<%~set widgets_loop = Plugins::UI::fetch_widgets('home')%>
|
||||
<section class="section section-has-widgets list clearfix latest-headlines section-reverse">
|
||||
<div class="sidebar-b">
|
||||
<%~set widget_start = 1%><%set widget_end = 3%>
|
||||
<%include include_widgets.html%>
|
||||
</div>
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
<!-- latest articles -->
|
||||
<div class="list-column col-6-12 show-3">
|
||||
<%~set row_index = 0%>
|
||||
<%~set latest_news = Plugins::UI::fetch_links(max_hits => 21)%>
|
||||
<%~set list_view = 'latest'%>
|
||||
<%~if latest_news.length%>
|
||||
<%~loop latest_news%>
|
||||
|
||||
<%~if row_index == 10%>
|
||||
</div>
|
||||
<div class="list-column col-6-12">
|
||||
<%~set adsize = '300x250_1'%>
|
||||
<%include include_ad.html%>
|
||||
<script type="text/javascript">
|
||||
if (winWidth <= 1024) { document.write('<div style="padding-bottom: 20px;">' + '</div>'); }
|
||||
else { document.write('<div style="padding-bottom: 48px;">' + '</div>'); }
|
||||
</script>
|
||||
<%~endif%>
|
||||
|
||||
<%~set local_id = $ID %>
|
||||
<%~set is_featured = 0 %>
|
||||
<%~loop featured_articles_loop%>
|
||||
<%~if $local_id == $ID %>
|
||||
<%~set is_featured = 1 %>
|
||||
<%~endif%>
|
||||
<%~endloop%>
|
||||
<%~if not is_featured%>
|
||||
<%include link.html%>
|
||||
<%~set row_index += 1%>
|
||||
<%~endif%>
|
||||
<%~endloop%>
|
||||
<%~endif%>
|
||||
</div>
|
||||
|
||||
</div><!-- end grid -->
|
||||
|
||||
<div class="section-divider mobile"></div>
|
||||
|
||||
</div><!-- end content -->
|
||||
</section><!-- end section -->
|
||||
<div class="section-divider"></div>
|
||||
|
||||
<!--section class="section advert-large"-->
|
||||
<div class="content content-has-widgets">
|
||||
<%~set adsize = '970x250'%>
|
||||
<%include include_ad.html%>
|
||||
</div>
|
||||
<!--/section-->
|
||||
|
||||
<div class="section-divider mobile tablet"></div>
|
||||
|
||||
</div><!-- End contentwrapper -->
|
||||
</div>
|
||||
<%include include_footer.html%>
|
||||
</div>
|
||||
</body>
|
||||
<%~include include_global_js.html%>
|
||||
</html>
|
28
site/articles/local/include_ad.html
Normal file
28
site/articles/local/include_ad.html
Normal file
@ -0,0 +1,28 @@
|
||||
<%~if adsize eq '300x600'%>
|
||||
<div class="ad">
|
||||
<script type="text/javascript">
|
||||
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_300x600%>" + '</div>'); }
|
||||
else { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>'); }
|
||||
</script>
|
||||
</div>
|
||||
<%~elsif adsize eq '970x250'%>
|
||||
<div class="ad">
|
||||
<script type="text/javascript">
|
||||
if (winWidth > 1024) { document.write('<div class="adwrapper">' + "<%escape_js ad_970x250%>" + '</div>'); } else { document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>'); }
|
||||
</script>
|
||||
</div>
|
||||
<%~elsif adsize eq '728x90' and $ad_728x90%>
|
||||
<div class="ad">
|
||||
<script type="text/javascript">
|
||||
if (winWidth >= 767) { document.write('<div class="adwrapper">' + "<%escape_js ad_728x90%>" + '</div>'); }
|
||||
</script>
|
||||
</div>
|
||||
<%~elsif adsize eq '300x250_1'%>
|
||||
<script type="text/javascript">
|
||||
document.write('<div class="adwrapper">' + "<%escape_js ad_300x250_1%>" + '</div>');
|
||||
</script>
|
||||
<%~elsif adsize eq '300x250'%>
|
||||
<script type="text/javascript">
|
||||
document.write('<div class="adwrapper">' + "<%escape_js ad_300x250%>" + '</div>');
|
||||
</script>
|
||||
<%~endif%>
|
2
site/articles/local/include_common_head.html
Normal file
2
site/articles/local/include_common_head.html
Normal file
@ -0,0 +1,2 @@
|
||||
<%~set minify = $config.minify || 0%>
|
||||
<%include include_global_head.html%>
|
21
site/articles/local/include_featured_articles.html
Normal file
21
site/articles/local/include_featured_articles.html
Normal file
@ -0,0 +1,21 @@
|
||||
<div class="featured-wrapper">
|
||||
<%~set list_view = 'featured'%>
|
||||
<%~set row_index = 0%>
|
||||
<%~loop featured_articles_loop%>
|
||||
<%~if skip_first%><%if row_num == 1%><%nextloop%><%endif%><%elsif row_num > 3%><%lastloop%><%endif%>
|
||||
<%if get_thumbnail_url%>
|
||||
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
|
||||
<%~endif%>
|
||||
<%~if row_num == $show_ad%>
|
||||
<div class="featured-content col-6-12">
|
||||
<%~set adsize = '300x250'%>
|
||||
<%~include include_ad.html%>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
if (winWidth <= 1024) { document.write('<div style="padding-bottom: 20px;">' + '</div>'); }
|
||||
</script>
|
||||
<%~endif%>
|
||||
<%~set row_index += 1%>
|
||||
<%include link.html%>
|
||||
<%~endloop%>
|
||||
</div>
|
7
site/articles/local/include_featured_photo_video.html
Normal file
7
site/articles/local/include_featured_photo_video.html
Normal file
@ -0,0 +1,7 @@
|
||||
<!--section class="section advert-large"-->
|
||||
<div class="content content-has-widgets">
|
||||
<%~set adsize = '970x250'%>
|
||||
<%include include_ad.html%>
|
||||
</div>
|
||||
<!--/section-->
|
||||
<div class="section-divider"></div>
|
28
site/articles/local/include_subscribe.html
Normal file
28
site/articles/local/include_subscribe.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!-- Begin Mailchimp Signup Form -->
|
||||
<link href="//cdn-images.mailchimp.com/embedcode/classic-071822.css" rel="stylesheet" type="text/css">
|
||||
<style type="text/css">
|
||||
#mc_embed_signup{background:#fff; clear:left; font:14px 'Open Sans',Oswald,'Roboto Slab',sans-serif; width:310px;}
|
||||
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
|
||||
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
|
||||
</style>
|
||||
<div id="mc_embed_signup" style="width: 280px; text-align: left;">
|
||||
<form action="https://slowtwitch.us21.list-manage.com/subscribe/post?u=b58ef8acd6002eb5457faccd3&id=edf2eda097&f_id=009fcce1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="margin: 0 0 0 0;" novalidate>
|
||||
<div id="mc_embed_signup_scroll">
|
||||
<div class="mc-field-group">
|
||||
<label for="mce-EMAIL" style="font-family: 'Open Sans';" >Email Address <span class="asterisk">*</span>
|
||||
</label>
|
||||
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" required>
|
||||
<span id="mce-EMAIL-HELPERTEXT" class="helper_text"></span>
|
||||
</div>
|
||||
<div hidden="true"><input type="hidden" name="tags" value="32170"></div>
|
||||
<div id="mce-responses" class="clear">
|
||||
<div class="response" id="mce-error-response" style="display:none"></div>
|
||||
<div class="response" id="mce-success-response" style="display:none"></div>
|
||||
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
|
||||
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_b58ef8acd6002eb5457faccd3_edf2eda097" tabindex="-1" value=""></div>
|
||||
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn" style="margin: 0"></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
|
||||
<!--End mc_embed_signup-->
|
84
site/articles/local/podcast.html
Normal file
84
site/articles/local/podcast.html
Normal file
@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><%site_title%></title>
|
||||
<%include include_common_head.html%>
|
||||
</head>
|
||||
<body id="home">
|
||||
<%~if ad_wallpaper%>
|
||||
<%ad_wallpaper%>
|
||||
<%~endif%>
|
||||
|
||||
<div class="container">
|
||||
<%include include_header.html%>
|
||||
|
||||
<div class="main">
|
||||
<div class="contentwrapper clearfix">
|
||||
<%~set title_loop = Links::Build::build('title', 'Slowtwitch Podcast')%>
|
||||
<%include include_breadcrumb.html%>
|
||||
|
||||
<section class="section section-has-widgets section-reverse">
|
||||
<div class="sidebar-b">
|
||||
<%~Plugins::UI::fetch_widget(27)%>
|
||||
<div class="widget-spacer"></div>
|
||||
<%include _widget_manual.html%>
|
||||
|
||||
<div class="widget-spacer"></div>
|
||||
|
||||
<div class="advert hide-on-mobile">
|
||||
|
||||
<%~set adsize = '300x600'%>
|
||||
<%include include_ad.html%>
|
||||
|
||||
</div>
|
||||
<div class="widget-spacer"></div>
|
||||
<%~set Title = 'Local Listing'%>
|
||||
<%~set Widget = 'local_listings'%>
|
||||
<%include _widget_automated.html%>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
<div class="col-1-1">
|
||||
<h1>Slowtwitch Podcast</h1>
|
||||
<img src="https://slowtwitch.com/images/slowtwitch_podcast.png" width="300px" class="img-responsive">
|
||||
Hosted by Ryan & Eric The Slowtwitch Podcast is the latest addition to our coverage.
|
||||
|
||||
<br /><br />Guests or not each episode will be wide-ranging conversations while staying true to the ethos of Slowtwitch: fiercely independent and authentic.
|
||||
|
||||
<br /><br />Episodes will release weekly on Thursdays and be available on your favorite streaming services.
|
||||
|
||||
<br /><br />Find us on:
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://open.spotify.com/episode/0XWxS1KdabSPhNj9vAhNVY?si=UZ9tYwdTR7ybKjzh0K2u-A">Spotify</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://theslowtwitchpodcast.podbean.com/e/rough-draft-10/">PodBean</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- end col-2/3 -->
|
||||
|
||||
<div class="grid">
|
||||
|
||||
<!-- latest articles -->
|
||||
<div class="clearfix">
|
||||
<%~loop category_loop%>
|
||||
<%include include_category.html%>
|
||||
<%~endloop%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div><!-- end grid -->
|
||||
<div class="section-divider mobile"></div>
|
||||
</div><!-- end content -->
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<%include include_footer.html%>
|
||||
</div>
|
||||
</body>
|
||||
<%~include include_global_js.html%>
|
||||
</html>
|
144
site/articles/local/subcategory.html
Normal file
144
site/articles/local/subcategory.html
Normal file
@ -0,0 +1,144 @@
|
||||
<%~set widgets_loop = Plugins::UI::fetch_widgets('subcategory', $ID)%>
|
||||
<%~set widget_start = 1%>
|
||||
<%~set widget_end = 3%>
|
||||
|
||||
<%~if paging.current_page == 1 or not $paging%>
|
||||
<section class="section featured section-has-widgets remove-sidebar clearfix">
|
||||
<div class="sidebar-b">
|
||||
<%~set adsize = '300x600'%>
|
||||
<%include include_ad.html%>
|
||||
</div><!-- end sidebar -->
|
||||
<div class="content content-has-sidebar">
|
||||
<div class="grid">
|
||||
<div class="col-1-1">
|
||||
<h1><%~if $ID == 719 %>The Slowtwitch <%~endif%><%Name%></h1>
|
||||
<%~if $ID == 719 %>
|
||||
<img src="https://slowtwitch.com/images/slowtwitch_podcast.png" width="300px" class="img-responsive">
|
||||
<%~endif%>
|
||||
</div>
|
||||
<%~if $ID == 719 %>
|
||||
Hosted by Ryan & Eric The Slowtwitch Podcast is the latest addition to our coverage.
|
||||
|
||||
<br /><br />Guests or not each episode will be wide-ranging conversations while staying true to the ethos of Slowtwitch: fiercely independent and authentic.
|
||||
|
||||
<br /><br />Episodes will release weekly on Thursdays and be available on your favorite streaming services.
|
||||
|
||||
<br /><br />Find us on:
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://podcasts.apple.com/us/podcast/the-slowtwitch-podcast/id1691441710">Apple Podcasts</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://open.spotify.com/episode/0XWxS1KdabSPhNj9vAhNVY?si=UZ9tYwdTR7ybKjzh0K2u-A">Spotify</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://theslowtwitchpodcast.podbean.com/e/rough-draft-10/">PodBean</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<%~endif%>
|
||||
<%~if $category_loop.length%>
|
||||
<%~set split = Links::Utils::column_split($category_loop.length, 2)%>
|
||||
<div class="subcategory">
|
||||
<h3>Sections</h3>
|
||||
<div class="clearfix">
|
||||
<%~loop category_loop%>
|
||||
<%~if Number_of_Links%>
|
||||
<%~set splitmod = $row_num % $split%>
|
||||
<%~if row_num == 1 or splitmod == 1 or split == 1%><dl><%endif%>
|
||||
<li><a href="<%URL%>"><%Name%></a></li>
|
||||
<%~if row_num == $category_loop.length or splitmod == 0%></dl><%endif%>
|
||||
<%~endif%>
|
||||
<%~endloop%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-divider"></div>
|
||||
<%~endif%>
|
||||
|
||||
<%~set max_hits = 3%>
|
||||
<%~if category_loop.length > 4%><%set max_hits = 1%><%endif%>
|
||||
|
||||
<%~set featured_articles_loop = Plugins::UI::fetch_links(category => $ID, max_hits => $max_hits)%>
|
||||
<%~if not featured_articles_loop.length%>
|
||||
<%~init array featured_articles_loop%>
|
||||
<%~set index = 0%>
|
||||
<%~loop links_loop%>
|
||||
<%if row_num > $max_hits%><%lastloop%><%endif%>
|
||||
<%~set featured_articles_loop.$index = $loop_value%>
|
||||
<%~set index += 1%>
|
||||
<%~endloop%>
|
||||
<%~endif%>
|
||||
|
||||
<%~if featured_articles_loop.length%>
|
||||
<%~if not Featured_Links%><%set skip_top_three = 1%><%endif%>
|
||||
<%~if max_hits == 1%><%~set show_ad = 1%><%else%><%set show_ad = 3%><%endif%>
|
||||
<%~set get_thumbnail_url = 1%>
|
||||
<%include include_featured_articles.html%>
|
||||
<%~endif%>
|
||||
</div>
|
||||
</div><!-- end content -->
|
||||
</section><!-- end section -->
|
||||
<div class="section-divider"></div>
|
||||
<%~endif%>
|
||||
|
||||
<%~set list_view = ''%>
|
||||
<%~set num_links = $links_loop.length%>
|
||||
<%~set num_page_break = 9%>
|
||||
|
||||
<section class="section archive section-has-widgets section-reverse">
|
||||
<div class="sidebar-b">
|
||||
<%include include_widgets.html%>
|
||||
</div>
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
<div class="clearfix<%if paging.current_page > 1%> relative<%endif%>">
|
||||
<%~if paging.current_page > 1%>
|
||||
<div class="col-1-1 toolbar-b">
|
||||
<h1><%Name%></h1>
|
||||
<%include include_paging.html%>
|
||||
</div>
|
||||
<%~endif%>
|
||||
<%~loop links_loop%>
|
||||
<%if skip_top_three and $row_num <= $max_hits%><%nextloop%><%endif%>
|
||||
<%~rewrite_detail_url%>
|
||||
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
|
||||
<%include link.html%>
|
||||
<%~if row_num == $num_page_break%><%lastloop%><%endif%>
|
||||
<%~endloop%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section-divider mobile"></div>
|
||||
</div><!-- end content -->
|
||||
</section><!-- end section -->
|
||||
<div class="clearall"></div>
|
||||
<div class="section-divider"></div>
|
||||
|
||||
<%~include include_featured_photo_video.html%>
|
||||
|
||||
<%~if num_links > $num_page_break%>
|
||||
<section class="section archive section-has-widgets section-reverse">
|
||||
<div class="sidebar-b">
|
||||
<%~set widget_start = 4%>
|
||||
<%~set widget_end = 5%>
|
||||
<%include include_widgets.html%>
|
||||
</div>
|
||||
<div class="content content-has-widgets">
|
||||
<div class="grid">
|
||||
<div class="clearfix">
|
||||
<%~loop links_loop%>
|
||||
<%~if row_num <= $num_page_break%><%nextloop%><%endif%>
|
||||
<%~rewrite_detail_url%>
|
||||
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
|
||||
<%include link.html%>
|
||||
<%~endloop%>
|
||||
<div class="toolbar right">
|
||||
<%~set page_button = 'page_button2'%>
|
||||
<hr class="line">
|
||||
<%include include_paging.html%>
|
||||
</div>
|
||||
</div><!-- end column -->
|
||||
</div>
|
||||
<div class="section-divider mobile"></div>
|
||||
</div><!-- end content -->
|
||||
</section><!-- end section -->
|
||||
<%~endif%>
|
Reference in New Issue
Block a user