Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove(layout): remove private layout #310

Merged
merged 1 commit into from
Apr 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion languages/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "واصل القراءة"
older: "أقدم"
newer: "أحدث"
private: "منشور خاص, مخفي مؤقتا"
qrcode: "اقرأ هذا المقال على جهاز آخر"
comments_load_button: "قراءة تعليقات 「تأكد !disq.us & disquscdn.com & disqus.com يمكن تحميل」"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "Weiterlesen"
older: "Älteren"
newer: "Neuren"
private: "Private Beiträge sind temporär verborgen"
qrcode: "Lesen Sie diesen Artikel auf anderem Gerät"
comments_load_button: "Lesen Sie Kommentare 「Stellen Sie sicher, dass 'disq.us & disquscdn.com & disqus.com' geladen werden kann 」"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "Continue Reading"
older: "Older"
newer: "Newer"
private: "Private post, temporarily hidden"
qrcode: "Read this article on other device"
comments_load_button: "Read Comments (Be sure disq.us, disquscdn.com and disqus.com can load properly)"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "Sigue leyendo"
older: "Mayor"
newer: "Más nuevo"
private: "Mensajes privados, ocultar temporalmente"
qrcode: "Lea este artículo en otro dispositivo"
comments_load_button: "Leer comentarios 「Asegúrese de que 'disq.us & disquscdn.com & disqus.com' se puede cargar」"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "Continuer la lecture"
older: "Ancien"
newer: "Récent"
private: "Article privé, caché temporairement"
qrcode: "Lire cet article depuis un autre appareil"
comments_load_button: "Lire les commentaires (Assurez-vous que disq.us, disquscdn.com et disqus.com peuvent être chargés)"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "読み続けて"
older: "古い"
newer: "新しい"
private: "プライベート記事、一時的に非表示にします"
qrcode: "他のデバイスでこの記事を読む"
comments_load_button: "論評を読む「 あなたは disqus & disquscdn.com & disqus.com をロードできることを確認します」"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "Teruskan Membaca"
older: "Lama"
newer: "Baru"
private: "Siaran peribadi, disembunyikan buat sementara"
qrcode: "Baca artikel ini pada peranti lain"
comments_load_button: "Read comments 「Pastikan 'disq.us & disquscdn.com & disqus.com' boleh dimuatkan」"
share:
Expand Down
1 change: 0 additions & 1 deletion languages/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "Continue lendo"
older: "Anteriores"
newer: "Recentes"
private: "Artigo privado, aguarde."
qrcode: "Veja este artigo em outro dispositivo"
share:
article_rss: "Artigos RSS"
Expand Down
1 change: 0 additions & 1 deletion languages/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "阅读全文"
older: "旧篇"
newer: "新篇"
private: "私有文章,暂不公开"
qrcode: "在其它设备中阅读本文章"
comments_load_button: "阅读评论(请确保 disqus 可以正常加载)"
comments_fully_load_button: "加载完整评论(请确保 disqus 可以正常加载)"
Expand Down
1 change: 0 additions & 1 deletion languages/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ post:
continue: "繼續閱讀"
older: "舊篇"
newer: "新篇"
private: "私有文章,暫不公開"
qrcode: "在其他設備中閱讀本文章"
comments_load_button: "閱讀評論 「請確認 disq.us & disquscdn.com & disqus.com 可正常載入」"
share:
Expand Down
32 changes: 0 additions & 32 deletions layout/post.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,6 @@
<!-- Single Timeline Page -->
<%- partial('_widget/page-timeline') %>

<% } else if(page.layout === 'private') { %>
<!-- Hidden Page -->
<div class="material-post_container">
<div class="material-post mdl-grid">
<div class="mdl-card <% if(theme.card_elevation) { %><%= 'mdl-shadow--' + theme.card_elevation + 'dp' %><% } %> mdl-cell mdl-cell--12-col">
<!-- Post Header(Thumbnail & Title) -->
<%- partial('_partial/post-header') %>

<% if(theme.scheme === 'Paradox') { %>
<!-- Paradox Post Info -->
<%- partial('_partial/Paradox-post-info') %>
<% } %>

<!-- Post Hidden -->
<div id="post-content">
<p><%= __('post.private') %></p>
</div>

<% if(theme.scheme === 'Isolation') { %>
<!-- Paradox Post Info -->
<%- partial('_partial/Isolation-post-info') %>
<% } %>

<!-- Post Comments -->
<%- partial('_partial/comment') %>
</div>

<!-- Post Prev & Next Nav -->
<%- partial('_partial/post-nav') %>
</div>
</div>

<% } else { %>
<!-- Post Module -->
<div class="material-post_container">
Expand Down