비디오 사이트 관리자
<% // 현재 폴더까지의 경로 prefix (영상/하위폴더 URL 조립용) var folderPathEnc = breadcrumb.map(function (s) { return encodeURIComponent(s) }).join('/') var parentHref = isSubFolder ? '/folder/' + encodeURIComponent(breadcrumb[0]) : '/' var parentLabel = isSubFolder ? '← ' + breadcrumb[0] : '← 폴더 목록' %>
<%= parentLabel %>

📁 <%= breadcrumb.join(' / ') %>

<% if (!isSubFolder) { %>
<% if (!subFolders || subFolders.length === 0) { %>

아직 하위 폴더가 없습니다.

<% } %> <% (subFolders || []).forEach(function (sf) { %> 📁 <%= sf.name %> <% }) %>
<% } else { %>
<% if (videos.length === 0) { %>

이 폴더에 영상이 없습니다.

<% } %> <% videos.forEach(function (v) { var shareUrl = '/video/' + folderPathEnc + '/' + encodeURIComponent(v.id) %>
<%= v.title %>
<% }) %>
<% } %>