Public Source Viewer
비나래아카이브 개발자 포털
실제 서비스 구조를 살펴볼 수 있는 공개용 코드 뷰어입니다. 인증, 세션, 외부 연동, 토큰, 관리자 식별 등 보안상 민감한 구현은 파일 단위 또는 줄 단위로 검열됩니다.
view/hinana/work.ejs
공개 가능
1
<!doctype html><html lang="ko"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title><%= work.title %> · 작품 일람</title><meta name="description" content="<%= work.description || work.excerpt %>"><meta property="og:title" content="<%= work.title %>"><meta property="og:description" content="<%= work.description || work.excerpt %>"><link rel="stylesheet" href="/css/site-ui.css?v=3"><link rel="stylesheet" href="/css/works.css?v=1"></head><body class="work-reader-page <%= theme==='dark'?'dark-mode':'' %>"><header class="work-reader-bar"><a href="/hinana/works">← 작품 일람</a><span><%= work.title %><% if(work.author){ %> · <%= work.author %><% } %></span><a href="<%= work.url %>/read" target="_blank" rel="noopener">독서 화면만 열기 ↗</a></header><iframe src="<%= work.url %>/read" title="<%= work.title %> 독서 화면" sandbox="allow-scripts" class="work-reader-frame" data-reader-key="<%= work.sourceId %>"></iframe><script src="/js/work-reader.js" defer></script></body></html>
2