diff --git a/languages/en.yml b/languages/en.yml index 2e064eb..a938a03 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -19,6 +19,9 @@ widget: links: 'Links' tag_cloud: 'Tag Cloud' catalogue: 'Catalogue' + email: + title: 'Subscribe Email' + button: 'Subscribe' article: more: 'Read More' comments: 'Comments' diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml index bacc55e..a705b73 100644 --- a/languages/zh-TW.yml +++ b/languages/zh-TW.yml @@ -19,6 +19,9 @@ widget: links: '連結' tag_cloud: '標籤雲' catalogue: '文章目錄' + email: + title: '訂閱 Email' + button: '訂閱' article: more: '繼續閱讀' comments: '評論' diff --git a/layout/widget/subscribe_email.ejs b/layout/widget/subscribe_email.ejs new file mode 100644 index 0000000..ca85489 --- /dev/null +++ b/layout/widget/subscribe_email.ejs @@ -0,0 +1,30 @@ +
+
+ +
+
diff --git a/layout/widget/subscribe_email.locals.js b/layout/widget/subscribe_email.locals.js new file mode 100644 index 0000000..fe59b94 --- /dev/null +++ b/layout/widget/subscribe_email.locals.js @@ -0,0 +1,3 @@ +module.exports = (ctx, locals) => { + return locals; +}