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
{% comment -%} | |
#---------------------------------- | |
# Meta Details - /Templates/_includes/html.metaDetails.tpl | |
#---------------------------------- | |
To use this meta template insert the above variables above the include: | |
{% assign metaTitle = "" -%} | |
{% assign metaDescription = "" -%} | |
{% assign metaTags = "" -%} | |
{% assign metaCategory = "" -%} | |
{% assign metaTwitterHandle = "" -%} |
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
<snippet> | |
<content><![CDATA[ | |
@include breakpoint(${1:papa-bear / mama-bear / baby-bear}) { | |
${2:} | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>mq</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> |
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
{# Shows all categories in the news group #} | |
{% set categories = craft.categories.group('news') %} | |
<ul> | |
{% nav category in categories %} | |
<li> | |
<a title="{{ category.title }}" href="{{ category.url }}">{{ category.title }}</a> | |
{# Output a nested <ul> if this category has any children #} | |
{% ifchildren %} | |
<ul>{% children %}</ul> |
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
// ---- | |
// libsass (v3.3.6) | |
// ---- | |
// ========================================================================= | |
// | |
// PRECISE CONTROL OVER RESPONSIVE TYPOGRAPHY FOR SASS | |
// --------------------------------------------------- | |
// Indrek Paas @indrekpaas | |
// |
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="control-group"> | |
<label for="{pr_form_id}-date-of-birth">Date of Birth</label> | |
<select id="{embed:form_prefix}-bday_d" name="bday_d" class="dob-day"> | |
<option value="">Day</option> | |
<?php for ($i=1; $i < 32; $i++) : ?> | |
<option value="<?php echo $i ?>" | |
<?php echo ($i == "{bday_d}") ? 'selected="selected"' : "" ?> | |
> | |
<?php echo $i ?></option> |
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 strip-units($number) { | |
@return $number / ($number * 0 + 1); | |
} | |
@function em($target, $context: $base-font-size, $unitless: false) { | |
@if ($unitless == false) { | |
@return ($target / $context) * 1em; | |
} | |
@else { | |
@return strip-units(($target / $context)); |
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
module.exports = function (app) { | |
var _ = require('lodash'); | |
var User = app.models.User; | |
var Role = app.models.Role; | |
var RoleMapping = app.models.RoleMapping; | |
var ACL = app.models.ACL; | |
/* | |
* Configure ACL's | |
*/ |
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
ls > filenames.txt |
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
// method does not set a default. | |
.Separator{ | |
} | |
.Separator--1{ | |
border-style: dashed; | |
border-color: $colour--Neutral600; | |
border-width: 0 0 1px 0; | |
} |
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
var DISQUSWIDGETS, disqus_domain, disqus_shortname; | |
typeof DISQUSWIDGETS == "undefined" && (DISQUSWIDGETS = function () { | |
var d = {}, m = document.getElementsByTagName("HEAD")[0] || document.body, | |
n = 0, | |
f = {}, j = { | |
identifier: 1, | |
url: 2, | |
slug: 3 | |
}; | |
d.domain = "disqus.com"; |
NewerOlder