Link to notes index from title.

This commit is contained in:
Sergio Martínez Portela 2022-10-18 23:18:57 +02:00
parent d71c28d1e8
commit de92f74867

View File

@ -440,7 +440,7 @@ def render_as_document(headline, doc, headlineLevel, title):
</head> </head>
<body> <body>
<nav> <nav>
<h1><a href="/">Código para llevar [Notes]</a></h1> <h1><a href="./index.html">Código para llevar [Notes]</a></h1>
</nav> </nav>
<a href='./{topLevelHeadline.id}.node.html#{headline.id}'>Sending you to the main note... [{org_rw.token_list_to_plaintext(topLevelHeadline.title.contents)}]</a> <a href='./{topLevelHeadline.id}.node.html#{headline.id}'>Sending you to the main note... [{org_rw.token_list_to_plaintext(topLevelHeadline.title.contents)}]</a>
</body> </body>
@ -521,7 +521,7 @@ def as_document(html, title):
</head> </head>
<body> <body>
<nav> <nav>
<h1><a href="/">Código para llevar [Notes]</a></h1> <h1><a href="./index.html">Código para llevar [Notes]</a></h1>
<input type="text" id="searchbox" disabled="true" placeholder="Search (requires JS)" /> <input type="text" id="searchbox" disabled="true" placeholder="Search (requires JS)" />
</nav> </nav>
{html} {html}