This file contains hidden or 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
<!doctype html> | |
{% block _vars %}{% endblock %} | |
<html lang="en"> | |
<head> | |
<title>title</title> | |
</head> | |
<body class="{{ _bodyClass }}"> | |
{% block content %}{% endblock %} | |
</body> | |
</html> |
This file contains hidden or 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
{ | |
"convertHtmlOutput": null, | |
"customRubyPath": null, | |
"debug": false, | |
"domain": null, | |
"followLeader": false, | |
"lintScripts": false, | |
"modelSource": null, | |
"optimiseImages": true, | |
"optimiseSVG": true, |
This file contains hidden or 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
Suzy in Mixture.io: | |
If you start a new project or select a boilerplate (the compass boilerplate is a good example). | |
1. Just make sure in the "mixture.json" settings file "useCompass" is set to true. | |
2. this will create "compass/config.rb" | |
3. edit "compass/congif.rb" - you should see some comments at the top - uncomment: require 'suzy' | |
Thats it, suzy will now be available to your sass files as per the suzy docs. |
This file contains hidden or 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
{% collection "shows" by 1 order desc %} | |
<p>{{ collection.items.first.title }}</p> | |
{% endcollection %} |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>{% block title %}Example{% endblock %}</title> | |
</head> | |
<body class="{{ mixture.url | slugify }}"> | |
{% block content %}{% endblock %} | |
</body> | |
</html> |
This file contains hidden or 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
<ul> | |
<li><a href="/" {% if mixture.url == "index" %}class="selected"{% endif %}>Home</a></li> | |
<li><a href="/about" {% if mixture.url == "about" %}class="selected"{% endif %}>About</a></li> | |
<li><a href="/contact" {% if mixture.url == "contact" %}class="selected"{% endif %}>Contact</a></li> | |
</ul> |