From 7a38bbf630e77eb3319ede9f3f42a176259f46ff Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Mon, 5 Aug 2024 01:51:56 +0200 Subject: [PATCH] Rewrite theme's README, referencing the upstream hugo-theme-notrack, and leaving the LICENSE for it --- themes/hugo-theme-ipng/.gitignore | 2 - themes/hugo-theme-ipng/README.md | 537 +----------------- themes/hugo-theme-ipng/images/screenshot.png | 3 - .../hugo-theme-ipng/images/social-links.png | 3 - themes/hugo-theme-ipng/images/tn.png | 3 - 5 files changed, 1 insertion(+), 547 deletions(-) delete mode 100644 themes/hugo-theme-ipng/.gitignore delete mode 100644 themes/hugo-theme-ipng/images/screenshot.png delete mode 100644 themes/hugo-theme-ipng/images/social-links.png delete mode 100644 themes/hugo-theme-ipng/images/tn.png diff --git a/themes/hugo-theme-ipng/.gitignore b/themes/hugo-theme-ipng/.gitignore deleted file mode 100644 index 86f7aa1..0000000 --- a/themes/hugo-theme-ipng/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.hugo_build.lock -styles.css.map diff --git a/themes/hugo-theme-ipng/README.md b/themes/hugo-theme-ipng/README.md index 67ffaf3..f12180e 100644 --- a/themes/hugo-theme-ipng/README.md +++ b/themes/hugo-theme-ipng/README.md @@ -1,538 +1,3 @@ # Notrack -An original, minimal theme with a focus on self-sufficiency and -decentralization. By default, Notrack does not rely on any third parties -to serve your website. The only exception is Disqus comments, which are -not used by default (see [Adding -comments](#adding-comments) below). - -# Table of contents - -* [Notrack](#notrack) -* [Table of contents](#table-of-contents) -* [Screenshot](#screenshot) -* [Example site `config`](#example-site-config) -* [Shortcodes](#shortcodes) -* [User CSS](#user-css) -* [Navigation bar](#navigation-bar) - * [How to add a page to the navigation bar](#how-to-add-a-page-to-the-navigation-bar) - * [How to add a page to drop down menu](#how-to-add-a-page-to-drop-down-menu) -* [How tos](#how-tos) - * [How to create a home page](#how-to-create-a-home-page) - * [How to create a blog](#how-to-create-a-blog) - * [Adding comments](#adding-comments) - * [How to create a gallery](#how-to-create-a-gallery) - * [How to create a resume](#how-to-create-a-resume) - * [How to display social links](#how-to-display-social-links) -* [Other projects used in this theme](#other-projects-used-in-this-theme) -* [Contribution](#contribution) - -# Screenshot - -![Screenshot of the -theme](https://raw.githubusercontent.com/gevhaz/hugo-theme-notrack/master/images/screenshot.png) - -# Try it out yourself - -## Dependencies - -You will need the extended edition of Hugo in order to use this theme. This is -the edition Hugo's developers recommend for most users. You probably already -have it, but you can double check with: - -``` -$ hugo version -hugo v0.115.4+extended linux/amd64 BuildDate=unknown -``` - -Note the "+extended" after the version number. Information about the standard -and extended versions may be found within Hugo's [installation -instructions](https://gohugo.io/installation/). - -## Running the example site on localhost - -If you want to try out the theme with an example page, do the following: - -```shell -$ git clone https://github.com/gevhaz/hugo-theme-notrack -$ mv hugo-theme-notrack notrack -$ cd notrack/exampleSite/ -$ hugo server -D --themesDir ../.. -``` - -You can now see the example website in your browser and interact with it. Hugo -will print instructions for what address to use. Usually it is `http://localhost:1313/`. - -# Example site configuration file - -Here is a working `config.yaml`: - -```yaml -baseURL = "http://example.org/" -languageCode = "en-us" -title = "Lawyer Hugo Grotius" -theme = "notrack" -newContentEditor = "nvim" -mainSections = ["blog"] -# disqusShortname = "example" -paginate = 4 - -[params] - author = "Hugo de Groot" - siteHeading = "Hugo Grotius" # defaults to author - favicon = "hugo_grotius.png" # Adds a small icon next to the page title in a tab - showBlogLatest = true - mainSections = ["blog"] - showTaxonomyLinks = false - nBlogLatest = 4 # number of blog post om the home page - blogLatestHeading = "My writing" - footer = "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License." - - [params.social] - github = "example" - linkedin = "example" - email = "example@example.com" - mastodon = "example" - medium = "example" - keybase = "example" - -[taxonomies] - year = "year" - month = "month" - tags = "tags" - categories = "categories" - -[permalinks] - blog = "/blog/:year/:month/:slug" -``` - -# Shortcodes - -| Category | Shortcode | Description | -| :--- | :--- | :--- | -| **Contact info** | `contact-box` | Displays contact info set in `params.social` | -| | `social` | Displays contact info set in `params.social` | -| **Photo Gallery** | `gallery-category` | Container for `gallery-photo` shortcodes | -| | `gallery-modal` | HTML to allow for full page view of gallery photos | -| | `gallery-photo` | Include a photo in a gallery | -| | `gallery-script` | Script to allow for full page view of gallery photos | -| **General** | `image` | Image for use in any page. See example in [How to create a blog](#how-to-create-a-blog) | -| | `video` | Similar to an ordinary `