Dotclear

Changeset 3249:aeb7ade75620


Ignore:
Timestamp:
05/30/16 14:00:08 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Children:
3250:0602d92b678d, 3282:6aba0e1d175d
Message:

No more Shema.org and OpenGraph? meta in head, let 3rd party plugin doing it's optionnal job, addresses #2061

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/dotty/404.html

    r3246 r3249  
    1313     <meta property="dc.language" content="{{tpl:BlogLanguage}}" /> 
    1414</tpl:Block> 
    15  
    16 <tpl:Block name="og-entry"> 
    17      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}" /> 
    18 </tpl:Block>   <!-- #og-entry --> 
    19  
    20 <tpl:Block name="schema-entry"> 
    21      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}" /> 
    22 </tpl:Block>   <!-- #schema-entry --> 
    2315 
    2416<tpl:Block name="head-linkrel"> 
  • inc/public/default-templates/dotty/__layout.html

    r3246 r3249  
    11<!DOCTYPE html> 
    22<html lang="{{tpl:BlogLanguage}}"> 
    3 <head prefix="og: http://ogp.me/ns#; dc: http://purl.org/dc/terms/#"> 
     3<head prefix="dc: http://purl.org/dc/terms/#"> 
    44     <tpl:Block name="html-head"> 
    55          <meta charset="UTF-8" /> 
     
    3333               </tpl:Block>   <!-- dc-entry --> 
    3434          </tpl:Block>   <!-- head-dc --> 
    35  
    36           <tpl:Block name="head-og"> 
    37                <tpl:Block name="og-entry"> 
    38                     <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    39                     <meta property="og:description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    40                </tpl:Block>   <!-- #og-entry --> 
    41           </tpl:Block>   <!-- #head-og --> 
    42  
    43           <tpl:Block name="head-schema"> 
    44                <tpl:Block name="schema-entry"> 
    45                     <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    46                     <meta itemprop="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    47                </tpl:Block>   <!-- #schema-entry --> 
    48           </tpl:Block>   <!-- #head-schema --> 
    4935 
    5036          <tpl:Block name="head-linkrel"> 
  • inc/public/default-templates/dotty/archive.html

    r3246 r3249  
    1111     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1212</tpl:Block> 
    13  
    14 <tpl:Block name="og-entry"> 
    15      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}" /> 
    16      <meta property="og:description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    17 </tpl:Block>   <!-- #og-entry --> 
    18  
    19 <tpl:Block name="schema-entry"> 
    20      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}" /> 
    21      <meta itemprop="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    22 </tpl:Block>   <!-- #schema-entry --> 
    2313 
    2414<tpl:Block name="head-linkrel"> 
  • inc/public/default-templates/dotty/archive_month.html

    r3246 r3249  
    1414     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1515</tpl:Block> 
    16  
    17 <tpl:Block name="og-entry"> 
    18      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}" /> 
    19 </tpl:Block>   <!-- #og-entry --> 
    20  
    21 <tpl:Block name="schema-entry"> 
    22      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}" /> 
    23 </tpl:Block>   <!-- #schema-entry --> 
    2416 
    2517<tpl:Block name="head-linkrel"> 
  • inc/public/default-templates/dotty/category.html

    r3246 r3249  
    2121     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    2222</tpl:Block> 
    23  
    24 <tpl:Block name="og-entry"> 
    25      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    26      <meta property="og:description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" /> 
    27 </tpl:Block>   <!-- #og-entry --> 
    28  
    29 <tpl:Block name="schema-entry"> 
    30      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    31      <meta itemprop="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" /> 
    32 </tpl:Block>   <!-- #schema-entry --> 
    3323 
    3424<tpl:Block name="head-linkrel"> 
  • inc/public/default-templates/dotty/post.html

    r3246 r3249  
    1818     <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" /> 
    1919</tpl:Block> 
    20  
    21 <tpl:Block name="og-entry"> 
    22      <meta property="og:title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
    23      <meta property="og:description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    24 </tpl:Block>   <!-- #og-entry --> 
    25  
    26 <tpl:Block name="schema-entry"> 
    27      <meta itemprop="name" content="{{tpl:EntryTitle encode_html="1"}}" /> 
    28      <meta itemprop="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
    29 </tpl:Block>   <!-- #schema-entry --> 
    3020 
    3121<tpl:Block name="head-linkrel"> 
  • inc/public/default-templates/dotty/search.html

    r3246 r3249  
    1515     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1616</tpl:Block>   <!-- dc-title-head --> 
    17  
    18 <tpl:Block name="og-entry"> 
    19      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    20      <meta property="og:description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    21 </tpl:Block>   <!-- #og-entry --> 
    22  
    23 <tpl:Block name="schema-entry"> 
    24      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    25      <meta itemprop="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" /> 
    26 </tpl:Block>   <!-- #schema-entry --> 
    2717 
    2818<tpl:Block name="head-linkrel"> 
  • plugins/tags/default-templates/dotty/tag.html

    r3247 r3249  
    1515     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1616</tpl:Block> 
    17  
    18 <tpl:Block name="og-entry"> 
    19      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tag}} - {{tpl:TagID}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    20 </tpl:Block>   <!-- #og-entry --> 
    21  
    22 <tpl:Block name="schema-entry"> 
    23      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tag}} - {{tpl:TagID}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
    24 </tpl:Block>   <!-- #schema-entry --> 
    2517 
    2618<tpl:Block name="head-linkrel"> 
  • plugins/tags/default-templates/dotty/tags.html

    r3247 r3249  
    1414     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    1515</tpl:Block> 
    16  
    17 <tpl:Block name="og-entry"> 
    18      <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}" /> 
    19 </tpl:Block>   <!-- #og-entry --> 
    20  
    21 <tpl:Block name="schema-entry"> 
    22      <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}" /> 
    23 </tpl:Block>   <!-- #schema-entry --> 
    2416 
    2517<tpl:Block name="head-linkrel"> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map