minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-10-02 21:47:21 +03:00
parent b51884868a
commit ca6ed9a2d0
2 changed files with 8 additions and 6 deletions

View File

@ -1976,12 +1976,14 @@ module.System = {
text: `@include("../**/path:@(all)" join="@source(line-separator)")`},
info: {
text: object.doc`
<slot title>
<h1><a href="#..">@source(../title)</a></h1>
</slot>
Path: [@source(../path) ]
(<a href="#@source(s ../path)/edit">edit</a>)<br>
Resolved path: [@source(../resolved)]
(<a href="#@source(s ../resolved)/edit">edit</a>)<br>
Referrer: [@source(../referrer)]
(<a href="#@source(s ../referrer)/edit">edit</a>)<br>
(<a href="#../edit">edit</a>)<br>
Resolved path: [/@source(../resolved)]<br>
Referrer: [@source(../referrer)]<br>
Args: <args/><br>
type: @source(../type)<br>

View File

@ -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} &mdash; pWiki`
// scroll to anchor element...
this.hash
&& this.dom