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
0
votes
1 answer
How to serve static html files using Web Servlet?
I have two static websites located in two separate local directories.
I also have a secured web app with spring mvc. There are two users, each user is related to a different website.
I want to serve the relevant website/pages for each authenticated…

Yohana Kh
- 53
- 3
0
votes
2 answers
Trying to set up Lunr full-text search plugin for Docpad site. What am I doing wrong?
I'm using Docpad to build a static website. I'm trying to set up the Lunr plugin for full-text site search, but I keep getting this error:
$ docpad run
info: Welcome to DocPad v6.78.1 (local installation:…
user3705592
0
votes
1 answer
Access blog config variables in layouts
Turns out the below is not a good description of what I needed. Through all this research I've figured out how to ask the question I should have been asking. New post: here. Leaving this question in case it benefits someone else.
I am building a…

lyonsinbeta
- 919
- 6
- 25
0
votes
1 answer
Static html site generating with templating
Ive got to do some work on a static html site that was originally developed using dreamweaver, i want to keep the site as static html, but ideally not use dreamweaver (even though it dose have templating as the programme feels ancient compared to…

sam
- 9,486
- 36
- 109
- 160
0
votes
0 answers
Metalsmith example not working on 1.0 (collections + permalinks)
I found an example online which uses collections and permalinks, the code is like this:
Metalsmith(__dirname)
.use(collections({
pages: {
pattern: 'content/pages/*.md'
},
posts: {
pattern:…

doup
- 841
- 1
- 9
- 20
0
votes
2 answers
How to set the url in off-line site using jquery ajax
well my task is running a static site, No servers at all. pure HTML, and i need to load and read an XML file and update the page with the result.
The task is done and can read the xml file if the file is in the same location, the problem is if the…

PHCJS
- 445
- 4
- 19
0
votes
1 answer
handle translation of website
I finished my website and want to translate it in 3 other languages.
The question is not how to translate it, but how to handle the different languages, when you don't use a CMS.
I have all my script with English text in it.
I'm able to translate…

gr3g
- 2,866
- 5
- 28
- 52
0
votes
1 answer
How can I use a json file for a static server?
I have written a simple app in angular, where I have encoded the json data directly into the $scope of a controller, and then I do stuff with that data. Can I have something like data.json, and send it to the client along with js and css files,…

yayu
- 7,758
- 17
- 54
- 86
0
votes
1 answer
Cannot upload select photos with Cyberduck
I'm currently using Cyberduck to get my static site up and running. The only issue I'm running into is being able to host 2 of my 5 images on my website.
The following 3 images will host:
iphone.png - 57 KB
macmoc.png - 61 KB
resume.pdf - 106…
user3720516
0
votes
2 answers
Can Docpad generate a json file that can be consumed by client-side javascript framework?
Is it possible to use Docpad as static site generator that also outputs json files that can be consumed by client side JS apps?
I'm building a website using Docpad as a static site generator, and I have an events section, where I want the events…

Ashwin Shankar
- 71
- 5
0
votes
0 answers
Redundant jeklly breadcrumb navigation issue
I have this jekyll code but it's not ideal. Currently, if you visit a page with a structure of example.com/careers/job-postings/ it comes out fine, as Home / Careers / Job Postings. But if you go back to careers, it's Home / Careers / Careers. Each…

zebapy
- 643
- 1
- 5
- 21
0
votes
1 answer
My Heroku static site broke with the new PHP system
I have a static site running on Heroku. Up to now I have had an empty index.php alongside my index.html, and with php_flag engine off in .htaccess, everything ran smoothly. Heroku detected a PHP app but didn't run PHP for anything; index.html files…

hrothgarrrr
- 101
- 1
0
votes
1 answer
Redirection issue following migration from Node.js app to static site on Amazon S3
I plan to migrate my personal blog presently using Node.js as a backend to Amazon S3, considering the fact that the content is pretty much always static.
One problem I noticed is that there's no way to do redirection or whatsoever on Amazon S3 (as…

jpmonette
- 926
- 1
- 15
- 30
0
votes
1 answer
jekyll does not work in my windows 7
I have installed jekyll in my windows 7, but it does not work. I have created a folder called jekyllSite and have included the necessary files in the folder, then I open Command Prompt and and cd in that folder and run jekyll code. It generates the…
user1847051
0
votes
1 answer
Pretty URL via separate folder and index.html file inside or rule in .htaccess
I have static site (html + css) generated by nanoc.
It works under Apache.
I want use pretty url instead of .html suffix at the end. Like this:
http://domain.ru
http://domain.ru/page/page1/
http://domain.ru/page/page2/
instead of…

aleksandr
- 77
- 1
- 10