New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permalinks don't seem to be working #81

Open
ohhelloana opened this Issue Nov 4, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ohhelloana

ohhelloana commented Nov 4, 2018

Hi! I used this package today at indie web camp with https://www.ownyourgram.com. Out of the box it works fine but I wanted to be able to customise the permalink. So my posts would be like https://www.ohhelloana.blog/my-post-name and my instagram posts would have something like https://www.ohhelloana.blog/photos/:slug.

So I tried to replace MICROPUB_PERMALINK_STYLE while being aware about issue #19. Unfortunately it doesn't appear to work.

I had a friend helping out me and it looks like the permalink isn't being added to the content (we made a fork and added logs to check out).
screen shot 2018-11-04 at 13 54 09

Is setting permalinkStyle meant to set the url\permalink front matter property in the post? It appears this is not what the code is doing. Is there another way I can do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment