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
| <snippet> | |
| <content><![CDATA[ | |
| <!-- begin $1 --> | |
| <div class="$1"> | |
| $2 | |
| </div> | |
| <!-- end $1 --> | |
| ]]></content> | |
| <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
| <tabTrigger>di</tabTrigger> |
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
| var src = "___library/7-kazan/1/*"; | |
| var dst = "_ready"; | |
| var gulp = require('gulp'), | |
| imagemin = require('gulp-imagemin'), | |
| cache = require('gulp-cache'), | |
| del = require('del'), | |
| imageResize = require('gulp-image-resize'), | |
| watermark = require("gulp-watermark"), | |
| rename = require("gulp-rename"); |
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
| (function($) { | |
| $.fn.animated = function(params) { | |
| var defaults = {str: 100}; | |
| var options; | |
| return this.each(function() { | |
| option = $.extend({},defaults ,options, params); | |
| var ths = $(this); | |
| var hw = $(window).height(); | |
| var nc = ths.data('animated'); | |
| var hb = ths.offset().top; |
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
| <div class="top" title="Наверх"><i class="fa fa-angle-double-up"></i></div> | |
| .top | |
| position: fixed | |
| bottom: 25px | |
| background-color: #E0E0E0 | |
| border-radius: 10em | |
| color: #666 | |
| font-size: 26px | |
| width: 50px |
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
| --- | |
| layout: null | |
| --- | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
| {% for post in site.posts %}{% unless post.published == false %}<url> | |
| <loc>{{ site.url }}{{ post.url }}</loc> | |
| {% if post.date %}<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>{% endif %} | |
| </url>{% endunless %} |
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
| {{ post.content | strip_html | truncatewords: 28 }} |
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
| {% for post in site.categories.[page.category] limit: 8 %} | |
| {% include photo-item.html %} | |
| {% endfor %} |
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
| RewriteCond %{HTTP_HOST} . | |
| RewriteCond %{HTTP_HOST} www.placeburg.com [NC] | |
| RewriteRule (.*) http://placeburg.com/$1 [R=301,L] | |
| RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(htm(l)?|php)\ HTTP/ | |
| RewriteRule ^(([^/]+/)*)index\.(htm(l)?|php)$ http://placeburg\.com/$1 [R=301,L] |
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
| {% capture page_url %}{{ page.url | remove: "index.html" }}{% endcapture %} | |
| {% assign url_parts = page_url | split: '/' %} | |
| {% capture index %}{{ url_parts.size | minus:1 }}{% endcapture %} | |
| {% if page.categories %} | |
| {% for menu in site.menu %} | |
| {% if index == '1' and menu.url == page_url %} | |
| <title>{{page.title}} - {{site.title}}</title> | |
| {% endif %} | |
| {% if index == '2' and page_url contains menu.url %} | |
| <title>{{page.title}} - {{menu.name}}</title> |
OlderNewer