소스 검색

Revert "Change the og:description value to the intro_html instead of markdown source"

This reverts commit aac5466598741b9f3fa96645f9281daef928a326.
Markus Ochel 12 년 전
부모
커밋
b598f6bc21
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      site/server/lists.coffee

+ 2 - 2
site/server/lists.coffee

@@ -136,7 +136,7 @@ exports.collection = (head, req) ->
       og:
         site_name: site.name
         title: collection.name
-        description: collection.intro_html
+        description: collection.intro
         type: 'website'
         url: "#{site.link}/collection/#{collection.slug}"
         image: "#{site.link}/file/#{collection._id}/#{collection.photo}" if collection.photo
@@ -305,7 +305,7 @@ exports.doc = (head, req) ->
       og:
         site_name: site.name
         title: doc.title
-        description: doc.intro_html
+        description: doc.intro
         type: 'article'
         url: "#{site.link}/#{doc.type}/#{doc.slug}"
         image: "#{site.link}/file/#{doc._id}/#{doc.photo}" if doc.photo