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
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 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 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 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
$(".city-input").keyup(function() { | |
filter(this); | |
}); | |
function filter(element) { | |
var value = $(element).val().toLowerCase(); | |
$("[data-filter]").each(function () { | |
var $this = $(this), | |
lower = $this.data("filter").toLowerCase(); | |
if (lower.indexOf(value) > -1) { | |
$this.show(); |
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 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 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
Tabs: | |
[ | |
{"caption":"Tab Title", "fields": [ | |
{"field":"title","caption":"Name"}, | |
{"field":"description","caption":"Description","inputTVtype":"textarea"}, | |
{"field":"imageTV","caption":"Photo","inputTV":"imageTV"} | |
]} | |
] | |
Table: |
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 heightses() { | |
$(".program-item").height("auto").equalHeights(); | |
}heightses(); | |
$(window).resize(function() { | |
heightses(); | |
}); |
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
$(".scroll-next").click(function() { | |
var cls = $(this).closest(".section").next().offset().top; | |
$("html, body").animate({scrollTop: cls}, "slow"); | |
}); |