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

global_author does not update when rebuild action is triggered #187

Open
jakimfett opened this issue Nov 4, 2024 · 1 comment
Open

global_author does not update when rebuild action is triggered #187

jakimfett opened this issue Nov 4, 2024 · 1 comment

Comments

@jakimfett
Copy link

jakimfett commented Nov 4, 2024

Title says it all.

To reproduce:

  1. checkout a fresh copy of bb.sh
  2. execute ./bb.sh post
  3. publish the post
  4. edit .config to set global_author (leaving the first line empty as specified in global_title in .config ignored #183)
  5. create a new post with ./bb.sh post, observing that the author is correctly set
  6. execute ./bb.sh rebuild and see that the author in the first post remains the same 'John Smith' value

--
To remediate:

  1. remove the HTML file associated with the post
  2. edit the markdown file associated with the post with ./bb.sh post <the-file-name>.md
  3. (re)publish the post by selecting "p" after saving and exiting your chosen editor
@jakimfett
Copy link
Author

jakimfett commented Nov 4, 2024

Addendum:
Removing the post HTML file seems to duplicate the markdown file and add a second footer. Rebuilding seems to fix the latter but not the former.

Sometimes, the global_email doesn't update when rebuild action is triggered, either.
I'm continuing to test to see if there are other variables that aren't updated on rebuild, either.

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

1 participant