Perfect static site template

Hello, world!

This is a small template for a small static site.

(Almost) Proper Favicon

Indeed, this site was made to mess with ‘favicons’. This is damn hard thing in a modern web. You know, different formats, tons of scaled images, links with strange names, web manifests. There is so many ways to shoot youself in the foot.

Single source of trurh: favicon.svg

All other formats is generated from the SVG source.

Image: green circle

Legacy favicon.ico (32×32)

It is present in the site’s root, but not linked.

Why it is not linked?

Why it is still present?

(Research in progress…)

Apple touch icon (180×180)

It also is present on predefined place /apple-touch-icon.png, but not linked.

Why it is not linked?

Manifest: no web manifest

Web manifest is considered harmful for non-PWA multi-page sites, so it’s not included.

Instead of it, there is a bit outdated, but standard meta tag application-name. It is supported by mobile Chrome.

Known imperfections:

(Research in progress…)

OpenGraph

There is set of OpenGraph tags. Nothing special, but it works. Unfortunately, SVG is not supported by OpenGraph, so there is PNG version made of SVG.

How it works?

Facebook

Screenshot: this site in the Sharing Debugger

(That was done not in the real Facebook, only the Sharing Debugger.)

Twitter (DM)

Screenshot: link to this site in Twitter

Skype chat

Screenshot: link to this site in Skype

Well. It works.

Note: by using media queries, one can easily choose dark and light versions of screenshots, to conform overall page style. Even SVG icon can have media queries. But not OpenGraph.

Mandatory section

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

P.S.

Valid HTML

Valid CSS

P.P.S.

Indeed, indeed, this site is also a placeholder for a Makefile.