updated trakt links in now-page-template and config.js to point to episodes and movies and actually work...
This commit is contained in:
parent
f1c2748463
commit
dbe80d9521
2 changed files with 4 additions and 4 deletions
|
|
@ -47,13 +47,13 @@ export const items = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'trakt-episode',
|
id: 'trakt-episode',
|
||||||
regex: htmlLinkRegex('trakt.tv/users/crankle'),
|
regex: htmlLinkRegex('trakt.tv/episodes'),
|
||||||
getLatest: async () =>
|
getLatest: async () =>
|
||||||
getTraktEpisode('crankle', '78e1e87b446901f7e4f0883dd4995cec', false),
|
getTraktEpisode('crankle', '78e1e87b446901f7e4f0883dd4995cec', false),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'trakt-movie',
|
id: 'trakt-movie',
|
||||||
regex: htmlLinkRegex('trakt.tv/users/crankle'),
|
regex: htmlLinkRegex('trakt.tv/movies'),
|
||||||
getLatest: async () =>
|
getLatest: async () =>
|
||||||
getTraktMovie('crankle', '78e1e87b446901f7e4f0883dd4995cec', false),
|
getTraktMovie('crankle', '78e1e87b446901f7e4f0883dd4995cec', false),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,9 @@ This page automatically updates with my latest activity.
|
||||||
</div>
|
</div>
|
||||||
<div style="background: rgba(250, 179, 135, 0.15); padding: 1rem; border: 4px solid #fab387; color:white;">
|
<div style="background: rgba(250, 179, 135, 0.15); padding: 1rem; border: 4px solid #fab387; color:white;">
|
||||||
I watched this episode<br>
|
I watched this episode<br>
|
||||||
<i class="fa-solid fa-tv"></i> <a href="https://trakt.tv/users/crankle" style="color: #fab387 !important;">tktk</a><br>
|
<i class="fa-solid fa-tv"></i> <a href="https://trakt.tv/episodes" style="color: #fab387 !important;">tktk</a><br>
|
||||||
and this movie<br>
|
and this movie<br>
|
||||||
<i class="fa-solid fa-film"></i> <a href="https://trakt.tv/users/crankle" style="color: #fab387 !important;">tktk</a>
|
<i class="fa-solid fa-film"></i> <a href="https://trakt.tv/movies/" style="color: #fab387 !important;">tktk</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue