Questions tagged [static-pages]
126 questions
0
votes
0 answers
Generating relative url in Middleman in tag's attribute
I need to get a relative url in the data-original attribute of img tag like this:
But I'm getting
As you can see, by setting…



helcim
- 789
- 13
- 27
0
votes
0 answers
Squarespace - Custom static page "malformed data"
I built a small single page application as a static page. I was able to upload it and activate it on my staging site a little while ago. After uploading the code to my production site, I cannot find the static page. I checked on my staging site and…

ravinggenius
- 816
- 1
- 6
- 14
0
votes
0 answers
ASP Core Static Files Taking a Long Time to Refresh
I'm building an Angular 2 / ASP Core WebApi project. I have it running in VS Code. I have "tsc -p wwwroot -w" running in a console and when I update a .ts file and refresh my browser I see the change immediately.
But when I make a change to a…

Zeus82
- 6,065
- 9
- 53
- 77
0
votes
2 answers
The blogger static page is not displaying content fully
The privacy policy of my static page - http://www.jobzal.com/p/privacy-policy.html contains around 1674 words.
The problem is the content is not displaying fully. Instead, it is showing only the snippet with 43 words that actually appears similar to…

Tamil Arasan
- 5
- 1
- 3
0
votes
0 answers
"Event driven" static webpage updates
I get that by the very nature of static web pages, their content is, well, "static". In a world though where it's becoming ever more popular to host static pages on a service like AWS S3 and run some cloud computing functionality through something…

user1840352
- 183
- 8
0
votes
1 answer
No route matches [GET] "staticpage.html"
I am trying to setup a new static and later dynamic page.
Inside app/controllers/ I created detailpages_controller.rb. Inside I have:
class DetailPagesController < ApplicationController
def show
render
end
end
Then, on config/routes.rbI…
user6673915
0
votes
2 answers
How to deal with a friendly url with parameters in a static webpage?
I have the following URL https://mywebsite/somepage/1234/5678 where somepage is a route to a page and the numbers are are parameters.
My page is a static page, just html and javascript. Ex.: https://mywebsite/somepage.html.
How could I open this…

Natanael
- 1,326
- 5
- 17
- 34
0
votes
2 answers
How to style a static page in rails 4 app
I want to style a static page to be as a landing page for the rails app.
The static page is from the StaticPagesController.
But the problem is when I add the class in the static page (home.html.erb)
and in the application.css add the styling it…
user3852239
0
votes
1 answer
Can Shortcodes be used in a Static WordPress Homepage?
I have a Static page set as the home page of my wordpress website. It has a custom shortcode to show a woocommerce catalog based on my own meta query.
When I add valid products, it does not show up immediately or even after a while. However, if I…

Shahid Thaika
- 2,133
- 5
- 23
- 59
0
votes
1 answer
static html page in CakePHP
I have a static html page in cakePHP application which I want to link in my route.php file.
$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'index']);
It uses the controller file and adds header, footer, css, JS, etc to the…

s_puria
- 397
- 1
- 8
- 19
0
votes
2 answers
Really static pages with Rails
Some page in the application must be accessible even application is down. For example pages for 50x errors. The easiest way to do so - create static HTML pages, which will be served by web-server (like apache on Nginx). Most of this pages have a…

potapuff
- 1,839
- 4
- 18
- 36
0
votes
2 answers
Pack a text file into an HTML file for download
Instead of creating an additional text file and provide a link to it, can one embed some texts into an HTML file and provide a link to download it? The solution should work for a static website.

xuhdev
- 8,018
- 2
- 41
- 69
0
votes
2 answers
Serving HTML+CSS+JS(angular) with flask
What i want to do is, just send down the HTML+css+js files as static pages on some routes like:
@app.route('/', methods=[GET])
def index():
return
Particularly i would like to stay away from templates, and rely on ajax/websocket…

Ishan Khare
- 1,745
- 4
- 28
- 59
0
votes
1 answer
How to add two Posts in a static wordpress page
All I am trying to do is to add two Posts in a wordpress Static home page.
Such as the one in the following picture.
I can't seem to find any option in the admin part of wordpress, and there is only one content box to post things. How do I get two…

MicroSumol
- 1,434
- 7
- 22
- 32
0
votes
2 answers
Static page blogger template
I am trying to create an issue blogger and have problems printing the contents of a static page. I want to show the contents inside a div if a page of static type, I tried the way
templates
blogger
static-pages

Ialberquilla
- 133
- 10