llighter / yunha-ind

YUNHA INDUSTRY website
https://llighter.github.io
MIT License
1 stars 0 forks source link

Set a title tag #9

Closed llighter closed 5 years ago

llighter commented 5 years ago

At this moment, My website show the url at the toolbar. But I want to change this to represent page's title.

here is the link I can refer: HTML Tag</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/llighter"><img src="https://avatars.githubusercontent.com/u/11993431?v=4" />llighter</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Check this <a href="https://github.com/GoogleChrome/web.dev/blob/b96ed5fe517d567b2e03e6e4c6a14309452392f3/src/site/_includes/layout.njk#L4">link</a></p> <pre><code class="language-njk"><title>{{title if title else path.title}}</title></code></pre> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>