This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="subnav-entry"> | |
<xsl:variable name="active-parent" select="//tags-all-entries/entry[ @id = $pt1 ]/parent/item/@id" /> | |
<xsl:variable name="child" select="//tags-all-entries/entry[ (parent/item) ]" /> | |
<xsl:variable name="has-children" select="child::*" /> | |
<li> | |
<xsl:attribute name="class"> | |
<xsl:text>entry </xsl:text> | |
<xsl:if test="$pt1 = @id or $active-parent = @id or //tags-all-entries/entry[ @id = $active-parent ]/parent/item/@id = @id"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tags-all-entries> | |
<section id="3" handle="tags">Tags</section> | |
<entry id="13391"> | |
<description mode="normal" word-count="3" handle="im-new-here" handle-en="im-new-here">I'm New Here</description> | |
<hide-from-footer>No</hide-from-footer> | |
<hide-from-header>No</hide-from-header> | |
<parent field-id="141" subsection-id="3" items="1"> | |
<item id="18"> | |
<tag mode="normal" word-count="1" handle="about" handle-en="about">About</tag> | |
</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="template-header-inside-container"> | |
<xsl:variable name="parent" select="//tags-all-entries/entry[@id = $pt1]/parent/item/@id" /> | |
<xsl:if test="$pt1 and not($pt1 = //tags-all-entries/entry[tag/@handle = 'home']/@id)"> | |
<div class="jumbotron masthead" id="overview"> | |
<div class="subnav"> | |
<xsl:for-each select="//tags-all-entries/entry[@id = $pt1]/parent/item/@id"> | |
<xsl:call-template name="nav-tier" /> | |
</xsl:for-each> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Are you 18-24?<em> Come fellowship,<em> study Romans 2 and relax with us at 1824 group tonight at 7 in the sanctuary!<em> http:<em>/<em>/t.co/2gHP5g6k</em> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Tricolore.tmTheme", | |
"font_face": "Menlo", | |
"font_size": 11.5, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"TrailingSpaces" | |
], | |
"theme": "Soda Light.sublime-theme", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template name="component-featured"> | |
<xsl:param name="component" select="'featured'" /> | |
<xsl:param name="entries" /> | |
<xsl:if test="count($entries)"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template name="component-featured"> | |
<xsl:param name="component" select="'featured'" /> | |
<xsl:param name="position" /> | |
<xsl:param name="entries" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:for-each select="//featured-random/entry"> | |
<xsl:call-template name="component-featured" /> | |
</xsl:for-each> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="feature"> | |
<div class="container main-container"> | |
<div class="row home"> | |
<div id="main-content" class="span12"> | |
<h3>Featured Content</h3> | |
<div class="component component-teachings large"> | |
<div class="latest"> | |
<xsl:for-each select="//teachings-featured-filtered/entry"> | |
<xsl:call-template name="teaching-entry" /> | |
</xsl:for-each> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($, document, window) { | |
"use strict"; | |
$(function () { | |
$.fn.exists = function () { | |
return $(this).length > 0; | |
}; |