Commit b936408 1 parent 55e1844 commit b936408 Copy full SHA for b936408
File tree 1 file changed +5
-5
lines changed
docs/content/documentation/templates
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ logic applies.
123
123
1 . The base directory is the Zola root directory, where the ` config.toml ` is
124
124
2 . For the given path: if it starts with ` @/ ` , replace that with ` content/ ` instead and trim any leading ` / `
125
125
3 . Search in the following locations in this order, returning the first where the file exists:
126
- 1 . $base_directory + $path
127
- 2 . $base_directory + "static/" + $path
128
- 3 . $base_directory + "content/" + $path
129
- 4 . $base_directory + $output_path + $path
130
- 5 . $base_directory + "themes" + $theme + "static/" + $path (only if using a theme)
126
+ 1 . ` $base_directory ` + ` $path `
127
+ 2 . ` $base_directory ` + ` "static/" ` + ` $path `
128
+ 3 . ` $base_directory ` + ` "content/" ` + ` $path `
129
+ 4 . ` $base_directory ` + ` $output_path ` + ` $path `
130
+ 5 . ` $base_directory ` + ` "themes" ` + ` $theme ` + ` "static/" ` + ` $path ` (only if using a theme)
131
131
132
132
In practice this means that ` @/some/image.jpg ` , ` /content/some/image.jpg ` and ` content/some/image.jpg ` will point to the
133
133
same thing.
You can’t perform that action at this time.
0 commit comments