#16 board : add header menu(hashtags)

This commit is contained in:
haerong22
2022-08-19 02:33:05 +09:00
parent 64453a7603
commit ef53f97d60
2 changed files with 7 additions and 1 deletions

View File

@@ -11,7 +11,8 @@
<div class="container">
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
<li><a href="/" class="nav-link px-2 text-secondary">Home</a></li>
<li><a id="home" href="#" class="nav-link px-2 text-secondary">Home</a></li>
<li><a id="hashtag" href="#" class="nav-link px-2 text-secondary">Hashtags</a></li>
</ul>
<div class="text-end">

View File

@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<thlogic>
<attr sel="#home" th:href="@{/}" />
<attr sel="#hashtag" th:href="@{/articles/search-hashtag}" />
</thlogic>