Fossil SCM

Add the 'project_description' variable to TH1.

mistachkin 2016-10-23 01:46 experimental merge
Commit 345c580d0af4b1c67b25c6da7cabce7ea1294a1d
--- src/style.c
+++ src/style.c
@@ -400,10 +400,11 @@
400400
401401
if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1);
402402
403403
/* Generate the header up through the main menu */
404404
Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
405
+ Th_Store("project_description", db_get("project-description",""));
405406
Th_Store("title", zTitle);
406407
Th_Store("baseurl", g.zBaseURL);
407408
Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL);
408409
Th_Store("home", g.zTop);
409410
Th_Store("index_page", db_get("index-page","/home"));
410411
--- src/style.c
+++ src/style.c
@@ -400,10 +400,11 @@
400
401 if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1);
402
403 /* Generate the header up through the main menu */
404 Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
 
405 Th_Store("title", zTitle);
406 Th_Store("baseurl", g.zBaseURL);
407 Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL);
408 Th_Store("home", g.zTop);
409 Th_Store("index_page", db_get("index-page","/home"));
410
--- src/style.c
+++ src/style.c
@@ -400,10 +400,11 @@
400
401 if( g.thTrace ) Th_Trace("BEGIN_HEADER<br />\n", -1);
402
403 /* Generate the header up through the main menu */
404 Th_Store("project_name", db_get("project-name","Unnamed Fossil Project"));
405 Th_Store("project_description", db_get("project-description",""));
406 Th_Store("title", zTitle);
407 Th_Store("baseurl", g.zBaseURL);
408 Th_Store("secureurl", login_wants_https_redirect()? g.zHttpsURL: g.zBaseURL);
409 Th_Store("home", g.zTop);
410 Th_Store("index_page", db_get("index-page","/home"));
411
--- www/customskin.md
+++ www/customskin.md
@@ -144,10 +144,14 @@
144144
respository settings and the specific page being generated.
145145
146146
* **project_name** - The project_name variable is filled with the
147147
name of the project as configured under the Admin/Configuration
148148
menu.
149
+
150
+ * **project_description** - The project_description variable is
151
+ filled with the description of the project as configured under
152
+ the Admin/Configuration menu.
149153
150154
* **title** - The title variable holds the title of the page being
151155
generated.
152156
153157
The title variable is special in that it is deleted after
154158
--- www/customskin.md
+++ www/customskin.md
@@ -144,10 +144,14 @@
144 respository settings and the specific page being generated.
145
146 * **project_name** - The project_name variable is filled with the
147 name of the project as configured under the Admin/Configuration
148 menu.
 
 
 
 
149
150 * **title** - The title variable holds the title of the page being
151 generated.
152
153 The title variable is special in that it is deleted after
154
--- www/customskin.md
+++ www/customskin.md
@@ -144,10 +144,14 @@
144 respository settings and the specific page being generated.
145
146 * **project_name** - The project_name variable is filled with the
147 name of the project as configured under the Admin/Configuration
148 menu.
149
150 * **project_description** - The project_description variable is
151 filled with the description of the project as configured under
152 the Admin/Configuration menu.
153
154 * **title** - The title variable holds the title of the page being
155 generated.
156
157 The title variable is special in that it is deleted after
158

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button