Static Site Generators (SSG) are frameworks that build websites from static content. For example, one can build an online blog from a list of text files.
Questions tagged [static-site-generation]
178 questions
1
vote
3 answers
How to get Nuxt-img to work on nuxt3 generate?
i am trying to use nuxt-image on NUXT3, but it seems it doesn't work with the generate command. Images work during dev, but get a 404 when using nuxt generate.
in my nuxt config i have
modules: ["@nuxt/image-edge"],
image: {
dir:…

Jean-Pierre Engelbrecht
- 198
- 2
- 10
1
vote
0 answers
Is it possible to work hide a folder from a full slug of a page with Nextjs SSG and Storyblok
Due to the structure of my Storyblok Space, I'm unable to rewrite the final slugs to match my desired URL structure.
Inside Storyblok, I have to use the folder level translation and due to business rules, inside the language folders, I have to group…

thiagohiguchi
- 11
- 1
1
vote
1 answer
Qwik not generating a manifest file for SSG site
I am trying to get started with Qwik and SSG.
I have run the following commands in this order
npm create qwik@latest
selected the basic app
npm run qwik add static-node
npm run build.static
npm run ssg
After doing this I get the following error…

Michael Edwards
- 6,308
- 6
- 44
- 75
1
vote
1 answer
Why does Next.js pack JS chunks into static pages?
I'm looking into using Next.js for it's hybrid SSG/SSR features. Why are JS chunks being packed into simple pages that should require ZERO JavaScript?
The build command outputs:
Route (pages) Size First Load JS
┌ ○ /…

quiltedbread
- 23
- 1
- 3
1
vote
0 answers
11ty/nunjucks - templating a for loop to be extended to multiple layouts but use different data
I am creating an eleventy scaffolding project to learn more about SSG, this is my first time using an SSG so I am new to the templating stuff with nunjucks, etc.
What I am trying to build:
I want to create a template for a landing page/showcase that…

Marss
- 11
- 5
1
vote
0 answers
Nextjs static generation user IP address
Hi everyone. I am working on a page where the content of the page rarely changes(but it can be changed by the user whenever he wants) so I want to make that page to load fast and getStaticProps does this for me and on any change I can just…

SC K
- 141
- 8
1
vote
0 answers
Get current path in getStaticPaths nextjs
I have some nested dynamic routes like so:
pages
-- [path1]
-- [path2]
...
where the paths for the path1 can be statically generated because they are always the same but for its child I first need to get the path1 (its parent) i'm not sure…

Unnat
- 398
- 2
- 12
1
vote
0 answers
Get Nuxt Image to process dynamic images
I am having troubles getting Nuxt Image to process dynamic images. If I run it in development mode the code below works as intended but if I run nuxt generate to create a static site (intend to host on Netlify without 3rd party image providers) the…

dan
- 1,292
- 2
- 10
- 16
1
vote
1 answer
send getstaticprops data to other static pages, NextJS
im fetching a huge json data from an external API inside my getstaticprops. this data will then be divided into parts to be send to other static pages (hundreds of pages) as props.
// page1.tsx
const page1 = ({ page1Data }) => {
...
}
const…

Gelar Anugerah
- 11
- 4
1
vote
1 answer
SvelteKit adapter-static: Support incremental build enabling generating only a specific page instead of entire site
We have some medium website (> pages) and would like to prerender the entire site. Upon content changes in some external system, we would like to update only the specific page which contains the updated content and deploy the updated version of the…

obcomv
- 178
- 1
- 6
1
vote
0 answers
React Static Site Rendering with Webpack StaticSiteGeneratorPlugin and Styled Components
We have a current existing website made with Intersystems Caché and HTML, CSS & JS.
We are currenlty trying to implement react into this existing website.
For this we created a react component library using styled components. We import this library…

Frauke Vanderzijpen
- 11
- 2
1
vote
1 answer
Using jekyll's "includes" with remark
I'm happily using remark with jekyll. Jekyll let's me work with a template file, as it is descrbed in the wiki.
I would also like to use jekyll's include command in my slides, e.g. {% include something.html %}. But somehow, I cant get this working:…

Ratnanil
- 1,641
- 17
- 43
1
vote
2 answers
Do I have to build my static Gatsby blog each time I add a new markdown blog post ? Or will it dynamically show post from markdown file/dir?
I am new to JAMStack and Static Site Generators, lately trying to setup a new blog using Gatsby and github pages. One information I am unable to find(maybe because it's a silly one) in the ocean of all the great Gatsby tutorial is that to add a new…

piedpipr
- 155
- 2
- 7
1
vote
2 answers
How do I address path to my layouts correctly to my 11ty (Eleventy) blogs directory built with HTML, EJS & Markdown?
I am trying to address my paths to the assets (css & img) folders but it errors out or doesn't find the paths totally in my markdown files and base.ejs files...
Please help me out guys, I know it's an issue with my config or something I don't know…

Mike Teddy Omondi
- 11
- 2
1
vote
5 answers
Static site Generation: Checking if WordPress can make requests to itself from 172.20.0.3
I have a simlpe wordpress website running in the docker container on top of Mac OS. When I try to run the Simply static plugin, its not working at all. I could not see any logs. The diagnostic section shows as the following one failed.
Checking if…

Shamran Siddique
- 89
- 1
- 8