<%- include('partials/favicon') %> <%= story.title %> - AI 성공 사례 - XAVIS <% var pdfUrlRaw = (typeof story.pdfUrl === 'string' ? story.pdfUrl : '').trim(); var showPdfViewer = pdfUrlRaw.length > 0; %> <% if (typeof slideImageUrls === 'undefined') { slideImageUrls = []; } %> <% if (typeof slides === 'undefined') { slides = []; } %>
<%- include('partials/nav', { activeMenu: 'ai-cases' }) %>
<% if (showPdfViewer) { %>
← AI 성공 사례로 돌아가기

<%= story.title %>

<%= story.excerpt || (story.department + ' · ' + story.author) %>

<%= slides.length %>페이지 <%= story.department %> · <%= story.author %><% if (story.publishedAt) { %> · <%= story.publishedAt %><% } %> <% if (typeof adminMode !== 'undefined' && adminMode) { %> 편집 <% } %> 다운로드 <% if (typeof adminMode !== 'undefined' && adminMode) { %> <% } %>
<% 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]) { %>
페이지 <%= index + 1 %>
<% } %> <% if (slide.lines && slide.lines.length > 0) { %>
    <% slide.lines.forEach((line) => { %>
  • <%= line %>
  • <% }) %>
<% } %>
<% }) %>
<% } else { %>
← AI 성공 사례로 돌아가기

<%= story.title %>

<%= story.excerpt || (story.department + ' · ' + story.author) %>

<%= story.department %> · <%= story.author %><% if (story.publishedAt) { %> · <%= story.publishedAt %><% } %> <% if (typeof adminMode !== 'undefined' && adminMode) { %> 편집 <% } %>
<% if ((story.tags || []).length) { %>
<% (story.tags || []).forEach((oneTag) => { %> #<%= oneTag %> <% }) %>
<% } %>

본문

<% } %>
<% if (typeof adminMode !== 'undefined' && adminMode) { %> <% } %> <% if (!showPdfViewer) { %> <% } %>