The static directory is copied directly into the public directory containing your finished web site.
If you want any static files to appear in your finished web site, simply put them in the static directory, and they will show up in the corresponding location in the public directory after your site is generated.
For example, this documentation site has a static/foo.jpg file. When the site is built, this file is copied into public/foo.jpg.
The static directory is where you want to put images, style sheets, JavaScript files, downloadable content, etc.
If a file is created dynamically by Uriel, but is also included in the static directory, the static version will end up overriding the dynamically-created version in the public directory when the site is generated. This can be useful if you need to override something like the generated robots.txt file.
If you want to link to static files from the web site, the most reliable way to do this is to use the {{static-url:foo.jpg}} substitution parameter. This parameter will reference the static files in a way that also verifies that the expected path exists at build time.
There is also a {{static-hash-url:foo.css}} parameter that works in a similar fashion, except that it copies the files to unique file names. This offers some additional benefits when working with CSS and JavaScript files.
This page was generated by Uriel with the following settings:
Page Details
| Resource | Path | Project File |
|---|---|---|
| Node | directories/static | nodes/directories/static |
| Template | default.html | templates/default.html |
| URL | /directories/static/ | public/directories/static/index.html |
Node Headers
| Header (Lowercase) | Value |
|---|---|
| tags | static, robots-txt |
| title | static |
| breadcrumb-separator | » |
| canonical-url | https://documentation.uriel.foo |
| rss-description | Uriel Documentation |
| rss-image-height | 32 |
| rss-image-url | /favicon-32x32.png |
| rss-image-width | 32 |
| rss-max-entries | 50 |
| rss-title | Uriel Documentation |
| rss-url | /rss.xml |
| sitemap-max-entries | 10000 |
| sitemap-url | /sitemap.xml |
| tag-node | tag |
| template | default.html |
Node Timestamps
| Type | Value |
|---|---|
| Created | |
| Modified | 2026-06-07T21:39:25-04:00 |
Node Methods
| Method | Value |
|---|---|
| get_parent_node() | directories/index |
| get_path() | directories/static |
| get_node_type() | file |
| get_url() | /directories/static/ |
| get_canonical_url() | https://documentation.uriel.foo/directories/static/ |
| get_name() | static |
| get_display_name() | Static |
| get_title() | static |
| get_escaped_title() | static |
| get_link() | <a href="/directories/static/">static</a> |
| get_canonical_link() | <a href="https://documentation.uriel.foo/directories/static/">static</a> |
| get_link_prefix() | <p> |
| get_link_suffix() | </p> |
| get_tags() | ['robots-txt', 'static'] |
| get_dest_dir() | ./public/directories/static |
| get_dest_file() | ./public/directories/static/index.html |
| get_breadcrumb_separator() | » |