You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,6 @@ Medium is a lightweight blogging theme based on the Medium's design language.
27
27
* Support for Disqus comments
28
28
* Google Analytics built-in
29
29
30
-

31
-
32
30
# Installation
33
31
34
32
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
39
37
40
38
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:
41
39
42
-
bin/gpm install cacti
40
+
bin/gpm install medium
43
41
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`.
45
43
46
44
## GPM Update
47
45
48
46
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:
49
47
50
-
bin/gpm update cacti
48
+
bin/gpm update medium
51
49
52
50
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.
53
51
@@ -57,27 +55,26 @@ If you want to set Medium as the default theme, you can do so by following these
57
55
58
56
* Navigate to `/your/site/grav/user/config`.
59
57
* Open the **system.yaml** file.
60
-
* Change the `theme:` setting to `theme: cacti`.
58
+
* Change the `theme:` setting to `theme: medium`.
61
59
* Save your changes.
62
60
* 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`.
63
61
64
62
# Configuration
65
63
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`):
67
65
68
66
```
69
67
enabled: true
70
68
default_lang: en
71
-
author: Wilberforce Humphries
72
-
title_header: false
73
-
home_profile: true
69
+
author: John Appleseed
70
+
home_profile: false
74
71
infinite_scroll: true
75
72
analytics: UA-YOURCODE
76
73
social:
77
-
twitter: @getgrav
74
+
twitter: @mblode
78
75
```
79
76
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.
81
78
82
79
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