#16 board : add header menu(hashtags)
This commit is contained in:
@@ -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">
|
||||
|
||||
5
board/src/main/resources/templates/header.th.xml
Normal file
5
board/src/main/resources/templates/header.th.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<thlogic>
|
||||
<attr sel="#home" th:href="@{/}" />
|
||||
<attr sel="#hashtag" th:href="@{/articles/search-hashtag}" />
|
||||
</thlogic>
|
||||
Reference in New Issue
Block a user