From ca6ed9a2d0bf633d77a67575f11258fdfc962264 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 2 Oct 2022 21:47:21 +0300 Subject: [PATCH] minor tweaks... Signed-off-by: Alex A. Naanou --- pwiki/page.js | 12 +++++++----- pwiki2.html | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pwiki/page.js b/pwiki/page.js index 6d090ae..8f0157c 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -1976,12 +1976,14 @@ module.System = { text: `@include("../**/path:@(all)" join="@source(line-separator)")`}, info: { text: object.doc` + +

@source(../title)

+
+ Path: [@source(../path) ] - (edit)
- Resolved path: [@source(../resolved)] - (edit)
- Referrer: [@source(../referrer)] - (edit)
+ (edit)
+ Resolved path: [/@source(../resolved)]
+ Referrer: [@source(../referrer)]
Args:
type: @source(../type)
diff --git a/pwiki2.html b/pwiki2.html index 3a17ddb..e15983a 100755 --- a/pwiki2.html +++ b/pwiki2.html @@ -304,7 +304,7 @@ require(['./browser'], function(browser){ // stop spinner... stopSpinner() // handle title... - document.querySelector('title').innerHTML = this.path + document.querySelector('title').innerHTML = `${this.title} — pWiki` // scroll to anchor element... this.hash && this.dom