summaryrefslogtreecommitdiff
path: root/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config.rb')
-rw-r--r--config.rb19
1 files changed, 18 insertions, 1 deletions
diff --git a/config.rb b/config.rb
index 0c870de..6eb6176 100644
--- a/config.rb
+++ b/config.rb
@@ -35,6 +35,21 @@ end
page "/feed.xml", layout: false
###
+# Deployment
+###
+
+activate :deploy do |deploy|
+ deploy.method = :rsync
+ deploy.host = "www.np.tl"
+ deploy.path = "/var/www/np.tl/htdocs/web3"
+ # Optional Settings
+ # deploy.user = "tvaughan" # no default
+ # deploy.port = 5309 # ssh port, default: 22
+ # deploy.clean = true # remove orphaned files on remote host, default: false
+ # deploy.flags = "-rltgoDvzO --no-p --del" # add custom flags, default: -avz
+end
+
+###
# Compass
###
@@ -87,6 +102,8 @@ set :js_dir, 'javascripts'
set :images_dir, 'images'
+set :relative_links, true
+
# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
@@ -99,7 +116,7 @@ configure :build do
# activate :asset_hash
# Use relative URLs
- # activate :relative_assets
+ activate :relative_assets
# Or use a different image path
# set :http_prefix, "/Content/images/"