diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2021-01-23 23:47:55 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2021-01-23 23:47:55 +0300 |
commit | 51248e2fa2f10235d99b2e04f2f4065eb318f754 (patch) | |
tree | 6aaa1c9ab8b9379b28391591c7ac90e90625915b /exampleSite/content | |
parent | b437103cc5ba85a39ed55d2d57eed60b87ab58a0 (diff) |
demo: update home/
Diffstat (limited to 'exampleSite/content')
-rw-r--r-- | exampleSite/content/home/demo.md | 24 | ||||
-rw-r--r-- | exampleSite/content/home/gallery/index.md | 24 | ||||
-rw-r--r-- | exampleSite/content/home/hero-academic.png | bin | 0 -> 7012 bytes | |||
-rw-r--r-- | exampleSite/content/home/hero.md | 85 | ||||
-rw-r--r-- | exampleSite/content/post/writing-technical-content/index.md | 10 |
5 files changed, 58 insertions, 85 deletions
diff --git a/exampleSite/content/home/demo.md b/exampleSite/content/home/demo.md index a5524f0c..3e7c64c0 100644 --- a/exampleSite/content/home/demo.md +++ b/exampleSite/content/home/demo.md @@ -1,6 +1,6 @@ --- # An instance of the Blank widget. -# Documentation: https://sourcethemes.com/academic/docs/page-builder/ +# Documentation: https://wowchemy.com/docs/getting-started/page-builder/ widget: blank # Activate this widget? true/false @@ -12,32 +12,32 @@ headless: true # Order that this section appears on the page. weight: 15 -title: Demos +title: Hugo Academic Theme Demo subtitle: design: columns: "1" background: - image: headers/bubbles-wide.jpg - image_darken: 0.6 + image: open-book.jpg + image_darken: 1.0 image_parallax: true image_position: center image_size: cover - text_color_light: true + text_color_light: false spacing: padding: ["20px", "0", "20px", "0"] --- -Welcome to the demo of the **resumé template** for Academic. +Welcome to the demo of the **academic resumé template** for Wowchemy, the Website Builder for Hugo. -[View more templates](https://sourcethemes.com/academic/templates/) for Academic. +[Explore similar templates](https://wowchemy.com/templates/) -**Over 500,000 [Amazing Websites](https://sourcethemes.com/academic/) have Already Been Built with Academic** +**Over 500,000 [Amazing Websites](https://wowchemy.com/) have Already Been Built with Wowchemy** -**[Join](https://sourcethemes.com/academic/docs/install/) the Most Empowered Hugo Community** +**[Join](https://wowchemy.com/templates/) the Most Empowered Hugo Community** -{{% alert note %}} -This homepage section is an example of adding [elements](https://sourcethemes.com/academic/docs/writing-markdown-latex/) to the [*Blank* widget](https://sourcethemes.com/academic/docs/widgets/). +{{% callout note %}} +This homepage section is an example of adding [elements](https://wowchemy.com/docs/content/writing-markdown-latex/) to the [*Blank* widget](https://wowchemy.com/docs/getting-started/page-builder/). Backgrounds can be applied to any section. Here, the *background* option is set give an *image parallax* effect. -{{% /alert %}} +{{% /callout %}} diff --git a/exampleSite/content/home/gallery/index.md b/exampleSite/content/home/gallery/index.md index 69b5a0b6..fb51ff96 100644 --- a/exampleSite/content/home/gallery/index.md +++ b/exampleSite/content/home/gallery/index.md @@ -1,12 +1,16 @@ -+++ -# Gallery section using the Blank widget and Gallery element (shortcode). -widget = "blank" # See https://sourcethemes.com/academic/docs/page-builder/ -headless = true # This file represents a page section. -active = true # Activate this widget? true/false -weight = 66 # Order that this section will appear. - -title = "Gallery" -subtitle = "" -+++ +--- +# An instance of the Blank widget with a Gallery page element. +# Documentation: https://wowchemy.com/docs/getting-started/page-builder/ +widget: blank + +# This file represents a page section. +headless: true + +# Order that this section appears on the page. +weight: 66 + +title: Gallery +subtitle: +--- {{< gallery >}} diff --git a/exampleSite/content/home/hero-academic.png b/exampleSite/content/home/hero-academic.png Binary files differnew file mode 100644 index 00000000..89afaff3 --- /dev/null +++ b/exampleSite/content/home/hero-academic.png diff --git a/exampleSite/content/home/hero.md b/exampleSite/content/home/hero.md index c6ce8762..5f54202e 100644 --- a/exampleSite/content/home/hero.md +++ b/exampleSite/content/home/hero.md @@ -1,58 +1,27 @@ -+++ -# Hero widget. -widget = "hero" # See https://sourcethemes.com/academic/docs/page-builder/ -headless = true # This file represents a page section. -active = true # Activate this widget? true/false -weight = 10 # Order that this section will appear. - -title = "Academic" - -# Hero image (optional). Enter filename of an image in the `static/media/` folder. -hero_media = "hero-academic.png" - -[design.background] - # Apply a background color, gradient, or image. - # Uncomment (by removing `#`) an option to apply it. - # Choose a light or dark text color by setting `text_color_light`. - # Any HTML color name or Hex value is valid. - - # Background color. - # color = "navy" - - # Background gradient. - gradient_start = "#4bb4e3" - gradient_end = "#2b94c3" - - # Background image. - # 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`. - # image_parallax = true # Use a fun parallax-like fixed background effect? true/false - - # Text color (true=light or false=dark). - text_color_light = true - -# Call to action links (optional). -# Display link(s) by specifying a URL and label below. Icon is optional for `[cta]`. -# Remove a link/note by deleting a cta/note block. -[cta] - url = "https://sourcethemes.com/academic/docs/install/" - label = "Get Started" - icon_pack = "fas" - icon = "download" - -[cta_alt] - url = "https://sourcethemes.com/academic/" - label = "View Documentation" - -# Note. An optional note to show underneath the links. -[cta_note] - label = '<a class="js-github-release" href="https://sourcethemes.com/academic/updates" data-repo="gcushen/hugo-academic">Latest release<!-- V --></a>' -+++ - -**The Best Way to Create the Website You Want from Markdown (or Jupyter/RStudio)** - -Build **Anything** with Widgets - -<span style="text-shadow: none;"><a class="github-button" href="https://github.com/gcushen/hugo-academic" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star this on GitHub">Star</a><script async defer src="https://buttons.github.io/buttons.js"></script></span> +--- +widget: hero +headless: true +weight: 10 +title: Hugo Academic Starter +hero_media: hero-academic.png +cta: + label: '**Get Started**' + url: https://wowchemy.com/templates/ +cta_alt: + label: Ask a question + url: https://discord.gg/z8wNYzb +cta_note: + label: >- + <a class="js-github-release" href="https://wowchemy.com/updates/" data-repo="gcushen/hugo-academic">Latest release<!-- V --></a><div style="text-shadow: none;"><a class="github-button" href="https://github.com/wowchemy/wowchemy-hugo-modules" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star Wowchemy site builder for Hugo">Star</a></div><div style="text-shadow: none;"><a class="github-button" href="https://github.com/wowchemy/starter-academic" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star the Academic template">Star</a></div> +design: + background: + gradient_end: '#1976d2' + gradient_start: '#004ba0' + text_color_light: true +advanced: + css_class: fullscreen +--- + +**The FREE, Hugo-based open source website builder and template trusted by 500,000+ sites.** + +**Build anything with widgets** - from landing pages, knowledge bases, and courses to academic resumés, conferences, and tech blogs. diff --git a/exampleSite/content/post/writing-technical-content/index.md b/exampleSite/content/post/writing-technical-content/index.md index 271dde3b..4ff9f76b 100644 --- a/exampleSite/content/post/writing-technical-content/index.md +++ b/exampleSite/content/post/writing-technical-content/index.md @@ -260,19 +260,19 @@ renders as ### Callouts -Academic supports a [shortcode for callouts](https://sourcethemes.com/academic/docs/writing-markdown-latex/#alerts), also referred to as *asides*, *hints*, or *alerts*. By wrapping a paragraph in `{{%/* alert note */%}} ... {{%/* /alert */%}}`, it will render as an aside. +Academic supports a [shortcode for callouts](https://wowchemy.com/docs/content/writing-markdown-latex/#callouts), also referred to as *asides*, *hints*, or *alerts*. By wrapping a paragraph in `{{%/* callout note */%}} ... {{%/* /callout */%}}`, it will render as an aside. ```markdown -{{%/* alert note */%}} +{{%/* callout note */%}} A Markdown aside is useful for displaying notices, hints, or definitions to your readers. -{{%/* /alert */%}} +{{%/* /callout */%}} ``` renders as -{{% alert note %}} +{{% callout note %}} A Markdown aside is useful for displaying notices, hints, or definitions to your readers. -{{% /alert %}} +{{% /callout %}} ### Spoilers |