diff --git a/lib/web/note/util.js b/lib/web/note/util.js index c5affd05c..128c89cfe 100644 --- a/lib/web/note/util.js +++ b/lib/web/note/util.js @@ -81,6 +81,7 @@ exports.getPublishData = function (req, res, note, callback) { const data = { title: title, description: meta.description || (markdown ? models.Note.generateDescription(markdown) : null), + lang: meta.lang || null viewcount: note.viewcount, createtime: createtime, updatetime: updatetime, diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 2cf96a7b0..51900a4a0 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -1,5 +1,5 @@ - +">