mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 13:55:54 +03:00
fixed home title
This commit is contained in:
parent
9da58cc479
commit
01ccbd6fcc
2
web.md
2
web.md
@ -2,7 +2,7 @@
|
||||
container: false
|
||||
layout: plan
|
||||
anchor: none
|
||||
title: Home - Urbit
|
||||
title: Home
|
||||
---
|
||||
|
||||
<div class="above">
|
||||
|
@ -1374,7 +1374,7 @@ module.exports = query({
|
||||
name: 't',
|
||||
meta: 'j'
|
||||
}, recl({
|
||||
displayName: "Anchor",
|
||||
displayName: "Nav",
|
||||
stateFromStore: function() {
|
||||
return TreeStore.getNav();
|
||||
},
|
||||
@ -1434,12 +1434,16 @@ module.exports = query({
|
||||
}
|
||||
},
|
||||
setTitle: function() {
|
||||
var ref1, title;
|
||||
var path, ref1, title;
|
||||
title = $('#body h1').first().text() || this.props.name;
|
||||
if ((ref1 = this.props.meta) != null ? ref1.title : void 0) {
|
||||
title = this.props.meta.title;
|
||||
}
|
||||
return document.title = title + " - " + this.props.path;
|
||||
path = this.props.path;
|
||||
if (path === "") {
|
||||
path = "/";
|
||||
}
|
||||
return document.title = title + " - " + path;
|
||||
},
|
||||
pullPath: function() {
|
||||
var l, path;
|
||||
|
Loading…
Reference in New Issue
Block a user