Skip to content
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

Cannot get Staticman working (using beautifulhugo code but not the whole theme) #254

Open
valzi opened this issue Mar 17, 2019 · 4 comments

Comments

@valzi
Copy link

valzi commented Mar 17, 2019

I have no errors, but nothing displays in my posts. (See here: https://light-transmuter.netlify.com/posts/4weeks3/) Would you give me suggestions? I feel as if I've read and done everything, but I suspect I am missing something simple. I'm new to Hugo.

Here is the relevant code:
https://github.com/valzi/light-transmuter/blob/master/config.toml
https://github.com/valzi/light-transmuter/blob/master/staticman.yml
https://github.com/valzi/light-transmuter/blob/master/layouts/partials/staticman-comments.html
https://github.com/valzi/light-transmuter/blob/master/layouts/_default/single.html

Here's a sample post.

@valzi valzi changed the title Trying to get staticman working using beautifulhugo code but not the whole theme Cannot get Staticman working (using beautifulhugo code but not the whole theme) Mar 17, 2019
@valzi
Copy link
Author

valzi commented Mar 17, 2019

I have no idea why, but the forms are now showing up. However, submitting a comment generates this error without moving to a new url.
image

@valzi
Copy link
Author

valzi commented Mar 19, 2019

Hey, please let me know if it's rude to bump. Just wanted to check in to say that I've failed to make any progress on my own.

@dancwilliams
Copy link
Contributor

I have statesman working on my site. The repo can be found (here)[https://github.com/dancwilliams/networkhobo].

I am going to review the BeautifulHugo docs, but some things have changed recently with Staticman. Staticman is now a GitHub app. Here are some links. Please read through them all as it is a moving target till the Staticman docs are updated.

eduardoboucas/staticman#243 (comment)
eduardoboucas/staticman#278 (comment)

Let me know if you have any questions. I will help where I can.

@VincentTam
Copy link
Contributor

VincentTam commented Jul 2, 2019

Hi, this is the maintainer of @staticmanlab, a public GitLab instance.

In your Go-HTML template code, you've hooked your HTML form with the public development instance. Have you considered using api instead of dev due to eduardoboucas/staticman#278 (comment)?

<form method="POST" action="https://dev.staticman.net/v3/entry/github/valzi/light-transmuter/master">

Btw, if you goal for the GitHub App version of Staticman is to avoid v2's API limits reported in eduardoboucas/staticman#222, then errors #279 and #294 would serve as counterarguments for this. I suggest using an alternative API instance instead of the official one to avoid unexpected service interruption caused by unnotified updates on the official one. You may choose either self-hosting your own instance or using an existing one.

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

No branches or pull requests

3 participants