diff --git a/archetypes/home.md b/archetypes/home.md index ff1edd73..e979e51c 100644 --- a/archetypes/home.md +++ b/archetypes/home.md @@ -27,7 +27,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "image.jpg" # Name of image in `static/img/`. + # image = "image.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 45214db2..5f1ccf9a 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -123,7 +123,7 @@ contact_links = [ ## Social ############################ -# Default image for social sharing and search engines. Place image in `static/img/` folder and specify image name here. +# Default image for social sharing and search engines. Place image in `static/media/` folder and specify image name here. sharing_image = "" # Twitter username (without @). Used when a visitor shares your site on Twitter. diff --git a/exampleSite/content/courses/_index.md b/exampleSite/content/courses/_index.md index 353cc200..1b23e8ed 100644 --- a/exampleSite/content/courses/_index.md +++ b/exampleSite/content/courses/_index.md @@ -2,7 +2,7 @@ title: Courses layout: docs # Do not modify. -# Optional header image (relative to `static/img/` folder). +# Optional header image (relative to `static/media/` folder). header: caption: "" image: "" diff --git a/exampleSite/content/home/demo.md b/exampleSite/content/home/demo.md index 8b3c6acd..fb4258a3 100644 --- a/exampleSite/content/home/demo.md +++ b/exampleSite/content/home/demo.md @@ -29,7 +29,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - image = "headers/bubbles-wide.jpg" # Name of image in `static/img/`. + image = "headers/bubbles-wide.jpg" # Name of image in `static/media/`. image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size. image_position = "center" # Options include `left`, `center` (default), or `right`. diff --git a/exampleSite/content/home/featured.md b/exampleSite/content/home/featured.md index 7c74def8..5fa4c527 100644 --- a/exampleSite/content/home/featured.md +++ b/exampleSite/content/home/featured.md @@ -53,7 +53,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/content/home/hero.md b/exampleSite/content/home/hero.md index 73e2ccea..c6ce8762 100644 --- a/exampleSite/content/home/hero.md +++ b/exampleSite/content/home/hero.md @@ -7,7 +7,7 @@ weight = 10 # Order that this section will appear. title = "Academic" -# Hero image (optional). Enter filename of an image in the `static/img/` folder. +# Hero image (optional). Enter filename of an image in the `static/media/` folder. hero_media = "hero-academic.png" [design.background] @@ -24,7 +24,7 @@ hero_media = "hero-academic.png" gradient_end = "#2b94c3" # Background image. - # image = "" # Name of image in `static/img/`. + # image = "" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # image_size = "cover" # Options are `cover` (default), `contain`, or `actual` size. # image_position = "center" # Options include `left`, `center` (default), or `right`. diff --git a/exampleSite/content/home/people.md b/exampleSite/content/home/people.md index 40885577..31b4cc57 100644 --- a/exampleSite/content/home/people.md +++ b/exampleSite/content/home/people.md @@ -41,7 +41,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/content/home/posts.md b/exampleSite/content/home/posts.md index 0071af26..d95b1c4d 100644 --- a/exampleSite/content/home/posts.md +++ b/exampleSite/content/home/posts.md @@ -53,7 +53,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/content/home/projects.md b/exampleSite/content/home/projects.md index 09e5be2b..fcd20e69 100644 --- a/exampleSite/content/home/projects.md +++ b/exampleSite/content/home/projects.md @@ -61,7 +61,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/content/home/publications.md b/exampleSite/content/home/publications.md index b0d7d214..88379492 100644 --- a/exampleSite/content/home/publications.md +++ b/exampleSite/content/home/publications.md @@ -53,7 +53,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/content/home/slider.md b/exampleSite/content/home/slider.md index 6ddc3be9..32f9166f 100644 --- a/exampleSite/content/home/slider.md +++ b/exampleSite/content/home/slider.md @@ -23,7 +23,7 @@ height = "" # Overlay a color or image (optional). # Deactivate an option by commenting out the line, prefixing it with `#`. overlay_color = "#666" # An HTML color value. - overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/img/` folder. + overlay_img = "headers/bubbles-wide.jpg" # Image path relative to your `static/media/` folder. overlay_filter = 0.5 # Darken the image. Value in range 0-1. # Call to action button (optional). @@ -40,7 +40,7 @@ height = "" align = "left" overlay_color = "#555" # An HTML color value. - overlay_img = "" # Image path relative to your `static/img/` folder. + overlay_img = "" # Image path relative to your `static/media/` folder. overlay_filter = 0.5 # Darken the image. Value in range 0-1. [[item]] @@ -49,6 +49,6 @@ height = "" align = "right" overlay_color = "#333" # An HTML color value. - overlay_img = "" # Image path relative to your `static/img/` folder. + overlay_img = "" # Image path relative to your `static/media/` folder. overlay_filter = 0.5 # Darken the image. Value in range 0-1. +++ diff --git a/exampleSite/content/home/talks.md b/exampleSite/content/home/talks.md index bb92b27f..0b1fdd1a 100644 --- a/exampleSite/content/home/talks.md +++ b/exampleSite/content/home/talks.md @@ -55,7 +55,7 @@ subtitle = "" # gradient_end = "SkyBlue" # Background image. - # image = "background.jpg" # Name of image in `static/img/`. + # image = "background.jpg" # Name of image in `static/media/`. # image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque. # Text color (true=light or false=dark). diff --git a/exampleSite/content/post/_index.md b/exampleSite/content/post/_index.md index 5ba086ff..df6bf6a7 100644 --- a/exampleSite/content/post/_index.md +++ b/exampleSite/content/post/_index.md @@ -7,7 +7,7 @@ title: Posts # 3 = Card view: 2 -# Optional header image (relative to `static/img/` folder). +# Optional header image (relative to `static/media/` folder). header: caption: "" image: "" diff --git a/exampleSite/content/publication/_index.md b/exampleSite/content/publication/_index.md index 510d5769..1c324d54 100644 --- a/exampleSite/content/publication/_index.md +++ b/exampleSite/content/publication/_index.md @@ -8,7 +8,7 @@ title: Publications # 4 = Citation view: 4 -# Optional header image (relative to `static/img/` folder). +# Optional header image (relative to `static/media/` folder). header: caption: "" image: "" diff --git a/exampleSite/content/slides/example/index.md b/exampleSite/content/slides/example/index.md index d3dc3842..25a1fccd 100644 --- a/exampleSite/content/slides/example/index.md +++ b/exampleSite/content/slides/example/index.md @@ -129,14 +129,14 @@ Press the `S` key to view the speaker notes! --- -{{< slide background-image="/img/boards.jpg" >}} +{{< slide background-image="/media/boards.jpg" >}} ## Custom Slide Customize the slide style and background ```markdown -{{}} +{{}} {{}} {{}} ``` diff --git a/exampleSite/content/talk/_index.md b/exampleSite/content/talk/_index.md index 7d27cb39..aa6e6a8e 100644 --- a/exampleSite/content/talk/_index.md +++ b/exampleSite/content/talk/_index.md @@ -7,7 +7,7 @@ title: Recent & Upcoming Talks # 3 = Card view: 2 -# Optional header image (relative to `static/img/` folder). +# Optional header image (relative to `static/media/` folder). header: caption: "" image: "" diff --git a/layouts/slides/baseof.html b/layouts/slides/baseof.html index a30aea7f..7391b197 100644 --- a/layouts/slides/baseof.html +++ b/layouts/slides/baseof.html @@ -2,7 +2,7 @@ {{ $media_dir := site.Params.media_dir | default "media" }} - {{ $scr.Set "media_dir" $media_dir }} + {{ .Scratch.Set "media_dir" $media_dir }} {{ $css := site.Data.assets.css }} {{ $cdn_url_reveal := "https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.8.0" }}