Merge branch 'master' of github.com:fatchan/jschan

merge-requests/208/head
fatchan 4 years ago
commit b585f9d9ff
  1. 2
      views/pages/thread.pug

@ -6,7 +6,7 @@ include ../mixins/boardheader.pug
block head
script(src='/js/all.js')
- const subjectString = thread.subject || thread.nomarkup ? `${thread.nomarkup.substring(0, globalLimits.fieldLength.subject)}${thread.nomarkup.length > globalLimits.fieldLength.subject ? '...' : ''}` : thread.postId;
- const subjectString = thread.subject || (thread.nomarkup ? `${thread.nomarkup.substring(0, globalLimits.fieldLength.subject)}${thread.nomarkup.length > globalLimits.fieldLength.subject ? '...' : ''}` : thread.postId);
title /#{board._id}/ - #{subjectString}
if !modview
meta(property='og:site_name', value=meta.siteName)

Loading…
Cancel
Save