Used ejs to conditionally render login/logout text. Main index file is now index.ejs
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="#head" class="inline-block text-sm px-4 py-2 leading-none border rounded text-white border-white hover:border-transparent hover:text-teal-500 hover:bg-white mt-4 lg:mt-0">
|
||||
Download
|
||||
<a href="/__logout" class="inline-block text-sm px-4 py-2 leading-none border rounded text-white border-white hover:border-transparent hover:text-teal-500 hover:bg-white mt-4 lg:mt-0">
|
||||
Log out
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user