Name taken from subdomain is more important that from the local file (shown by experience).
This commit is contained in:
parent
110b5460dd
commit
07d55ba3e0
@ -507,10 +507,10 @@ TiddlyWiki >> local: aFileRefence [
|
||||
TiddlyWiki >> name [
|
||||
| tempName suffix |
|
||||
name ifNotNil: [ ^ name ].
|
||||
self file ifNotNil: [ ^ name := self file basenameWithoutExtension ].
|
||||
self remote ifNil: [ ^ name := nil ].
|
||||
(self remote host endsWith: 'tiddlyhost.com')
|
||||
ifTrue: [ ^ name := (self remote host splitOn: '.') first ].
|
||||
self file ifNotNil: [ ^ name := self file basenameWithoutExtension ].
|
||||
tempName := self remote file.
|
||||
(tempName endsWithAnyOf: #('.html' '.htm'))
|
||||
ifTrue: [
|
||||
|
Loading…
Reference in New Issue
Block a user