Avoid charging by the hour if possible. It is not a scalable business model and sets a bad precedent.
Instead, charge for solutions to problems and achieving goals. A website should never be an end itself; it should be a means to an end. Whenever I quote a website for a client, we create a list of three to five "outcomes" they want from their site. These include things like purchasing a product, scheduling and appointment, downloading an ebook, registering for a webinar, signing up for a newsletter, etc...
When you frame the project in terms of the end benefits they will receive, you can charge for those instead of an hourly price. For some small businesses, this may only be worth a few thousand dollars. For others, it may be worth a hundred thousand dollars. But you see that nowhere in there is any mention of either the hours spent or the technology used. Both are irrelevant.