This Hugo theme create websites optimised for search engines.
- Simple one-column design
- Uses Bulma CSS, based on the work by Päktech
- Optimised for technical SEO, mimicking the functionality of the Yoast SEO Wordpress plugin
- Optimised for use with Org-Mode.
- Control over which additional Javascript and CSS is loaded using page variables.
The following pages use this theme:
At the root of your Hugo project, run:
git submodule add https://github.com/pprevos/hugo-thirdhemisphere themesEmacs Org mode is the most powerful markdown language in existence. Hugo can parse Org-Mode files out-of-the-box.
The archetypes folder contains a template for new Org mode pages,
which includes all theme-specific page variables.
Read this article for more information on how to use Org-Mode and Hugo.
Theindex.html and 404.html pages use hero images.
The hero image for the index page is set in the heroindex site
parameter in the configuration file.
The hero image for the 404 page is set in the hero404 site parameter
in the configuration file.
contact.md or contact.org page
in the content folder with the appropriate title and set the layout to
page, a plain page with only a header and footer. You can use this
template for other pages that don’t require a featured image and author
information.
The contact from shortcode enables a form by assigning an endpoint that processes the data. The example below uses Formspree, but this can be any other endpoint.
{{< contact-form "https://formspree.io/{form_id}" >}}
{{< slider "image folder location" >}}
The activate the Javascript code for the slider, also set the slider
variable to true in your config file.
You can export a BibTeX file to JSON withe the powerful Pandoc software:
pandoc bibliography.bib -t csljson -o bibliography.json
You can also export from your favourite bibliography manager, such as Zotero, but make sure you select CSL JSON or the shortcode will be able to parse the content.
The JSON file in your data folder needs to be named bibliography.json.
To show the bibliography, use the following shortcode:
{{< bibliography "keyword" >}}
The entries will show in the order in which they appear in the JSON file.
If you want to show all entries in the bibliography, then omit the keyword parameter.
The categories shortcode lists all article categories, a description and an icon, for use in the homepage and/or about page.You can add an icon to this summary by setting the icon variable in
the relevant index file.
- Quality content
- Good UX & UI
- Flawless security
- Effective PR and social
- Technical excellence
This purpose of this theme is to help achieve these goals.
Any files that have theprivate option set to true are disallowed.
You need to set the enableRobotsTXT site parameter to true to enable
this functionality.
Any files that have the private option set to true are excluded from
the sitemap.
The robots meta tag for all files is set to index, follow. For any
files that have the private option set to true, the tag is set to
noindex, nofollow.
Each page contains a self-referencing
canonical link. Index pages
contain an alternate link to the relevant RSS file.
Each page contains an alternate self-referencing link wit the site
language code.
The theme uses the built-in Open Graph and Twitter card templates.
Content pages also have the
article
schema in JSON-LD format. This schema uses the:
- Title or SEO title of the page
- Page description
- Featured images
- Published date
- Last modified date
- Site author or page author
- Publishing organisation
- Site logo (favicon)
The SEO assessment only appears when running the site on localhost, and
when the seo page parameter is set to true.
h1
header and an optional separate version for the title tag. To set a
separate title for a page, use the seotitle option. The ideal
title width is between 50 and 60 characters, and
it should contain the keyphrase.
You can define a featured image with the images parameter. This image
should be at least 800 pixels wide with an aspect ratio of 3:2. The
image is used in the structured data page summary on index pages. The
template assigns the meta description to the alt
and title tags.
The content length need to be at least 300 words
and contain the keyphrase appears in first
paragraph. Ideally, the key phrase should be mentioned a few times
throughout the text.
At least one heading needs to contain the keyphrase.
The logo image is a square png file that is used in the navigation bar and as the favicon. The location of the logo file is identified in the params section of the config file, e.g. =logo = “/favicon.png”=. The RSS template has been enhanced to remove the author e-mail. The RSS feed shows the full content of each regular page instead of only the summary. Each index category and tag has its own feed. Pages with theprivate parameter set to true are excluded from the RSS feed.
If you like to typeset mathematical equations on your website, the set
the math parameter to true. This setting loads
MathJax so you can display beautiful
mathematics.
Each page shows simple sharing buttons for either Facebook, Twitter,
Reddit or LinkedIn.
To enable these buttons, set the relevant site parameters to true in
the site configuration. For Twitter, you need to set the username
without the @-symbol, e.g. =”pprevos”=
You can find the relevant icons on the
Font Awesome website,
e.g. ”fab fa-github”.
copyright variable holds the copyright statement
text, which can include HTML.
