Skip to content

Commit

Permalink
Excluded css files from the non-script file list. Removed obsolete 's…
Browse files Browse the repository at this point in the history
…cript' keys from the robots.txt and config.rb file headers.

Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>
  • Loading branch information
dmitriypdv committed Aug 27, 2015
1 parent d043c51 commit 26d4f05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 3 additions & 2 deletions SiteConfig.groovy
Expand Up @@ -9,6 +9,7 @@ import com.sysgears.octopress.taglibs.OctopressTagLib
// Resource mapper and tag libs.
resource_mapper = new ResourceMapper(site).map
tag_libs = [OctopressTagLib]
non_script_files = [/(?i).*\.(js)$/]

features {
highlight = 'pygments' // 'none', 'pygments'
Expand Down Expand Up @@ -41,13 +42,13 @@ environments {
}

python {
interpreter = 'jython' // 'auto', 'python', 'jython'
interpreter = 'python' // 'auto', 'python', 'jython'
//cmd_candidates = ['python2', 'python', 'python2.7']
//setup_tools = '2.1'
}

ruby {
interpreter = 'jruby' // 'auto', 'ruby', 'jruby'
interpreter = 'ruby' // 'auto', 'ruby', 'jruby'
//cmd_candidates = ['ruby', 'ruby1.8.7', 'ruby1.9.3', 'user.home/.rvm/bin/ruby']
//ruby_gems = '2.2.2'
}
Expand Down
3 changes: 0 additions & 3 deletions content/robots.txt
@@ -1,6 +1,3 @@
/*-
script: true
-*/
User-agent: *
Disallow:

Expand Down
3 changes: 0 additions & 3 deletions theme/config.rb
@@ -1,6 +1,3 @@
/*-
script: true
-*/
<%
def toCanonicalPath = { String baseDir, String relativePath ->
new File(baseDir, relativePath).canonicalPath.replace("\\", "/")
Expand Down

0 comments on commit 26d4f05

Please sign in to comment.