No items sent by TikTok!
{/if} diff --git a/templates/components/themes/default.latte b/templates/components/themes/default.latte index e4af7f0..38cb04d 100644 --- a/templates/components/themes/default.latte +++ b/templates/components/themes/default.latte @@ -1,5 +1,5 @@No items sent by TikTok!
{/if} diff --git a/templates/views/tag.latte b/templates/views/tag.latte index 3de0384..11c6bcc 100644 --- a/templates/views/tag.latte +++ b/templates/views/tag.latte @@ -2,19 +2,15 @@ {var $has_rss = true} -{var $og = $info->meta->og} -{var $og_content = $info->detail->profileLarger} -{var $og_url = url_tag($info->detail->title)} - {block header} - {if $info->detail->profileLarger !== ''} + {if $data->info->detail->profileLarger !== ''} {/if} -{$info->detail->title}
+{$data->info->detail->title}
{include '../components/rss.latte'}
-Videos: {number($info->stats->videoCount)} / Views: {number($info->stats->viewCount)}
+Videos: {number($data->info->stats->videoCount)} / Views: {number($data->info->stats->viewCount)}
{/block} {block content} diff --git a/templates/views/user.latte b/templates/views/user.latte index 8a950a6..b6b873b 100644 --- a/templates/views/user.latte +++ b/templates/views/user.latte @@ -2,19 +2,15 @@ {var $has_rss = true} -{var $og = $info->meta->og} -{var $og_content = $info->detail->avatarLarger} -{var $og_url = url_user($info->detail->uniqueId)} - {block header} -{$info->detail->uniqueId}
+{$data->info->detail->uniqueId}
{include '../components/rss.latte'}
-{$info->detail->signature}
-Following: {number($info->stats->followingCount)} / Followers: {number($info->stats->followerCount)}
-Hearts: {number($info->stats->heartCount)} / Videos: {$info->stats->videoCount}
+{$data->info->detail->signature}
+Following: {number($data->info->stats->followingCount)} / Followers: {number($data->info->stats->followerCount)}
+Hearts: {number($data->info->stats->heartCount)} / Videos: {$data->info->stats->videoCount}
{/block} {block content} diff --git a/templates/views/video.latte b/templates/views/video.latte index 0c6aa53..da6a80c 100644 --- a/templates/views/video.latte +++ b/templates/views/video.latte @@ -1,9 +1,5 @@ {layout "../layouts/{$layout}.latte"} -{var $og = $info->meta->og} -{var $og_content = $item->video->originCover} -{var $og_url = url_video_internal($info->detail->uniqueId, $item->id)} - {block content}- {$info->detail->nickname} + {$detail->nickname} - @{$info->detail->uniqueId} + @{$detail->uniqueId} {date('M d, Y', $item->createTime)}
@@ -34,8 +30,8 @@{$item->desc}
{include '../components/themes/common/stats.latte', playCount: $item->stats->playCount, diggCount: $item->stats->diggCount, commentCount: $item->stats->commentCount, shareCount: $item->stats->shareCount}