텀블러 테마 치환자 메뉴얼

포스트

텀블러는 아래와 같이 text, photos, links, quotes, chat, audio, and video 7가지 포스트 타입이 있습니다.

변수명 설명
{block:Posts} {/block:Posts} 이 블럭은 생성된 순서의 역순으로 각각의 포스트를 생성합니다. 페이지당 출력될 포스트 수는 블로그 커스터마이즈 영역의 "고급옵션(Advanced tab)"에서 설정할 수 있습니다.
{block:Text}
{/block:Text}
텍스트 포스트를 생성합니다.
{block:Photo} {/block:Photo} 사진 포스트를 생성합니다.
{block:Panorama} {/block:Panorama} 파노라마 포스트를 생성합니다.
{block:Photoset} {/block:Photoset} 포토셋 포스트를 생성합니다.
{block:Quote} {/block:Quote} 인용 포스트를 생성합니다.
{block:Link}
{/block:Link}
링크 포스트를 생성합니다.
{block:Chat} {/block:Chat} 대화 포스트를 생성합니다.
{block:Audio} {/block:Audio} 오디어 포스트를 생성합니다.
{block:Video} {/block:Video} 비디오 포스트를 생성합니다.
{block:Answer} {/block:Answer} 답변 포스트를 생성합니다.
{PostType} 현재 포스트 타입의 이름을 나타냅니다.
{Permalink} 포스트의 퍼머링크입니다.
Example: "http://sample.tumblr.com/post/123"
{ShortURL} 해당 포스트로 리디이렉트 되는 짧은 URL을 나타냅니다.
Example: "http://tumblr.com/xpv5qtavm"
{PostID} 포스트의 ID값을 나타냅니다.
{TagsAsClasses}

An HTML class-attribute friendly list of the post's tags.
Example: "humor office new_york_city"

By default, an HTML friendly version of the source domain of imported posts will be included. This may not behave as expected with feeds like Del.icio.us that send their content URLs as their permalinks.
Example: "twitter_com", "digg_com", etc.

The class-attribute "reblog" will be included automatically if the post was reblogged from another post.

{block:Post[1-15]} {/block:Post[1-15]} 포스트 중간에 광고나 디자인 요소를 넣을 수 있게 해준다.
Example: {block:Post5} I'm the fifth post!{/block:Post5}
위 블럭은 다섯번째 포스트에 출력된다.
{block:Odd} {/block:Odd} 홀수번째의 포스트를 생성합니다.
{block:Even} {/block:Even} 짝수번째의 포스트를 생성합니다.
{block:More} {/block:More} 인덱스 페이지에서  Read More를 생성합니다.
{PostNotesURL} URL to an HTML partial of this post's Notes. Useful for loading Notes via AJAX.


 

댓글

댓글 본문
버전 관리
리체
현재 버전
선택 버전
graphittie 자세히 보기