Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/capnfabs/paperesque.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Tamp <fabian.tamp@gmail.com>2020-01-27 04:53:56 +0300
committerFabian Tamp <fabian.tamp@gmail.com>2020-01-27 04:53:56 +0300
commitb6b77cdc7b2c51db888c616b51d37b49698a1917 (patch)
tree9157849dfaab266ed69a7a033a343dff8735a882
parentb764f91ba15105928478793c081944f25d7debcd (diff)
Rename to `paperesque`
-rw-r--r--README.md9
-rw-r--r--exampleSite/config.toml19
-rw-r--r--package.json4
3 files changed, 20 insertions, 12 deletions
diff --git a/README.md b/README.md
index cfe4ddc..939f093 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# capnfabs-lite
+# paperesque
A lightweight Hugo theme with a couple of neat tricks.
@@ -18,7 +18,7 @@ Here's what makes it special:
Copy the files into your repo using `git subtree` (this is way easier to use than submodules; [here's an explainer](https://www.atlassian.com/git/tutorials/git-subtree)):
```sh
-git subtree add --prefix themes/capnfabs-lite https://github.com/capnfabs/hugo-theme-lite master --squash
+git subtree add --prefix themes/paperesque https://github.com/capnfabs/paperesque master --squash
```
This will add a commit to your repo with everything ready to go. You'll probably want to modify parts of this theme for your own usage! Subtree makes that easy, because you've just copied the code into your repo ✨
@@ -28,10 +28,9 @@ This will add a commit to your repo with everything ready to go. You'll probably
If you're sure you want to use git submodules:
```sh
-git submodule add --init https://github.com/capnfabs/hugo-theme-lite themes/capnfabs-lite
+git submodule add --init https://github.com/capnfabs/paperesque themes/paperesque
```
-
## Using Features
### FYI: the Home Page is Menu-driven
@@ -92,7 +91,7 @@ page = ["HTML", "droplist"]
Now, as part of your build process, run:
```sh
-./themes/capnfabs-lite/scripts/drop-resources.py [hugo-output-directory]
+./themes/paperesque/scripts/drop-resources.py [hugo-output-directory]
```
(the Hugo output directory is usually `./public`).
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 5b58663..442ab60 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,18 +1,24 @@
baseURL = "http://example.org/"
languageCode = "en-us"
-title = "Example Site for capnfabs-hugo-lite"
-theme = "capnfabs-lite"
+title = "Paperesque theme example"
+theme = "paperesque"
copyright = "© 2011-2020 Fabian Tamp"
+# I can't remember if this is required for syntax highlighting or not.
pygmentsUseClasses = true
-[outputs]
-page = ["HTML", "droplist"]
+# Uncomment these lines for droplist / resource removal support! See the
+# README for more details
+
+# [outputs]
+# page = ["HTML", "droplist"]
[params]
# Turn this on if you want to disable margin notes everywhere!
# disableMarginNotes = true
+# Customise your home page menu here:
+
[[params.menu]]
name = "Recent Posts"
url = "posts/"
@@ -27,7 +33,10 @@ page = ["HTML", "droplist"]
[[params.menu]]
name = "Link to theme on Github"
- url = "https://github.com/capnfabs/hugo-theme-lite"
+ url = "https://github.com/capnfabs/paperesque"
+
+
+# And your top-right menu links here.
[[params.topmenu]]
name = "my favourite bird"
diff --git a/package.json b/package.json
index 865a4b2..e4d9a94 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
- "name": "capnfabs-lite",
+ "name": "paperesque",
"version": "0.1.0",
- "description": "capnfabs-lite Hugo theme",
+ "description": "paperesque Hugo theme",
"main": "index.js",
"author": "Fabian Tamp (@capnfabs)",
"license": "MIT",