Questions tagged [static-generator]

could be used in context of static sit generators like:

  • Jekyll - A simple, blog-aware, static site generator.
  • GitBook - GitBook is a modern publishing toolchain.
  • Hexo - Hexo is a fast, simple and powerful blog framework.
  • Hugo - A Fast and Flexible Static Site Generator.
  • Octopress - A blogging framework for hackers based on Jekyll.
  • Harp - Harp is a static web server that can also compile your project down to static assets.

You view full list of open source static site generators on Top Open-Source Static Site Generators.

18 questions
6
votes
4 answers

Pelican -- 'articles_page' is undefined

I've created my own theme for Pelican and I've been using it for a while to build my site. I've decided to start blogging again so I'm only now adding the blog features to the site. I've created my own blog.html template to render the content in…
5
votes
1 answer

I need feedback on this partly serverless architecture design

I want to host a scalable blog or application of this sort in nodeJS on AWS making use of AWS technologies. The idea here is to have a small EC2 server that is not responsible for serving the website, but only for running the CMS/admin panel. While…
3
votes
1 answer

Publish an Azure DevOps Wiki as a stand-alone static site

I have set up a wiki in Azure DevOps and I want to set up a pipeline that takes the markdown files, transform them into HTML and publish them as a stand-alone static web site. When someone commits changes in the markdown files I want to build new…
tkahn
  • 1,407
  • 2
  • 21
  • 37
2
votes
0 answers

Single page template not trigered on Hugo static generator web site

I have a problem to trigger a custom single page on my posts. The content is organised like this : With all my posts into the posts folders (I'm no using an _index.md because this folder is one step behind the /content and is considered as a…
2
votes
1 answer

Is there a way to generate hugo files without index.html?

I have my static website in hugo, this is the folder structure: I do not why, when I do hugo -D to build hugo, it generates the following scaffolding: I just want pricing, terms and privicy page in the root folder after building hugo, with their…
Loui
  • 21
  • 3
2
votes
1 answer

Which Static Site Generator can generate pages by just iterating through an assets directory of images (without any content format (e.g. MD) files)?

I'm thinking of publishing a photography blog. Normally, a Static Site Generator generates the site pages based on .MD files and the linked images placed in an assets directory. I'm looking for a Static Site Generator which can generated all the…
ikevin8me
  • 4,253
  • 5
  • 44
  • 84
1
vote
2 answers

React event handler not executing on Docusaurus page

Overview In my custom Docusaurus page, a simple button event handler does not execute upon click. The file is in the form of a React component, as is the norm for Docusaurus pages. What I did 1) I set up my Docusaurus application using…
fralla
  • 457
  • 1
  • 4
  • 12
1
vote
0 answers

CSS and JavaScript: How to create a DOM subtree limited by rendered height or length of innerText?

I have a statically generated website. The tool I use doesn't support lead paragraphs, and even if it did, I wouldn't want to go through all my existing markup pages and demarcate the lead section. So I end up with long posts stacked below each…
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
1
vote
1 answer

Wordpress REST API get full sitemap

I am trying to statically generate a WordPress site, which means having a list of every url in the site e.g. routes = [ '/about-us', '/sample-page', '/category/uncategorized', '/uncategorized/hello-world' ]; I am currently loading three API…
Kim T
  • 5,770
  • 1
  • 52
  • 79
1
vote
2 answers

How to add a default CSS class for one kind of elements in Hugo?

I'm modifying a theme I found for Hugo and I wondered how I can add a css class to the tables in the HTML code generated. I want to use a css framework and I would like if the tables haveclass="u-full-width", I know I can edit the css codes but I…
Andrea Ciceri
  • 436
  • 6
  • 16
0
votes
1 answer

How To CatchAll in NextJs using getStaticPaths?

I'm trying to use getStaticProps and getStaticPaths to generate pages in build time, But this is the first time I have dealt with it using CatchAll routes and I tried to search for it but none of the results matched my retirement or what I needed to…
0
votes
1 answer

Incremental Static Regeneration Nextjs 13 without API call

I want to be able to use Incremental static regeneration when calling an endpoint in my Nexjs 13 app. The problem is that my endpoint is an Edge function so I get the following error when building my code: This error is displayed when I try to call…
0
votes
0 answers

Can I generate static HTML/CSS to be used in email templates from a simple site containing dynamic parts with JavaScript

I need to retrieve information from an API say every week where I just click on a button and I use js to retrieve the required information and display that in the DOM accordingly. However, I would like to use this newly generated site and copy that…
Temak
  • 37
  • 6
0
votes
1 answer

Data-backed static site generator?

I am in the process of selecting a static site generator and have not yet been able to find one that meets my specific use case. Here's a simplified version of what I'm looking for: With the exception of a few pages, every page looks something like…
loof
  • 11
  • 3
0
votes
1 answer

How to understand the logic of Gatsby blog template content types?

I'm working with my first Gatsby template (Hello Friend by Panr), and I have absolutely no experience with React.js. I am trying to understand some of the logic of the template's design in gatsby-node.js and gatsby-config.js - specifically: From…
AveryFreeman
  • 1,061
  • 2
  • 14
  • 23
1
2