<% if (showPdfViewer) { %>
← AI 성공 사례로 돌아가기
<%= story.title %>
<%= story.excerpt || (story.department + ' · ' + story.author) %>
<% if ((story.tags || []).length) { %>
<% (story.tags || []).forEach((oneTag) => { %>
#<%= oneTag %>
<% }) %>
<% } %>
<% if (!slideImageUrls || slideImageUrls.length === 0) { %>
PDF를 페이지 이미지로 보여 주지 못했습니다. 원본 PDF로 보기. 서버에는 pdftoppm(Poppler)이 필요하고, 저장된 PDF 주소는 브라우저에서 열리는 것과 같이 /public/... 또는 그와 같은 경로의 전체 URL이어야 합니다.
<% } %>
<% slides.forEach((slide, index) => { %>
페이지 <%= index + 1 %>
<% if (slide.title) { %><%= slide.title %>
<% } %>
<% if (slideImageUrls[index]) { %>
<% } %>
<% if (slide.lines && slide.lines.length > 0) { %>
<% slide.lines.forEach((line) => { %>
- <%= line %>
<% }) %>
<% } %>
<% }) %>
<% } else { %>
← AI 성공 사례로 돌아가기
<%= story.title %>
<%= story.excerpt || (story.department + ' · ' + story.author) %>
<% if ((story.tags || []).length) { %>
<% (story.tags || []).forEach((oneTag) => { %>
#<%= oneTag %>
<% }) %>
<% } %>
<% } %>