所以我希望我的主题的各个方面根据最近的帖子而改变。知道我该怎么做吗?
我更喜欢使用 tumblr 自定义 {html 标签} 的东西,而不是 javascript 或其他东西。也不知道 tumblr 上是否允许这样做。
主题文件在这里: http://www.tumblr.com/docs/custom_themes
谢谢。
最佳答案
在第一篇文章中,在相应的类型 block (文本 block 、照片 block 等)中放置覆盖默认样式的自定义 css,您就完成了
{block:Post[1-15]} {/block:Post[1-15]} Rendered for the post at the specified offset. This makes it possible to insert an advertisement or design element in the middle of your posts.
Example: {block:Post5}I'm the fifth post!{/block:Post5} will only be rendered on the fifth post being displayed.
关于html - Tumblr 主题...试图找到第一篇文章的类型(文本、图片等),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1469435/