Static sites are websites that have no dynamic components, e.g. databases or server-side scripting languages. A number of static site generators exist in a variety of languages, such as Jekyll, Wintersmith, and Pelican.
Questions tagged [static-site]
523 questions
5
votes
1 answer
How to use Vue.js in Hexo (static site generator)?
I would like to use vue.js for parts of a template in my hexo theme.
How can I compile my .vue-files to be used in my template (in dev and production)?
I’m not talking about server side rendering, vue.js should run on the client side (but would also…

Pwdr
- 3,712
- 4
- 28
- 38
5
votes
1 answer
How to create a page to render permalink in Hugo
I followed this tutorial in Hugo and its working fine. Basically I have the following content:
- content
`- post
`- coding
`- html
`- my-post.md
and my config file set to
[permalinks]
post =…

Anthony
- 589
- 3
- 15
5
votes
1 answer
How do I implement a Punch Autoprefixer Pre-Processor?
I'd like to implement an autoprefixer pre-processor for the Punch static site generator.
However, in Punch parlance, I'm not sure if this would qualify as a compiler, minifier, etc. I've tried all of the above to no avail.
Here's my most recent…

pdoherty926
- 9,895
- 4
- 37
- 68
5
votes
3 answers
I have a static website built using HTML, CSS and Javascript. How do I integrate this with a SQLite3 database accessed with the Python API?
Title question says it all. I was trying to figure out how I could go about integrating the database created by sqlite3 and communicate with it through Python from my website.
If any further information is required about the development…

Louis93
- 3,843
- 8
- 48
- 94
5
votes
1 answer
Changes-based regeneration by static site generators
It seems like all of the static site generators I have found completely regenerate the entire site every time a change is made to some file in the site.
For example, one of the more popular site generators in use is Jekyll, which powers Github…

Chase May
- 299
- 2
- 7
5
votes
1 answer
Amazon S3 vs Github Pages - which results in faster end user page load times?
I'm creating a static site. It's being generated by Jekyll and version controlled using git. However, purely in terms of end user speed:
Which service offers the fastest page load times in terms of serving up a static website?

jon
- 5,961
- 8
- 35
- 43
4
votes
1 answer
How to host static html page on SharePoint online
We have a simple HTML page with some embedded JS. We used to host the pages with the .aspx extension on the on-premises SharePoint where you can click on the file and it opens like a regular page. When doing so on an online version of SharePoint it…

Vladyslav Chaikovskyi
- 156
- 2
- 9
4
votes
0 answers
How to reference files outside of Docusaurus root folder
My team and I are looking to implement a documentation system that allows engineers to put markdown files within a specified folder in each of their service root directories. Since we are in a monorepo, we'd like to have a process that goes through…

TheNastyOne
- 965
- 11
- 19
4
votes
1 answer
Ordering posts in Contentful by date with different Content types
This is my first project using GatsbyJS and Contentful. Right now I have several posts on the site with different Content Models. For the sake of simplicity let's say I have some Content types that are Photos and others that are Video Embeds. I am…

Aaron Lyons
- 43
- 5
4
votes
1 answer
Next.Js static site generation with headless CMS assets
I'm using WordPress as a headless CMS for my website and I wish to generate a static website from my Next.js project. What I want to achieve is to be able to also copy the images and data from the wp-content folder to my next.js out folder, changing…

r1987
- 507
- 1
- 7
- 21
4
votes
3 answers
Upgraded Gatsby and Now Getting BABEL Error -Package exports do not define a '.' subpath
ERROR #98123 WEBPACK
[BABEL] .cache\develop-static-entry.js: Package exports for
'\node_modules@babel\helper-compilation-targets' do not define a '.'
subpath
Tried upgrading NPM and cleaning out the NPM cache, but this did not work.
Before…

Gardner Wheeler
- 51
- 4
4
votes
3 answers
How to block access to a static site?
I will host a static site (just a few pages actually) on Netlify, a cloud hosting provider. It would be my notes and may have sensitive code and API keys. I want it set up so that only I can access this site from internet and no one else. How can I…

Something
- 41
- 2
4
votes
1 answer
Is there a way to use Gatsby just for static html files without webpacked javascript files?
I want to generate a large number of static html. I like to use Gatsby because I enjoy writing JSX/TSX and generating the files using JavaScript.
But then every page includes the dehydrated GraphQL queries as well as an entire react for production…

L Richard Durr
- 43
- 5
4
votes
1 answer
Services which provide web-login for embedded content editing/versioning
I am building a static application aiming for zero-costs apart from static content distribution, and for potential user interaction would like to embed a service which allows versioned edits to embedded content. Ideally, I would have liked to have…
user10275798
4
votes
2 answers
HUGO + GitHub Pages: How to set up subdomain
I have a github repository that I want to add my hugo site to. From the docs folder in my repository I can run github pages.
Therefore, I have changed my publishDir parameter in the hugo config to docs.
publishDir = "docs"
Now when I build hugo it…

JamesG
- 1,552
- 8
- 39
- 86