웹디자인-티스토리테마

위치로그

사용 치환자

  • <s_local>, </s_local> : '위치로그'메뉴를 클릭시 보여줄 위치로그를 출력할 영역입니다
  • <s_local_spot_rep>, </s_local_spot_rep> : 위치를 반복하여 출력하는 기능을 수행합니다
  • [##_local_spot_depth_##] : 왼쪽부터의 깊이
  • [##_local_spot_##] : 장소 이름
  • <s_local_info_rep>, </s_local_info_rep> : 해당 위치의 글을 반복하여 출력하는 기능을 수행합니다
  • [##_local_info_depth_##] : 왼쪽으로부터의 깊이
  • [##_local_info_link_##] : 글의 고유 주소
  • [##_local_info_title_##] : 글의 제목
  • [##_local_info_author_##] : 작성자 이름 (* 팀블로그용 치환자)

사용예

<s_local>
    <div id="localog">
        <h3>위치로그</h3>
        <s_local_spot_rep>
            <div class="spot" style="margin-left: [##_local_spot_depth_##]px">
                [##_local_spot_##]
            </div>
        </s_local_spot_rep>
        <s_local_info_rep>
            <div class="info" style="margin-left: [##_local_info_depth_##]px">
                <a href="[##_local_info_link_##]">[##_local_info_title_##]</a>
            </div>
        </s_local_info_rep>
    </div>
</s_local>

댓글

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