Welcome to mirror list, hosted at ThFree Co, Russian Federation.

file_template.js « js « src - github.com/jacobsun/edidor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 64fbdd8ac58bdfde7b052019d478b17a435331b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export function genFile (identifier, themeName) {
  return `/*
Hugo Edidor theme wild mode exported.
homepage: https://github.com/jacobsun/edidor
Usage:
1. Throw me to your site root folder/static/css directory, you can rename me to whatever you like.
2. Copy the code below to your config file.

--------
[[menu.main]]
parent = "Theme"
identifier = "${identifier}"
name = "${themeName}"
url = "#"
weight = 30
--------

3. Change the field 'name' and 'weight' to whatever you like. Leave others alone, and don't add your custom field, hugo doesn't support that, though I really hope so :/.
*/`
}