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

Unable to generate static webpage #9

Closed
mumu-lhl opened this issue Feb 27, 2021 · 8 comments
Closed

Unable to generate static webpage #9

mumu-lhl opened this issue Feb 27, 2021 · 8 comments

Comments

@mumu-lhl
Copy link

I use Termux compiled blades, and running blades build can only generate atom.xml,index.html,rss.xml,sitemap.xml.

The architecture of my device is aarch64.

Below is my Blades.toml file:

title = "blablabla"
description = ""
keywords = ""
image = ""
theme = "BLADE.386"

[author]
name = "Mumulhl"

I confirmed that I have cloned the BLADE.386 theme in the themes folder.

@grego
Copy link
Owner

grego commented Feb 28, 2021

Hello, what files are not generated?

@mumu-lhl
Copy link
Author

Hello, what files are not generated?

Except for the four files atom.xml,index.html,rss.xml,sitemap.xml, nothing else can be generated.

@grego
Copy link
Owner

grego commented Feb 28, 2021

What other content files did you have that were not generated?

@mumu-lhl
Copy link
Author

mumu-lhl commented Mar 3, 2021

What other content files did you have that were not generated?

None of the files in the content directory can be generated.

@grego
Copy link
Owner

grego commented Mar 3, 2021

It would be helpful if you provided some example. Content generation works fine for me on aarch64, so I'm rather perplexed as to what's the issue.

@mumu-lhl
Copy link
Author

mumu-lhl commented Mar 3, 2021

It would be helpful if you provided some example. Content generation works fine for me on aarch64, so I'm rather perplexed as to what's the issue.

Here is my generation process:

$ ls
Blades.toml  content  themes
$ ls themes/
BLADE.386
$ blades --version
blades 0.1.2
$ ls content/
test.toml
$ blades build
Done in 75.676ms.
$ ls public/
atom.xml  index.html  rss.xml  sitemap.xml

@grego
Copy link
Owner

grego commented Mar 5, 2021

That's very intriguing. This very setup works for me.

@grego
Copy link
Owner

grego commented May 23, 2021

I think I found the cause - at least when using MUSL, files whose date of creation could not be obtained from the filesystem were skipped.
That is fixed in fa2006c. Does it work correctly now?

@grego grego closed this as completed May 28, 2021
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

2 participants