Skip to content

Commit a788a6f

Browse files
toplessPablo Panero
authored and
Pablo Panero
committed
customizing: review and update for Invenio v3.2
1 parent 7c623be commit a788a6f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

05-customizing-invenio/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this session we will customize minor visual elements of our Invenio
44
instance, like the logo of our instance, the colors and fonts, the way search
55
results for records are displayed and the display page for every record.
66

7-
### Table of Contents
7+
## Table of Contents
88

99
- [Step 1: Run the development server](#step-1-run-the-development-server)
1010
- [Step 2: Change the frontpage titles](#step-2-change-the-frontpage-titles)
@@ -62,7 +62,7 @@ editing `my_site/theme/templates/my_site/frontpage.html`:
6262

6363
If you now go to <https://localhost:5000/> you will see the changed titles:
6464

65-
![](./images/frontpage-title.png)
65+
![Invenio front page](./images/frontpage-title.png)
6666

6767
## Step 3: Change the site logo
6868

@@ -101,7 +101,7 @@ THEME_FRONTPAGE_TEMPLATE = 'my_site/frontpage.html'
101101

102102
If you reload the page you will see the new logo on the top left:
103103

104-
![](./images/frontpage-logo.png)
104+
![Invenio front page logo](./images/frontpage-logo.png)
105105

106106
## Step 4: Change the theme color
107107

@@ -134,14 +134,14 @@ webpack` command:
134134

135135
If we reload our page now we should see our brand new design:
136136

137-
![](./images/frontpage-color.png)
137+
![Invenio front page with purple background](./images/frontpage-color.png)
138138

139139
## Step 5: Change how record search results are displayed
140140

141141
If you navigate to the search results page (<https://localhost:5000/search>)
142142
you can see the following:
143143

144-
![](./images/search-old.png)
144+
![Search page result list](./images/search-old.png)
145145

146146
Let's change the way the title and authors of each result look like. The
147147
current search UI application is built with AngularJS and its various
@@ -174,14 +174,14 @@ Copied: [my_site_records] '/home/bootcamp/.local/share/virtualenvs/my-site-7Oi5H
174174

175175
And now, if we refresh we'll see that our search results display differently:
176176

177-
![](./images/search-new.png)
177+
![Invenio page result list with strong and emphasis styles](./images/search-new.png)
178178

179179
## Step 6: Change the record page
180180

181181
If you actually click on one of the search results you will be redirected to
182182
the record's page:
183183

184-
![](./images/record-old.png)
184+
![Record details page](./images/record-old.png)
185185

186186
To change this view we'll have to modify the Jinja template that renders the
187187
page, `my_site/records/templates/records/record.html`. Let's to something
@@ -206,4 +206,4 @@ similar to what we did with the search results:
206206

207207
If you refresh the record's page you'll see something like this:
208208

209-
![](./images/record-new.png)
209+
![Record details page with styles](./images/record-new.png)

0 commit comments

Comments
 (0)