mushishi78/amp-generator

home.js wrong path to post folder

Opened this issue · 1 comments

Hi,
i think here is something wrong in home.js

if i clone you project in c:\src\amp-generator , then the homepage of the website has url that points to

<a href='/amp-generator/2015-02-18-vesta

but if i upload the /public folder in the server, the path should start from / and not from /amp-generator.

if this is a issue, i think it can be solved replacing

with

this way, the path looks correct.

If you want to serve it from the root, you can change the baseurl in data/site.yml to /.