CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 20 Aug 2025 12:27:47 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20081220231120
location: https://web.archive.org/web/20081220231120/https://github.com/mattetti/merb-static-pages-slice/tree
server-timing: captures_list;dur=0.851389, exclusion.robots;dur=0.027832, exclusion.robots.policy;dur=0.014463, esindex;dur=0.017846, cdx.remote;dur=122.692728, LoadShardBlock;dur=1422.125073, PetaboxLoader3.datanode;dur=143.862735, PetaboxLoader3.resolve;dur=115.524763
x-app-server: wwwb-app220
x-ts: 302
x-tr: 1588
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app220; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Wed, 20 Aug 2025 12:27:48 GMT
content-type: text/html; charset=utf-8
content-length: 128
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sat, 20 Dec 2008 23:11:20 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: tender_email=; domain=.github.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-set-cookie: tender_expires=; domain=.github.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-set-cookie: tender_hash=; domain=.github.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-set-cookie: _github_sess=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20081220231120/https://github.com/mattetti/merb-static-pages-slice/tree/master
x-archive-orig-x-runtime: 27ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 128
cache-control: max-age=1800
memento-datetime: Sat, 20 Dec 2008 23:11:20 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 20 Dec 2008 23:11:20 GMT", ; rel="memento"; datetime="Sat, 20 Dec 2008 23:11:20 GMT", ; rel="next memento"; datetime="Sun, 12 Apr 2009 17:23:26 GMT", ; rel="last memento"; datetime="Sun, 12 Apr 2009 17:23:26 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20081220221633_crawl103-c/52_7_20081220230925_crawl103.arc.gz
server-timing: captures_list;dur=0.814388, exclusion.robots;dur=0.030741, exclusion.robots.policy;dur=0.014141, esindex;dur=0.018913, cdx.remote;dur=47.884846, LoadShardBlock;dur=567.108637, PetaboxLoader3.datanode;dur=185.453407, PetaboxLoader3.resolve;dur=428.418871, load_resource;dur=391.031912
x-app-server: wwwb-app220
x-ts: 301
x-tr: 1031
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 20 Aug 2025 12:27:50 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sat, 20 Dec 2008 23:11:20 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: tender_email=; domain=.github.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-set-cookie: tender_expires=; domain=.github.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-set-cookie: tender_hash=; domain=.github.com; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-set-cookie: _github_sess=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 224ms
x-archive-orig-etag: "eecc4a826889d4001dc43cfc0b75a3ee"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 16799
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 20 Dec 2008 23:11:20 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 20 Dec 2008 23:11:20 GMT", ; rel="memento"; datetime="Sat, 20 Dec 2008 23:11:20 GMT", ; rel="next memento"; datetime="Sat, 11 Apr 2009 09:37:15 GMT", ; rel="last memento"; datetime="Thu, 17 Sep 2009 04:54:46 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20081220221633_crawl103-c/52_7_20081220230925_crawl103.arc.gz
server-timing: captures_list;dur=0.823973, exclusion.robots;dur=0.031434, exclusion.robots.policy;dur=0.014016, esindex;dur=0.024373, cdx.remote;dur=51.081765, LoadShardBlock;dur=723.264430, PetaboxLoader3.datanode;dur=218.004370, PetaboxLoader3.resolve;dur=318.464709, load_resource;dur=223.410308
x-app-server: wwwb-app220
x-ts: 200
x-tr: 1068
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mattetti's merb-static-pages-slice at master — GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Use markdown files to store and serve static pages (about us, contact us, etc) |
Clone URL: |
git://github.com/mattetti/merb-static-pages-slice.git
Give this clone URL to anyone.
git clone git://github.com/mattetti/merb-static-pages-slice.git
|
name | age | message | |
---|---|---|---|
![]() |
LICENSE | Fri Dec 12 03:33:05 -0800 2008 | first working version including request specs [mattetti] |
![]() |
README.markdown | Fri Dec 12 20:30:26 -0800 2008 | fixed a typo thanks to @richardholland [mattetti] |
![]() |
Rakefile | Sun Dec 14 13:11:18 -0800 2008 | fixed the deps on Merb 1.1 :( [mattetti] |
![]() |
app/ | Fri Dec 12 03:33:05 -0800 2008 | first working version including request specs [mattetti] |
![]() |
config/ | Fri Dec 12 02:07:51 -0800 2008 | 'virgin' slice [mattetti] |
![]() |
lib/ | Fri Dec 12 03:33:05 -0800 2008 | first working version including request specs [mattetti] |
![]() |
public/ | Fri Dec 12 02:07:51 -0800 2008 | 'virgin' slice [mattetti] |
![]() |
spec/ | Fri Dec 12 03:33:05 -0800 2008 | first working version including request specs [mattetti] |
![]() |
stubs/ | Fri Dec 12 02:07:51 -0800 2008 | 'virgin' slice [mattetti] |
README.markdown
MerbStaticPagesSlice
Write static content using the markdown format and serve easily in your app. This slice was extracted/inspired by the work I did on the Merb Book
To be able to use this slice, you need to do 2 things
:
-
mount the slice in your router
-
indicate to the slice where to find your static files
To mount the slice in your router, open your router.rb and add:
Merb::Router.prepare do
slice(:merb_static_pages_slice, :path => "static")
end
To set the path to your static files, add the following line in your init.rb (inside the before_app_loads block)
Merb::BootLoader.before_app_loads do
::MerbStaticPagesSlice.push_path(:pages, Merb.root / 'app' / 'pages', "**/*.markdown")
end
That’s it, now put your static file in your path and enjoy :)
To learn more about the syntax, read the Maruku documentation
- Matt Aimonetti
This feature is coming soon. Sit tight!