Replies: 2 comments 4 replies
-
The key here is to understand a little about the way Statiq builds on itself:
We're missing a critical part at the level above both Statiq Framework and Statiq Web. We need to be able to take those bricks and turn them into an actual structure. We're missing the instructions. We're missing a theme. The idea here is that while Statiq Web is designed to build your site, it's totally unopinionated about what your site actually is. It doesn't inherently know the first thing about blogs, documentation, shopping carts, or any kind of other site. It needs instructions on how to compose the various parts provided in Statiq Web into a site. That's what a theme does: provide some conventions (where the files go, what metadata to set) and instructions (archives, feeds, etc.) that glue together the content and data you provide with a layout and the capabilities of Statiq Web. Now it's entirely possible to do all this yourself, that's kind of the whole point of an unopinionated static site generator. You don't have to use a theme, but it's a whole lot easier if you do. Or at a minimum if you have a theme that does roughly what you're trying to do to use as a reference. Which is where the work I'm doing right this second comes in! My current Statiq work has been focused on shipping two initial themes, both focused on blogging:
CleanBlog is coming along well, though I'm finding little nits with Statiq Web and Statiq Framework as I go (you can see these in my most recent commits to those two repos). My best advise right now is to sit tight for like 2 more days while I get CleanBlog to a decent state and then use it as an example: https://github.com/statiqdev/CleanBlog. |
Beta Was this translation helpful? Give feedback.
-
I've only been playing with Statiq for about a week (So awesome! @daveaglick ) but this was my approach to autogenerate an index.html file that includes links to all the subfiles. I'm not super great with C# and there may be other ways but this worked for me.
|
Beta Was this translation helpful? Give feedback.
-
I’ve been looking through the source of statiqdev.github.io and am trying to wrap my head around how it all comes together; the documentation is great from an API perspective, but I am missing the connection to turn those API calls into something I can use.
In my case, I have a blog-like need for static generation and was looking for a way to have an autogenerated index.html that includes links to all the output files I’ve generated with a title and a blurb.
How do I do thAt using statiq.web?
Beta Was this translation helpful? Give feedback.
All reactions