Questions tagged [static-site]

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.

523 questions
8
votes
1 answer

AWS S3 Bucket Redirection redirects to a malformed URL

I have followed the instructions that Amazon has provided for website hosting using s3 buckets here. I have created two S3 buckets, one named MyWebsite.com and a second one named www.MyWebsite.com. In S3, I have configured the latter of the two…
7
votes
1 answer

Is it possible to add a single custom HTML page to an existing Hugo theme like Academic?

What do you want exactly? I have a website in Hugo. However I have a peculiar situation. Scientists and Electrical Engineers and others may have specific needs. For Eg: Having a single page that shows a simulation. Or in my case using webbluetooth…
jar
  • 2,646
  • 1
  • 22
  • 47
7
votes
1 answer

Need to refresh previously vistied Gatsby site to view changes

I have a Gatsby site hosted on Netlify. When I deploy a new version, the changes I made to the site aren't visible until I do a page refresh. Does anyone know why that would happen? I am using gatsby-plugin-offline & gatsby-plugin-manifest. I saw…
jevenson
  • 164
  • 3
  • 5
7
votes
2 answers

How to have relative paths in eleventy?

I am currently working on a 11ty project and really like it. But I have a problem with the links when I deploy the output. I'd like to deploy it to 2 different locations on separate servers. One of the locations is in the root directory, the other…
jost21
  • 1,084
  • 3
  • 15
  • 29
7
votes
1 answer

using google domains when hosting static site on aws s3

I've set up many static sites on AWS/S3 with other domain registrars; however, google domains is giving me some issues. Steps I've taken: -on S3/AWS: created bucket domainname.org enabled static website hosting by adding index.html uploaded…
frostini
  • 175
  • 10
7
votes
1 answer

How to use pelican to generate a hierarchical website, not a blog

I'm trying to use Pelican to generate a hierarchy of .html files, with a hierarchy of .html and .md files as input. Pelican has a lot of great features, but it is focused on generating a blog, not a static, hierarchical website. Sure, it has that…
elucify
  • 73
  • 1
  • 7
7
votes
4 answers

Strip url to 1 word in Jekyll

I am building a Jekyll blog, and I have come across an issue with permalinks. My permalinks to blog posts are set like this in _config.yml: permalink: /:page/:categories/:title It outputs like this when navigating to a blog…
PeterInvincible
  • 2,230
  • 5
  • 34
  • 62
6
votes
3 answers

Hugo not generating the same styling as in development mode

This is my first time I'm trying to generate a static website. Everything works fine in development mode with hugo server command. The styling is great, but when I'm trying to generate the final static files with hugo command the theme seems not to…
elaspog
  • 1,635
  • 3
  • 21
  • 51
6
votes
1 answer

CloudFront can't find page of Nuxt.js static site after reloading

I am new to deploying static sites. Searching for solution for about a while, I didn't find any useful information according to the problem I faced with. Purpose: I want to run my generated Nuxt.js static site on CloudFront. Problem: Ran command…
6
votes
1 answer

Opengraph link previews in Jekyll

When you insert links in modern writing websites, they usually display preview of the page instead of the link (if there is no surrounding text in the paragraph). I would like the same experience when i add some links to posts on my jekyll website,…
Croll
  • 3,631
  • 6
  • 30
  • 63
6
votes
1 answer

hugo based website in a hugo based website

I have a hugo theme based website that I am hosting from gitlab at myusername.gitlab.io, and then I have another smaller website based on hugo themes at myusername.gitlab.io/repoA, that I would like to add from my previous website, at a url like…
MithunS
  • 485
  • 7
  • 28
6
votes
1 answer

What's the root of a Hakyll site?

I see the create function takes a list of Identifiers. ghci λ> :t create create :: [Identifier] -> Rules () -> Rules () What list of identifier should I use to match the root of the site? Eg, I just want to make a single html page that appears…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
6
votes
2 answers

Amazon S3 Error: The specified bucket exists in another region

I'm just setting up a simple splash page basic static HTML and I decided to put it on S3. my bucket name is called the same as my domain www.example.com.s3-website.eu-west-2.amazonaws.com/ And then I've got a CNAME set to the same thing. the only…
Karl Taylor
  • 4,839
  • 3
  • 34
  • 62
6
votes
1 answer

What makes static site generators like Jekyll and Hyde better than XML and XSLT?

The idea seems to be very similar by keeping actual content separate from the final output rendering so that changing the template or styling is trivial.
Treffynnon
  • 21,365
  • 6
  • 65
  • 98
6
votes
1 answer

How does static site generator like Jekyll handle browser caching

My understanding toward how Jekyll works is, once I write a blog locally, Jekyll will generate a page and add it to some sort of indexing system, so that when users load up the main page, they can see the list of all the posts. Is that right?…
Yiou
  • 770
  • 1
  • 10
  • 19
1 2
3
34 35