How do I add comments?

Webhook deploys static websites. This means that any user added content like comments will have to be done with a Javascript solution (usually a simple one-line embed). Luckily there are plenty of options, here are a few of them.

How do I add a forum?

Most people add forums onto their webhook site by hosting it somewhere else then pointing a subdomain over. For example, Webhook.com itself hosts a Discourse powered message board on a separate server and points it to the subdomain forums.webhook.com. Below are some popular options for hosted forum solutions.

How do I add a contact form?

How do I make global variables available on every page?

The best way to make variables available on every page is to make a new content-type, and then call that data into your templates/partials/base.html. Let's say we create a content-type called global settings with a text field greeting and an image field logo. We could then call that data into base.html like so.

How do I add RSS feeds?

RSS is added just like any other page on your site except that you use a .xml extension instead of a .html one. Let's say you want to create RSS for your blog. We'd create a page at pages/blogrss.xml with code that looked something like this.

Can I add a store to my site?

Yes, though if you want your site to be primarily a store you likely shouldn't be using Webhook for your main site. However, if you'd like to add a store you can use any store software and point it to a subdomain like http://store.yoursite.com/. For what it's worth we think Shopfiy is a great solution for small stores on the web.

How do I change my site's theme?

Themes can only be installed when you initially set up your site. If you need to change a theme after you've already installed one or started adding data run through the following steps:

This will return you to the theme select page so you can start from scratch.

How do I edit my site across multiple computers?

You can find information on working on a Webhook site across multiple computers in the docs here.

Can I add login or authentication?

No. Webhook only allows login to the CMS portion of the site. If you need to build a system where users need to login to your site to access and change data outside of the CMS then you probably shouldn't use Webhook for your website.

However if you're making changes in the proper CMS and your site still isn't building check your build log at example.com/cms/. If it's showing a build error and you don't think your code is to blame send us a support email

How do a change the location of the CMS?

Simply rename the pages/cms.html file to whatever you want the url to be. Easy!

How do I add my own CSS styles to the CMS?

The entire CMS is loaded from pages/cms.html. You can add your own CSS file in that page below ours if you'd like to include custom CSS into the CMS. This is most useful for displaying your site styles in the preview versions of the WYSIWYG and markdown fields.

I lost my password

My preview 404s to a dead link.

Webhook has no real concept of routing. If you decide to change your URLs outside of the scaffolding by making new pages, there's no way for us to resolve that. Unfortunately this means that the preview functionality can only work if you keep our original URL structure.

My command lines tools say they're out of date after updating, what gives?

If you updated your command line tools but still get the notice saying you need to update, try cleaning your npm cache. It might have an older version of Webhook and is trying to install from there.

The Webhook app is giving me Node errors, what to do?

Very rarely, the Webhook app will mis-install some key files. This can happen when we update remote files and after the app had previously been running fine normally. The easiest way to fix it is to delete the app's install directories for Node. You should do this after you've closed down the Webhook app.

Once removed, simply relaunch the app and it should reinstall the correct files. If you're still having problems, please contact us.

I'm getting strange ENOTEMPTY errors. What's up?

Occasionally you might see an ENOTEMPTY error in your terminal while running Webhook locally. This usually means that your Webhook directory is "locked" in some way by another resource. Specifically Windows tends to lock any directory that is open in Windows Explorer. So first thing's first, close Explorer if you're in Windows. If you're still seeing this error it may be that your text editor is keeping files open as you edit them (thus not allowing us to overwrite them during the build process). If you think this is the problem you should tell your editor to ignore the .build directory. In Sublime Text, you usually just need to add it to your user settings file like so.