hugo-theme-relearn/exampleSite/content/dev/screenshots/_index.en.md
Sören Weber 1fe1efed5c
build: be a nice Hugo citizen in regards to screenshots
and remove chrome from the theme site builder screenshots
2024-09-12 19:48:20 +02:00

2.5 KiB

+++ description = "Recipe to create various documentation screenshots" title = "Screenshots" +++

Sometimes screenshots need to be redone. This page explains how to create the different screenshots, tools and settings

Common

Creation:

  • Use English translation
  • Empty search
  • Remove history checkmarks but leave it on the page thats used for the screenshot
  • After resize of the page into the required resolution, reload the page to have all scrollbars in default loading position

Demo Screenshot

Content:

A meaningful full-screen screenshot of an interesting page.

The content should be:

  • timeless: not showing any dates or often edited content
  • interesting: show a bunch of interesting elements like headings, code, etc
  • balanced: no cluttering with overpresent elements or coloring
  • aligned: aligned outlines

Used by:

Page URL: Screenshot Link

Creation:

  • save as images/screenshot.png
  • from original screenshot, scale to 900 x 600 and save as images/tn.png

Remarks:

The locations are mandatory due to Hugo's theme site builder.

Preview images/screenshot.png:

Screenshot

Preview images/tn.png:

tn

Hero Image

Content:

Show the Demo Screenshot page on different devices and different themes. Composition of the different device screenshots into a template.

The content should be:

  • consistent: always use the same page for all devices
  • pleasing: use a delightful background

Used by:

Page URL: Hero Image Link

Creation:

Preview images/hero.png:

Hero