Questions tagged [static-html]

77 questions
3
votes
0 answers

Next Js: my project is not rendering the sass files on Static HTML

I have a problem: I have a Next Js project that I need to upload as a static HTML page, but I'm facing an issue while exporting / building the files. Here are the some notes regarding what I'm doing: I've used both next build && next export…
3
votes
0 answers

How to serve a static html file with react app in iframe when using react router?

I'm currently having problems when serving a HTML file in my react app. I use @nrwl/react to build my application. The html folder is present after building my application (in the public folder). My setup works when running the application locally.…
Jim Peeters
  • 2,573
  • 9
  • 31
  • 53
3
votes
4 answers

Spring boot mapping static html

I want to create spring boot web application. I have two static html files: one.html, two.html. I want to map them as follows localhost:8080/one localhost:8080/two without using template engines (Thymeleaf). How to do that? I have tried many ways…
megasoch
  • 33
  • 1
  • 1
  • 3
3
votes
1 answer

http / https reference between Safari and Chrome

I got a javascript snippets load in FB static HTML, where most of the major browsers are run the script pretty charm except Safari, after test by removing https to http in javascript reference link, the script is works in safari but failed in…
conmen
  • 2,377
  • 18
  • 68
  • 98
3
votes
3 answers

html template + json data -> static html deploy

is it possible to have: - a static html template - a JSON with some data and create static html file(s)? For example i have to make a portfolio and i code html template: ...

{title}

{description}

... Then i have a JSON like…
mtt
  • 1,697
  • 1
  • 15
  • 20
3
votes
3 answers

List local html files from another html file (with javascript/jQuery) and create links for them dynamically

I plan to create a static html file intended for local use via double-click to open it in the browser (no http server running). Inside a folder (located in the same folder as the index file), I plan to add "item" files, so that when I open the…
heltonbiker
  • 26,657
  • 28
  • 137
  • 252
2
votes
2 answers

Are there any good Visual Studio static html generators?

We are a .NET shop (usually ASP.NET MVC) and we have a customer requirement for a static HTML site. As we have gone through this exercise the thing the only part of it that has gotten under my skin is the massive duplication that in a dynamic site…
Matthew Nichols
  • 4,866
  • 4
  • 41
  • 48
2
votes
0 answers

Next.js Static Html Export: Asset paths not working (CSS, custom fonts, images)

I created a Next.js project using next build && next export. When i open the index.html file from the 'out' folder in a browser, assets were not loaded. Not css, images and custom fonts. Because of wrong asset paths. The exported paths are for…
aaRitsch
  • 63
  • 1
  • 5
2
votes
2 answers

Upload csv file to S3 bucket from static webpage

I'm trying to create an upload webpage to put csv files in a S3 bucket. I followed the tutorial from their website. https://aws.amazon.com/blogs/compute/uploading-to-amazon-s3-directly-from-a-web-or-mobile-application/ I modified the method to…
Claudiu
  • 577
  • 1
  • 9
  • 24
2
votes
1 answer

Static html/css blog as firestore backend SEO optimization

Hi developers and support managers. I'm trying to make a blog using pure HTML/CSS and JavaScript. Here I've implemented a design check readersmess. I just needs a guide which backend should I use to store my blog posts. I already tried to use…
2
votes
0 answers

What is the best approach to implement a (static-html) blog to a react web app?

I'm currently developing a web app based on React. The web app is a SPA where you can navigate through different sections. Now I want to implement a blog to my SPA as an additional section. I'm not sure what is the best approach here. I guess in…
Luke Nukem
  • 19
  • 2
2
votes
2 answers

Strictly using static html files, jquery, ajax and json web services for a website?

I've been using ASP.Net MVC for a while now and I've been thinking that this: <% foreach(ItemRow in Items) { %>
<%=ItemRow.Description%>
<% } %> Reminds me a little too much of ASP Classic and PHP. Yeah there are definite improvements…
Spencer Ruport
  • 34,865
  • 12
  • 85
  • 147
2
votes
3 answers

How to generate a static .html with python

I'm looking for a python solution to create a static .html that can be sent out via email, either attached or embedded in the email (ignore this latter option if it requires a lot more work). I do not have requirements for what regards the layout of…
MLguy
  • 1,776
  • 3
  • 15
  • 28
2
votes
2 answers

Web CMS That Outputs to Flat Static Pages (.html) via FTP to Remote Server?

I have a web app project that I will be starting to work on shortly. One of the features included is going to be a content management system where users can add content and then that content will be combined with a template and then output as a…
2
votes
2 answers

Securing an EC2 Instance which Hosts a Static Public Website

I am trying to host a public website on an Amazon EC2 small linux instance. My website is pretty simple, in that, it doesn't have a database and any fancy server components. It's just a bunch of plain old html hosted on an Apache webserver. What…
Jay
  • 2,394
  • 11
  • 54
  • 98