mirror of
https://github.com/typemill/typemill.git
synced 2025-08-01 11:50:28 +02:00
Fix external link for homepage in publisher
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown. Create handbooks, documentation, manuals, reports, traditional websites, online novels, and more.
|
||||
|
||||
Stay in the loop and subscribe to the [Typemill newsletter](https://typemill.net/news)!
|
||||
Log in to the author area at [/tm/login](/tm/login).
|
||||
|
||||
{.center loading="lazy" width="820" height="470"}
|
||||
|
||||
Stay in the loop and subscribe to the [Typemill newsletter](https://typemill.net/news)!
|
||||
|
||||
|
@@ -81,7 +81,7 @@ const publisher = Vue.createApp({
|
||||
<span class="hidden lg:block">{{ $filters.translate('visual') }}</span>
|
||||
</a>
|
||||
<a
|
||||
:href="item.urlAbs"
|
||||
:href="absoluteUrl"
|
||||
target="_blank"
|
||||
class="lg:px-4 px-2 py-2 border border-stone-200 bg-stone-50 hover:bg-stone-700 hover:text-white transition ml-1"
|
||||
>
|
||||
@@ -247,6 +247,17 @@ const publisher = Vue.createApp({
|
||||
{
|
||||
return data.urlinfo.baseurl + '/tm/content/visual' + this.item.urlRelWoF;
|
||||
},
|
||||
absoluteUrl()
|
||||
{
|
||||
if(this.item.urlAbs)
|
||||
{
|
||||
return this.item.urlAbs;
|
||||
}
|
||||
else
|
||||
{
|
||||
return data.urlinfo.baseurl;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
clearPublisher()
|
||||
|
Reference in New Issue
Block a user