getnikola / nikola-themes

Themes for Nikola
https://themes.getnikola.com/
70 stars 51 forks source link

[material-theme] #181

Closed cl0wnm3at closed 4 years ago

cl0wnm3at commented 4 years ago

I am wondering where it is (what page, file, etc.) in which path the variable BIOGRAPHY is to be defined? That is where does the code go? Ref: For convenience, first define a variable with the html biography.

Also, can I assume that the avatar path is relative to the root of the material-theme folder? Ref: GLOBAL_CONTEXT = { 'author_avatar': '/images/avatar.jpg', }

And I ask as there is no /images folder in either the root of Nikola 8.0.0 or the mateiral-theme.

Thanks in advance.

Kwpolska commented 4 years ago

I am wondering where it is (what page, file, etc.) in which path the variable BIOGRAPHY is to be defined? That is where does the code go?

conf.py. The GLOBAL_CONTEXT part is what’s important.

Also, can I assume that the avatar path is relative to the root of the material-theme folder?

No, to the root of the output/ directory.