Questions tagged [static-pages]

126 questions
1
vote
1 answer

How do the static pages of getbootstrap.com generated

I try to write one static pages and upload them into github. I noticed bootstrap also is in github. my question is: are there any tools to help to generate static pages? Can you share me the way for bootstrap? Thanks,
itech
  • 45
  • 7
1
vote
2 answers

Ruby on Rails - Static Pages Contact Form

I was following the Ruby on Rails tutorial by Michael Hartl, and I used the template there to create a contacts page for my application. However, I would like to add a contacts page that has a form method. I use the same Static Pages Controller as…
user3713082
1
vote
2 answers

How can i create a route that returns a URL without controller reference in ASP.NET MVC

I have a controller call DefaultController. Inside this controller i have views for what would be the equivalent of static pages. The URLs look like www.site.com/Default/PageName Is it possible to create a route that would format these URL…
Rich
  • 93
  • 1
  • 3
1
vote
2 answers

how to process dynamic urls as static pages using nginx?

I want my Nginx serve dynamical urls as static pages, e.g. given a url "/book?name=ruby_lang&published_at=2014" , the nginx will serve a static file (which is generated automatically ) named as: "book?name=ruby_lang&published_at=2014.html" …
Siwei
  • 19,858
  • 7
  • 75
  • 95
1
vote
1 answer

Rails create static page from dynamic page

This seems like it should not be that hard but I am trying to figure out how to create a 'snapshot' or 'locked' view from one on my views. This view currently is dynamic but I want to lock it so that any changes I make will not propagate until I…
Bob Roberts
  • 1,013
  • 9
  • 15
1
vote
2 answers

Rails User or Group Pages Gem

I'm looking for a rails gem that allows my users (and or groups) the ability to create "pages". I want it similar (if not nearly exactly) like pages.github.com, which I believe uses a library called Jekyll. I've looked into this briefly, but I…
Volte
  • 1,905
  • 18
  • 25
1
vote
2 answers

HOW: Static company website with Rails

I have a really stupid question in my mind. I have used Wordpress to create a website for long time, but I dont want to use it anymore. And now I am looking for little bit different approach. Otherwise, I am quite new in Ruby on Rails. I have read…
1
vote
6 answers

Hartl's Tutorial Section 5.3.2: Rails Routes

I've been following along in the tutorial exactly as it has been written. So far everything has gone without a hitch, until this section. I was supposed to change the "GET" statements in the config/routes.rb file to the…
Nathan McKaskle
  • 2,926
  • 12
  • 55
  • 93
1
vote
1 answer

Difference between static & dynamic pages?

I was doing some research on the types of web pages available and I came across these 2 types: static & dynamic. However, the sites which I read it from does not provide me with much information for me to understand what does these types of pages do…
user192249
  • 443
  • 2
  • 6
  • 16
1
vote
2 answers

Rails: a good way to modify simple static pages?

Is there a way to allow admins to modify the content of simple static pages? I know I can create a "Pages" model with attributes like "Title", "Content", "Images" etc, and make administrators modify them. But is there a gem for such a thing?
Barbared
  • 800
  • 1
  • 8
  • 25
0
votes
1 answer

Is there any php script that using regex or other methods to clean html pages?

Here is my idea, I want to create a tool that can create static html pages, out of php pages, perhaps generated by a cms. Then I want to use some kind of regex, or clean tool, to reorganize the html to generate a cleaner, more standardized, yslow…
crosenblum
  • 1,869
  • 5
  • 34
  • 57
0
votes
1 answer

404 static error pages in Rails, path context to public resources changes depending on request URI

I was working on overriding boiler plate 404 Rails page in RAIlS_ROOT/public. This is Rails 3.1.1 hosted on Pasenger. I noticed that paths in the html document loose context on routes inside a controller resource path in a production environment. …
0
votes
0 answers

I have deployed my WordPress site (osmfancytext.com) on Netlify - sitemap_index.xml is empty

I have live my WP site on Netlify static pages but my Yoast plugin (sitemap_index.xml) showing empty why? site URL: https://osmfancytext.com/ I have expect to show my all site pages, post media inside the https://osmfancytext.com/sitemap_index.xml
0
votes
2 answers

How can I safely use the Azure Application Insights Instrumentation Key with Javascript?

I am trying to get metrics with the Azure Application Insights Service for my Static Page built by Angular. To add the code snippet for javascript of Application Insights to the application I need to set the Instrumentation Key (Connection String)…
ricxk
  • 67
  • 1
  • 10
0
votes
0 answers

OG Image not showing on WhatsApp

I have a static webpage at www.poggenamp.com. I have added OG tags to the element but for some reason the OG image will not show on WhatsApp. I am quite new to this, any help would be greatly appreciated. I added the itemprop tag to the OG…
Param
  • 13
  • 4
1 2 3
8 9