Questions tagged [static-pages]

110 questions
9
votes
1 answer

Is it possible to schedule posts with Jekyll?

I suspect that one of the limitations of running a static site is that the administrator has to be at the helm when he wants a post to be published. I'm looking for that suspicion to be validated. Is there a method I haven't discovered?
Corey
  • 5,795
  • 4
  • 18
  • 26
8
votes
1 answer

Can I redirect a local static html page to an online resource?

I'm writing a small application extension and the only way to include some help is by a local, static html page (like c:\program files\help.htm). I can't use PHP for it. Is there any way to redirect such a page to an online page?
RubenGeert
  • 2,720
  • 5
  • 27
  • 47
5
votes
1 answer

Access the queried data from Vue component using Gridsome

I am new to Gridsome as well as to GraphQL. However I'm not using the GraphQL for this project. I just have a Gridsome project setup and some JSON data and I'm trying to define it globally so that I can access it from all my Vue pages and…
Subhan Asadli
  • 320
  • 2
  • 15
5
votes
6 answers

Making static pages in Symfony 1

Im new to symfony and have some simple questions. I am trying to understand the module system, but I dont understand how I create the actual homepage or other pages that are not based off of a model from the db. For example, the simple about page…
Danny
  • 4,454
  • 6
  • 36
  • 55
4
votes
2 answers

In October CMS, how can I make an image editable in a Static Page?

I'd like to set up a generic marketing template using the October CMS "Static Pages" plug-in. The intention is to allow my clients to create their own marketing pages. Let's assume that my layout contains HTML similar to this:
clone45
  • 8,672
  • 6
  • 32
  • 42
4
votes
1 answer

How to return a HTML page from struts.xml itself without going to an action?

If a request is made to a HTML page, how to return it directly from struts.xml without going to an action?
lupchiazoem
  • 7,658
  • 5
  • 33
  • 41
3
votes
2 answers

How can I route HTTP requests through a python script?

I've thoroughly searched for the answer for my question, but I don't think I know the correct terminology to make my searches effective. Anyway, I'm looking to set up my web server to route a request for a static page through a Python "PageBuilder"…
weberc2
  • 6,371
  • 3
  • 35
  • 50
3
votes
2 answers

make nodejs manage to serve static angular pages after deploy

Newbie to nodejs. I have a an API folder - whenever the server get an API request - it should execute the function binded to that route. However - whenever there is a non-API request, I want the nodejs server serve the static files so that the…
Guy E
  • 1,193
  • 2
  • 11
  • 32
3
votes
5 answers

Rails 3 can't find route to static page

Am working my way thru Ruby on Rails Tutorial: Learn Rails by Example. I'm in the section entitled Mostly Static Pages. I get an error after I create an HTML page in the public directory which is called public/hello.html and should appear as in…
Jeff Y.
  • 41
  • 2
3
votes
3 answers

Routing in static html landing page

I have a small portfolio landing page based on js/css/html. No frameworks/CMS, just pure static html. Entry point is index.html file with content on English language. I want to use translations on my site: index.ru.html, index.ua.html, but I don't…
Sogl
  • 643
  • 1
  • 9
  • 25
3
votes
1 answer

Two versions of each blog post in Jekyll

I need two versions of each of my posts in a very simple Jekyll setup: The public facing version and a barebones version with branding specifically for embedding. I have one layout for each type: post.html post_embed.html I could accomplish this…
Chris Wilson
  • 6,371
  • 8
  • 31
  • 64
2
votes
1 answer

How to handle `unsafe-eval` using bitbucket static sites

I coded a static page using gatsby and deployed it. :80 is no problem, also when i hosted it on a github static page the console didnt spammed errors. For each i am using in my project, i get this chrome-console-error on my static…
Paulquappe
  • 156
  • 1
  • 5
  • 14
2
votes
1 answer

Cannot excecute make devserver command

I am new to pelican and when I try execute the following command it, fails. make devserver It gives me this error make: *** No rule to make target `devserver'. Stop. I am new to pelican and building blogs. Please help me here.
2
votes
1 answer

Bolt CMS Static html page gets 404

recently i have started to use Bolt CMS. i have made a theme with Angular JS but i wanted to use some static pages. as they mentioned in their Doc https://docs.bolt.cm/3.0/templates/templates-routes#automatic-template-selection i have added my link…
5cel
  • 58
  • 4
2
votes
1 answer

Justify text in markdowns jekyll

I'm using Jekyll. On markdowns I want to justify text, I can do it using CSS but i don't want to include HTML inside markdowns, is any possible way to justify text, any Jekyll code or something like that ?
user5308956
1
2 3 4 5 6 7 8