Skip to content

Commit 27af5e9

Browse files
committed
Update README.md
1 parent 677a55d commit 27af5e9

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

README.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Medium is a lightweight blogging theme based on the Medium's design language.
2727
* Support for Disqus comments
2828
* Google Analytics built-in
2929

30-
![Medium](assets/inner-page.jpg)
31-
3230
# Installation
3331

3432
Installing the Medium theme can be done in one of two ways. Our GPM (Grav Package Manager) installation method enables you to quickly and easily install the theme with a simple terminal command, while the manual method enables you to do so via a zip file.
@@ -39,15 +37,15 @@ The theme by itself is useful, but you may have an easier time getting up and ru
3937

4038
The simplest way to install this theme is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm) through your system's Terminal (also called the command line). From the root of your Grav install type:
4139

42-
bin/gpm install cacti
40+
bin/gpm install medium
4341

44-
This will install the Medium theme into your `/user/themes` directory within Grav. Its files can be found under `/your/site/grav/user/themes/cacti`.
42+
This will install the Medium theme into your `/user/themes` directory within Grav. Its files can be found under `/your/site/grav/user/themes/medium`.
4543

4644
## GPM Update
4745

4846
The simplest way to update this theme is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm). You can do this with this by navigating to the root directory of your Grav install using your system's Terminal (also called command line) and typing the following:
4947

50-
bin/gpm update cacti
48+
bin/gpm update medium
5149

5250
This command will check your Grav install to see if your Medium theme is due for an update. If a newer release is found, you will be asked whether or not you wish to update. To continue, type `y` and hit enter. The theme will automatically update and clear Grav's cache.
5351

@@ -57,27 +55,26 @@ If you want to set Medium as the default theme, you can do so by following these
5755

5856
* Navigate to `/your/site/grav/user/config`.
5957
* Open the **system.yaml** file.
60-
* Change the `theme:` setting to `theme: cacti`.
58+
* Change the `theme:` setting to `theme: medium`.
6159
* Save your changes.
6260
* Clear the Grav cache. The simplest way to do this is by going to the root Grav directory in Terminal and typing `bin/grav clear-cache`.
6361

6462
# Configuration
6563

66-
The Medium theme has a few simple options that help you configure the theme (`cacti.yaml`):
64+
The Medium theme has a few simple options that help you configure the theme (`medium.yaml`):
6765

6866
```
6967
enabled: true
7068
default_lang: en
71-
author: Wilberforce Humphries
72-
title_header: false
73-
home_profile: true
69+
author: John Appleseed
70+
home_profile: false
7471
infinite_scroll: true
7572
analytics: UA-YOURCODE
7673
social:
77-
twitter: @getgrav
74+
twitter: @mblode
7875
```
7976

80-
In order to configure Medium, you should copy the theme's `cacti.yaml` file into a file of your own: `user/config/themes/cacti.yaml` and make your modifications there.
77+
In order to configure Medium, you should copy the theme's `medium.yaml` file into a file of your own: `user/config/themes/medium.yaml` and make your modifications there.
8178

8279

83-
Once this is done, you should be able to see the new theme on the frontend. Keep in mind any customizations made to the previous theme will not be reflected as all of the theme and templating information is now being pulled from the **cacti** folder.
80+
Once this is done, you should be able to see the new theme on the frontend. Keep in mind any customizations made to the previous theme will not be reflected as all of the theme and templating information is now being pulled from the **medium** folder.

0 commit comments

Comments
 (0)