diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-06-16 11:14:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-16 11:14:20 -0700 |
| commit | 69652ff7847c85d7b3e1340603a3c5b7d278dc7f (patch) | |
| tree | f6302f564c063b18c6775a2fde66f7c4e18c4e92 /docs/quick_tour | |
| parent | 32697a643949121fd7f4f81c364c365b9c55107f (diff) | |
| parent | da42d5794a1d2fff3e6a57980cf7018ec2e361b9 (diff) | |
| download | pyramid-69652ff7847c85d7b3e1340603a3c5b7d278dc7f.tar.gz pyramid-69652ff7847c85d7b3e1340603a3c5b7d278dc7f.tar.bz2 pyramid-69652ff7847c85d7b3e1340603a3c5b7d278dc7f.zip | |
Merge pull request #2649 from stevepiercy/master
Quick Tour - fix static assets bug and clean up
Diffstat (limited to 'docs/quick_tour')
| -rw-r--r-- | docs/quick_tour/json/hello_world.jinja2 | 2 | ||||
| -rw-r--r-- | docs/quick_tour/static_assets/hello_world.jinja2 | 2 | ||||
| -rw-r--r-- | docs/quick_tour/static_assets/hello_world_static.jinja2 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/quick_tour/json/hello_world.jinja2 b/docs/quick_tour/json/hello_world.jinja2 index 4fb9be074..a55865231 100644 --- a/docs/quick_tour/json/hello_world.jinja2 +++ b/docs/quick_tour/json/hello_world.jinja2 @@ -2,7 +2,7 @@ <html lang="en"> <head> <title>Hello World</title> - <link rel="stylesheet" href="{{ request.static_url('static/app.css') }}"/> + <link rel="stylesheet" href="{{ request.static_url('__main__:static/app.css') }}"/> </head> <body> <h1>Hello {{ name }}!</h1> diff --git a/docs/quick_tour/static_assets/hello_world.jinja2 b/docs/quick_tour/static_assets/hello_world.jinja2 index 0fb2ce296..a55865231 100644 --- a/docs/quick_tour/static_assets/hello_world.jinja2 +++ b/docs/quick_tour/static_assets/hello_world.jinja2 @@ -2,7 +2,7 @@ <html lang="en"> <head> <title>Hello World</title> - <link rel="stylesheet" href="/static/app.css"/> + <link rel="stylesheet" href="{{ request.static_url('__main__:static/app.css') }}"/> </head> <body> <h1>Hello {{ name }}!</h1> diff --git a/docs/quick_tour/static_assets/hello_world_static.jinja2 b/docs/quick_tour/static_assets/hello_world_static.jinja2 index 4fb9be074..0fb2ce296 100644 --- a/docs/quick_tour/static_assets/hello_world_static.jinja2 +++ b/docs/quick_tour/static_assets/hello_world_static.jinja2 @@ -2,7 +2,7 @@ <html lang="en"> <head> <title>Hello World</title> - <link rel="stylesheet" href="{{ request.static_url('static/app.css') }}"/> + <link rel="stylesheet" href="/static/app.css"/> </head> <body> <h1>Hello {{ name }}!</h1> |
