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
{{ message }}
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
Next, take a look in the `exampleSite` folder at `themes/hugo-material-docs/`. This directory contains an example config file and the content that you are currently reading. It serves as an example setup for your documentation.
37
+
Next, take a look in the `exampleSite` folder at `themes/hugo-material-docs/`. This directory contains an example config file and the content that you are currently reading. It serves as an example setup for your documentation.
38
38
39
-
Copy at least the `config.toml` in the root directory of your website. Overwrite the existing config file if necessary.
39
+
Copy at least the `config.toml` in the root directory of your website. Overwrite the existing config file if necessary.
40
40
41
41
Hugo includes a development server, so you can view your changes as you go -
42
42
very handy. Spin it up with the following command:
@@ -54,7 +54,7 @@ on and customize the theme through some options.
54
54
Before you are able to deploy your documentation you should take a few minute to adjust some information in the `config.toml`. Open the file in an editor:
@@ -100,7 +100,7 @@ If your project has a logo, you can add it to the drawer/navigation by defining
100
100
the variable `logo`. Ideally, the image of your logo should have
101
101
rectangular shape with a minimum resolution of 128x128 and leave some room
102
102
towards the edges. The logo will also be used as a web application icon on iOS.
103
-
Save your logo somewhere in the `static/` folder and reference the file relative to this location:
103
+
Either save your logo somewhere in the `static/` folder and reference the file relative to this location or use an external URL:
104
104
105
105
```toml
106
106
[params]
@@ -109,7 +109,7 @@ Save your logo somewhere in the `static/` folder and reference the file relative
109
109
110
110
### Adding a custom favicon
111
111
112
-
Favicons are small small icons that are displayed in the tabs right next to the title of the current page. As with the logo above you need to save your favicon in `static/` and link it relative to this folder in the config file:
112
+
Favicons are small small icons that are displayed in the tabs right next to the title of the current page. As with the logo above you need to save your favicon in `static/` and link it relative to this folder or use an external URL:
This theme provides a simple way for making small adjustments, that is changing
130
-
some margins, centering text, etc. Simply put the CSS and Javascript files that
131
-
contain your adjustments in the `static/` directory (ideally in subdirectories of their own) and include them via the `custom_css` and `custom_js`
132
-
variables in your `config.toml`. Reference the files relative to `static/`:
130
+
some margins, centering text, etc. The `custom_css` and `custom_js` option allow you to add further CSS and JS files. They can either reside locally in the `/static` folder or on an external server, e.g. a CDN. In both cases use either the relative path to `/static` or the absolute URL to the external ressource.
0 commit comments