-
Notifications
You must be signed in to change notification settings - Fork 2
/
white.html
157 lines (102 loc) · 3.32 KB
/
white.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
---
layout: doc-layout
title: WHITE ghost blogging theme
theme_name: white
buy: https://www.electronthemes.com/products/white
demo: https://white.electronthemes-ghost.com/
thumbnail: white/preview.jpg
---
# {{page.title}} {#title}
{% include ghost-support.html %}
## Installation {#installation}
Login to your ghost blog `https://yourdomain.com/ghost` then navigate to `Designs > Uploads` Themes.
Drug your downloaded theme zip file.
![](/assets/images/common/upload.png)
### Menu/Navigation Setup
Handle theme menu items from `Settings > Design` in the navigation section
![Settings Navigation](/assets/images/white/settings.general.png)
## Setup blog title, header and description
**Go to:**
- General > Publication icon for Favicon
- General > Publication logo for Logo
- General > Publication cover for Cover Image
General > Title & description
![Settings Navigation](/assets/images/white/settings.general.png)
## Setup pages {#setup}
### New Page
To create new page, go to `Dashboard > Stories > New Story` Give the title for new stories and mark "Turn this post
into a page" from the settings icon
![](/assets/images/common/page.png)
### Tag
To create tag, go to `Dashboard > tags`
![](/assets/images/common/tag-list.png)
### Authors
To create Author, go to `Dashboard > Team`
![](/assets/images/common/author-list.png)
### Home Page Cover
![](/assets/images/white/cover.png)
**Setup**
navigate to `Settings > General > Publication Cover`
![](/assets/images/white/settings.publication-cover.png)
<br />
<br />
<br />
<br />
<br />
### Search API and Activation
Search will not work when you install the ghost theme. You need to add API for the search option activation. Follow the
instraction to make the API key.
1. Go to to `Settings > Integrations > Custom integrations > + Add custom integration`
2. Enter a name of "New Custom Integration" and create
3. Copy `Content API Key` fro API Keys
4. Go to `Settings > Code injections > Blog Header`
5. Add `script` like this to add api key. Don't change the variable name.
```
<script>
var contentApiKey = "your api key";
</script>
```
Replace `your api key` with your api key that you created.
API Code creation:
![](/assets/images/white/api-key.png)
<br>
API code injection:
![](/assets/images/white/integration.png)
<br>
Search result:
![](/assets/images/white/search-result.png)
### Featured Slider
![](/assets/images/white/featured-slider.png)
When you set up your post as featured, it will add automatically to featured slider. I suggest you to select such a
post as featured post which has post `featured image`.
![](/assets/images/common/make-feature-post.png)
<br />
<br />
<br />
<br />
<br />
### Tag List Page
![](/assets/images/white/tag-list.png)
**Setup:**
Create a page with any name and give `tags` in `Post URL`
![](/assets/images/white/tags-slug.png)
<br />
<br />
<br />
<br />
<br />
### Author List
Create a page name `Authors` or anything and select the page template `Authors` from the settings. You will get 2
author list page template. `Authors Style 1` and `Author Style 2` , `Author Style 3`. Select one of them.
![](/assets/images/white/authors-list.png)
### Setup posts to show per page
```js
"config": {
"posts_per_page": 6
}
```
Change `posts_per_page`’s value as your wish.
After changing this you need to `restart` your ghost
```bash
ghost restart
```