Browse Source

Clean up

Clean up
pull/31/merge
Danang Probo Sayekti 11 years ago
parent
commit
c7fb74859f
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      robots.txt
  2. +1
    -1
      system/resources/htmly.js

+ 2
- 2
robots.txt View File

@ -19,7 +19,6 @@
User-agent: * User-agent: *
Crawl-delay: 10 Crawl-delay: 10
# Directories # Directories
Disallow: /admin/
Disallow: /config/ Disallow: /config/
Disallow: /content/ Disallow: /content/
Disallow: /system/ Disallow: /system/
@ -31,4 +30,5 @@ Disallow: /composer.json
Disallow: /composer.lock Disallow: /composer.lock
Disallow: /composer.phar Disallow: /composer.phar
# Paths # Paths
Disallow: /search/
Disallow: /search/
Disallow: /admin/

+ 1
- 1
system/resources/htmly.js View File

@ -1,7 +1,7 @@
(function ($) { (function ($) {
$(document).ready(function() { $(document).ready(function() {
$('.post-teaser img, .post-body img').each(function() {
$('.teaser-body img, .post-body img').each(function() {
var currentImage = $(this); var currentImage = $(this);
currentImage.wrap("<a class='img-wrap' title='" + currentImage.attr("alt") + "' data-lightbox='lightbox' href='" + currentImage.attr("src") + "'></a>"); currentImage.wrap("<a class='img-wrap' title='" + currentImage.attr("alt") + "' data-lightbox='lightbox' href='" + currentImage.attr("src") + "'></a>");
}); });


Loading…
Cancel
Save