Textpattern PHP Cross Reference Content Management Systems

Source: /textpattern/setup/pages/archive.txp - 189 lines - 7578 bytes - Text - Print

   1  <!DOCTYPE html>
   2  <html lang="<txp:lang />" dir="<txp:text item="lang_dir" />">
   3  
   4  <head>
   5      <meta charset="utf-8">
   6      <meta http-equiv="x-ua-compatible" content="ie=edge">
   7      <title>
   8          <txp:page_title />
   9      </title>
  10  
  11      <!-- Google font API -->
  12      <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic">
  13  
  14      <!-- CSS -->
  15      <txp:css format="link" media="" />
  16      <!-- ...or you can use (faster) external CSS files e.g. <link rel="stylesheet" href="<txp:site_url />css/default.css"> -->
  17  
  18      <!-- specify meta description if available -->
  19      <txp:meta_description />
  20      <!-- specify meta keywords if available -->
  21      <txp:meta_keywords separator="," />
  22  
  23      <meta name="generator" content="Textpattern CMS">
  24      <meta name="viewport" content="width=device-width, initial-scale=1">
  25      <meta name="robots" content="index, follow, noodp, noydir">
  26  
  27      <!-- specify canonical and author -->
  28      <txp:if_individual_article>
  29          <link rel="canonical" href="<txp:permlink />">
  30          <txp:meta_author title="1" />
  31      <txp:else />
  32          <link rel="canonical" href="<txp:section url="1" />">
  33      </txp:if_individual_article>
  34  
  35      <!-- content feeds -->
  36      <txp:feed_link flavor="atom" format="link" label="Atom" />
  37      <txp:feed_link flavor="rss" format="link" label="RSS" />
  38  </head>
  39  
  40  <txp:if_article_list>
  41      <body class="<txp:section />-page" itemscope itemtype="http://schema.org/CollectionPage">
  42  <txp:else />
  43      <body class="<txp:section />-page" itemscope itemtype="http://schema.org/WebPage">
  44  </txp:if_article_list>
  45  
  46      <!-- header -->
  47      <header class="site-header">
  48          <h1>
  49              <txp:link_to_home>
  50                  <txp:site_name />
  51              </txp:link_to_home>
  52          </h1>
  53          <h3>
  54              <txp:site_slogan />
  55          </h3>
  56      </header>
  57  
  58      <!-- navigation -->
  59      <nav class="site-navigation" aria-label="<txp:text item="navigation" />" itemscope itemtype="http://schema.org/SiteNavigationElement">
  60          <div>
  61              <txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="">
  62                  <li<txp:if_section name='<txp:section />'> class="active"</txp:if_section>>
  63                      <a itemprop="url" href="<txp:section url="1" />">
  64                          <txp:section title="1" />
  65                      </a>
  66                  </li>
  67              </txp:section_list>
  68  
  69              <!-- links by default to form: 'search_input.misc.txp' unless you specify a different form -->
  70              <txp:search_input />
  71          </div>
  72      </nav>
  73  
  74      <div class="wrapper">
  75          <div class="container">
  76  
  77              <!-- Main content -->
  78              <main aria-label="<txp:text item="main_content" />" itemscope itemtype="http://schema.org/Blog">
  79  
  80                  <txp:if_article_list>
  81  
  82                      <h1 itemprop="name">
  83                          <txp:section title="1" />
  84                      </h1>
  85                      <txp:article class="article-list" form="article_listing" limit="5" wraptag="ul" />
  86                      <!-- ...or if you want to list all articles from all sections instead, then replace txp:article with txp:article_custom -->
  87  
  88                      <!-- add pagination links to foot of article listings if there are more articles available, this method
  89                           is more flexible than using simple txp:link_to_prev/txp:link_to_next or txp:older/txp:newer tags -->
  90                      <txp:variable name="more" value='<txp:newer /><txp:older />' />
  91                      <txp:variable name="prev" value='<txp:newer />' />
  92                      <txp:variable name="next" value='<txp:older />' />
  93  
  94                      <txp:if_variable name="more" value="">
  95                      <txp:else />
  96                          <p class="paginator">
  97                              <txp:if_variable name="prev" value="">
  98                              <txp:else />
  99                                  <a rel="prev" href="<txp:newer />">
 100                                      <txp:text item="newer" />
 101                                  </a>
 102                              </txp:if_variable>
 103  
 104                              <txp:if_variable name="next" value="">
 105                              <txp:else />
 106                                  <a rel="next" href="<txp:older />">
 107                                      <txp:text item="older" />
 108                                  </a>
 109                              </txp:if_variable>
 110                          </p>
 111                      </txp:if_variable>
 112  
 113                  <txp:else />
 114  
 115                      <txp:article />
 116  
 117                      <!-- add pagination links to foot of article if there are more articles available, this method
 118                           is more flexible than using simple txp:link_to_prev/txp:link_to_next or txp:older/txp:newer tags -->
 119                      <txp:variable name="more" value='<txp:link_to_prev /><txp:link_to_next />' />
 120                      <txp:variable name="prev" value='<txp:link_to_prev />' />
 121                      <txp:variable name="next" value='<txp:link_to_next />' />
 122  
 123                      <txp:if_variable name="more" value="">
 124                      <txp:else />
 125                          <p class="paginator">
 126                              <txp:if_variable name="prev" value="">
 127                              <txp:else />
 128                                  <a rel="prev" href="<txp:link_to_prev />" title="<txp:prev_title />">
 129                                      <txp:text item="older" />
 130                                  </a>
 131                              </txp:if_variable>
 132  
 133                              <txp:if_variable name="next" value="">
 134                              <txp:else />
 135                                  <a rel="next" href="<txp:link_to_next />" title="<txp:next_title />">
 136                                      <txp:text item="newer" />
 137                                  </a>
 138                              </txp:if_variable>
 139                          </p>
 140                      </txp:if_variable>
 141  
 142                  </txp:if_article_list>
 143  
 144              </main>
 145  
 146              <!-- Complementary content -->
 147              <aside class="complementary-content">
 148  
 149                  <!-- feed links, default flavor is RSS, so we don't need to specify a flavor on the first feed_link -->
 150                  <p>
 151                      <txp:feed_link class="feed-rss" label="RSS" />
 152                      /
 153                      <txp:feed_link class="feed-atom" flavor="atom" label="Atom" />
 154                  </p>
 155  
 156                  <!-- if links exist, renders a links list -->
 157                  <txp:variable name="links" value='<txp:linklist limit="1" />' />
 158  
 159                  <txp:if_variable name="links" value="">
 160                  <txp:else />
 161                      <section>
 162                          <h4>
 163                              <txp:text item="links" />
 164                          </h4>
 165  
 166                          <!-- links by default to form: 'plainlinks.link.txp' unless you specify a different form -->
 167                          <txp:linklist wraptag="ul" break="li" />
 168                      </section>
 169                  </txp:if_variable>
 170  
 171              </aside>
 172  
 173          </div> <!-- /.container -->
 174      </div> <!-- /.wrapper -->
 175  
 176      <!-- footer -->
 177      <footer class="site-footer">
 178          <p>
 179              <small>
 180                  <txp:text item="published_with" />
 181                  <a rel="external" href="http://textpattern.com" title="<txp:text item="go_txp_com" />">Textpattern CMS</a>
 182              </small>
 183          </p>
 184      </footer>
 185  
 186      <!-- add your own JavaScript here -->
 187  
 188  </body>
 189  </html>

title

Description

title

Description

title

Description

title

title

Body