-
Notifications
You must be signed in to change notification settings - Fork 3
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
Jekyll with Tags, Archive and Comments in GitHub Pages #15
Comments
Hello dear,
I would like to host a blog on Firebase hosting. How can i run generate.js locally before $ Firebase deploy? Thanks |
@Balloot it has nothing to do with where you are hosting. the script simply generates the html files for each tag you have in your npm install
node then, in the node console, type: var g = require('./generator.js');
g(); this will generate the tags and archive files. if you don't want to generate the archive files, just comment out the function for archive files and remove any reference to it. |
Great!. I really appreciate your help. |
I am so sorry. I can't understand this error:
|
I already fix the problem. The last error is:
|
@Balloot if you run |
Thanks again. I am running npm install inside the _scripts , in node:
But noting happiness. No Tag and Archive file! |
@Balloot when you see the following message
that indicates that all the promises were resolved. which means, your tag files were created. i am not sure why nothing happens in your case. can you point me to your repository with updated code so that i can take a look? |
@zpbappi Great post. I am still struggling with allowing Travis to push changes back to github. I can not get my head around the |
@zpbappi nice read, thank you , as I understand I do not really need to do anything, to make travis push changes back to the repo From Git Documentation :
But Travis keeping throwing an error about the credentials . here is a part of the build log :
Any idea will be appreciated 😄 |
@hyyan I have looked at the changes in your repo. It looks good to me. The only possible reason I can think of is that- you are not supplying the |
@zpbappi Thanks a million, you are right, I have missed the GH_Token, thank you for help, and keep it up, you write great articles. |
Great post! BTW, I got the following warning when running your repo with Jekyll serve, do you also see it?
|
@dingran Sorry for the late reply. It seems to me that you are using an updated version of Jekyll. I will try updating the site with a Jekyll version that is compatible with GitHub Pages. Will let you know how it goes. Meanwhile, let me know if you have found any solution to your problem as well. |
@zpbappi - awesome post, I was able to add the first two features to my site (richardbright.me) without issue. However, I didn't see the comments section render on the posts. Any idea? Everything seemed to update just fine and I'm able to update my repo from the terminal. I just can't see the comment section at the end of the post. I combed through the _layout and _includes files to see if any updates were added but didn't notice any. Thanks for your help! |
funny enough, I found the issue, I needed to update the
Great post! |
Auto-generated issue to track comments for the post Jekyll with Tags, Archive and Comments in GitHub Pages in my blog.
The text was updated successfully, but these errors were encountered: