Skip to content

Conversation

@VincentTam
Copy link
Contributor

@VincentTam VincentTam commented Jul 27, 2019

See eduardoboucas/staticman#219 for info about Staticman v3 URL scheme.

Screenshot from 2019-07-27 17-54-49

Error screenshot while posting to your site. In the POST URL, there's a missing comments at the end, which stands for the property name defined in

# Name of the property. You can have multiple properties with completely
# different config blocks for different sections of your site.
# For example, you can have one property to handle comment submission and
# another one to handle posts.
comments:
.

Multiple properties are permitted. See https://github.com/sachin10101998bot/aima-exercises/blob/master/staticman.yml for example.

See eduardoboucas/staticman#219 for info about Staticman v3 URL scheme.
@slowbreathing slowbreathing merged commit 62c9867 into slowbreathing:master Jul 28, 2019
@slowbreathing
Copy link
Owner

slowbreathing commented Jul 28, 2019 via email

@VincentTam
Copy link
Contributor Author

The api parameter wasn't loaded into the post template.

<form method="POST" action="https://staticman3.herokuapp.com/v3/entry/github/slowbreathing/slowbreathing.github.io/master/">

See this in my blog post that I referred to you yesterday.

In case of an incorrect branch/property name, a “read file” error will be thrown.

Let me repeat again. In your form action URL, you've missing property name, so there's an error.

i have tried all these combinations.

Please give detailed explanation about what you've tried. It's not trivial to dig into your commit history to find out the mistakes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants