From 2fe04294eb05120235431b9dae3dbcedeb1de751 Mon Sep 17 00:00:00 2001 From: PatricZhao Date: Fri, 22 Oct 2021 18:59:54 +0800 Subject: [PATCH] Delete theme/apache/templates directory --- theme/apache/templates/README.md | 38 ------- theme/apache/templates/base.html | 213 -------------------------------------- theme/apache/templates/styles.css | 65 ------------ 3 files changed, 316 deletions(-) delete mode 100644 theme/apache/templates/README.md delete mode 100644 theme/apache/templates/base.html delete mode 100644 theme/apache/templates/styles.css diff --git a/theme/apache/templates/README.md b/theme/apache/templates/README.md deleted file mode 100644 index 00e0dd6..0000000 --- a/theme/apache/templates/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# Apache Theme - -The Apache Theme included here consists two types of files. - -1. Page templates. - There should be one template for each page type. -2. CSS stylesheets. - There are css overrides for the site and/or template. - -## Page Templates - -1. base.html - there is only one page type. - -Change the base page as necessary and add new page types as required. - -## CSS Stylesheets - -These are site or template specific overrides to the stylesheet frameworks. -You can choose to include these in your template, or you can move the file into your assets. - -1. styles.css - consists of custom site CSS overrides. Edit as needed. - -See [Web Developer](../../../DEVELOPER.md) for framework and other information. - -Each of the above files should be edited as needed for the deployed website. - -## Pelican Variables set in [pelicanconf.py](../../../pelicanconf.py) - -~~~python -SITENAME = u'Apache ' -SITEDOMAIN = '.apache.org' -SITEURL = 'https://.apache.org' -SITELOGO = 'https://.apache.org/images/logo.png' -SITEDESC = u'' -SITEREPOSITORY = 'https://github.com/apache//blob//content/' -TRADEMARKS = u'Apache, the Apache feather logo, and are trademarks or registered trademarks' -CURRENTYEAR = date.today().year -~~~ diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html deleted file mode 100644 index 381cbef..0000000 --- a/theme/apache/templates/base.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - {% block head %} - - - {{ SITENAME }} - {{ page.title }} - {% endblock %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

{{ page.metadata.breadcrumbs }}

- {% block content %} - {% endblock %} - {% if page.source_button is defined %} - -

- Page Source -

- {% endif %} -
- - - - - - - - - - - - - - - - diff --git a/theme/apache/templates/styles.css b/theme/apache/templates/styles.css deleted file mode 100644 index cd22c4e..0000000 --- a/theme/apache/templates/styles.css +++ /dev/null @@ -1,65 +0,0 @@ -html { - font-size: 18px; -} -body { - font-family: 'Montserrat', 'Source Sans Pro','Helvetica Neue', Helvetica, Arial, sans-serif; - font-weight: 300; - background-color: #fff; -} -.markdown-body { - box-sizing: border-box; - min-width: 200px; - max-width: 980px; - margin: 0 auto; - padding: 45px; -} -@media (max-width: 767px) { - .markdown-body { - padding: 15px; - } -} -.footer { - border-top: 1px solid black; - padding-top: 3px; -} -.right-align { - text-align: right; -} -.center-align { - text-align: center; -} -blockquote { - background: bisque; -} -.bg-primary { - background-color: #005bff!important; -} -a { - font-weight: 400; - color: #4643aa; -# color: #005bff; -} -#li { -# line-height: 2; -#} -.h1, h1 { - font-size: 1.5rem; -} -.h2, h2 { - font-size: 1.4rem; -} -.h3, h3 { - font-size: 1.3rem; -} -.h4, h4 { - font-size: 1.2rem; -} -.h5, h5 { - font-size: 1.1rem; -} -.headerlink { - visibility: hidden; -} -h1:hover > .headerlink, h2:hover > .headerlink, h3:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, h6:hover > .headerlink { - visibility: visible -}