No items sent by TikTok!
{/if} diff --git a/templates/components/themes/default.latte b/templates/components/themes/default.latte index 38cb04d..e4af7f0 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/music.latte b/templates/views/music.latte index 1c1f3ec..e7e46f8 100644 --- a/templates/views/music.latte +++ b/templates/views/music.latte @@ -1,9 +1,9 @@ {layout '../layouts/default.latte'} {block header} -{$data->info->detail->title}
-{$data->info->detail->desc}
-Videos: {number($data->info->stats->videoCount)}
+{$info->detail->title}
+{$info->detail->desc}
+Videos: {number($info->stats->videoCount)}
{/block} {block content} diff --git a/templates/views/tag.latte b/templates/views/tag.latte index 11c6bcc..3de0384 100644 --- a/templates/views/tag.latte +++ b/templates/views/tag.latte @@ -2,15 +2,19 @@ {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 $data->info->detail->profileLarger !== ''} + {if $info->detail->profileLarger !== ''} {/if} -{$data->info->detail->title}
+{$info->detail->title}
{include '../components/rss.latte'}
-Videos: {number($data->info->stats->videoCount)} / Views: {number($data->info->stats->viewCount)}
+Videos: {number($info->stats->videoCount)} / Views: {number($info->stats->viewCount)}
{/block} {block content} diff --git a/templates/views/user.latte b/templates/views/user.latte index b6b873b..8a950a6 100644 --- a/templates/views/user.latte +++ b/templates/views/user.latte @@ -2,15 +2,19 @@ {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} -{$data->info->detail->uniqueId}
+{$info->detail->uniqueId}
{include '../components/rss.latte'}
-{$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}
+{$info->detail->signature}
+Following: {number($info->stats->followingCount)} / Followers: {number($info->stats->followerCount)}
+Hearts: {number($info->stats->heartCount)} / Videos: {$info->stats->videoCount}
{/block} {block content} diff --git a/templates/views/video.latte b/templates/views/video.latte index da6a80c..0c6aa53 100644 --- a/templates/views/video.latte +++ b/templates/views/video.latte @@ -1,5 +1,9 @@ {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}- {$detail->nickname} + {$info->detail->nickname} - @{$detail->uniqueId} + @{$info->detail->uniqueId} {date('M d, Y', $item->createTime)}
@@ -30,8 +34,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}