Log in Sign up

Creating a website with a static landing page

I'm in the process of redesigning my website. The idea is to create a static portfolio as a landing page, which has a link to take the user to the blog.

When I try to change the entries.html URL in the package.json file to point to another URL (E.G: /articles) the page does not load any entries. I tried to use the ?debug=true option and discovered that entries don't get added in the returned json object.

I could use the all_entries tag, but then I will lose the pagination.

Another thing I tried is to create a new view and calling entries from there, but that didn't work either.

Any thoughts?


2 years ago, 4 replies   Edit question

https://blot.im/questions/283 might be what you're looking for!

Answered 3 years ago · Edit answer

Thanks. but is there any way to change the url from /page/1 to /blog?

Answered 3 years ago · Edit answer

It's not possible to use the paginated list of {{#entries}}..{{/entries}} anywhere but the index page / and /page/... at the moment. If you'd like to be notified when it is, please contact us

Answered 2 years ago · Edit answer

You could always add a redirect to point /blog to /page/1, then the cleaner URL would work for you.

Answered 2 years ago · Edit answer