This is an automated email from the ASF dual-hosted git repository. piergiorgio pushed a commit to branch preview/pelican in repository https://gitbox.apache.org/repos/asf/manifoldcf-site.git
commit cf296c74c9e3e47e56d8eae693c5d867c0c36c9d Author: Piergiorgio Lucidi <[email protected]> AuthorDate: Thu Dec 14 13:16:39 2023 +0100 removed the old template and added the apache template --- content/theme/apache/templates/README.md | 73 ++++++ content/theme/apache/templates/base.html | 337 ++++++++++++++++++++++++++ content/theme/apache/templates/page.html | 4 + content/theme/apache/templates/siteindex.html | 7 + content/theme/apache/templates/styles.css | 6 + content/theme/templates/article.html | 22 -- content/theme/templates/blog.html | 27 --- content/theme/templates/blogindex.html | 36 --- content/theme/templates/breadcrumbs.html | 15 -- content/theme/templates/footer.html | 10 - content/theme/templates/frontpage.html | 92 ------- content/theme/templates/generic.html | 22 -- content/theme/templates/index.html | 31 --- content/theme/templates/menu.html | 51 ---- content/theme/templates/page.html | 25 -- content/theme/templates/styles.html | 4 - 16 files changed, 427 insertions(+), 335 deletions(-) diff --git a/content/theme/apache/templates/README.md b/content/theme/apache/templates/README.md new file mode 100644 index 0000000..dce09f5 --- /dev/null +++ b/content/theme/apache/templates/README.md @@ -0,0 +1,73 @@ +# Apache Theme + +The Apache Theme included here consists two types of files. + +- Page templates. +- CSS stylesheets. + +## Page Templates + +- base.html - the main template. Other templates extend this template automatically even those in the default pelican theme. +- page.html - this overrides pelican's default/simple page.html which includes `<h1>{{ page.title }}</h1>`. + We don't want that behavior. + +Change `base.html` as necessary. Add new override templates if required. +See [Pelican documentation](https://docs.getpelican.com/en/latest/themes.html#inheritance) about inheritance from the simple theme. + +## CSS Stylesheets + +In this site the css included by `base.html` is found in the `content` tree. +There are site or template specific overrides to the stylesheet frameworks, but these are not done as Pelican specifies. + +- styles.css - consists of custom site CSS overrides. Edit as needed. Here we include the css for the ASF permalink style. + This file is in the same directory as the html and is included inline with `{% include "styles.css" %}` + +## Page Metadata + +This theme uses the following metadata: + +- Title. Used in `base.html` with `<title>{{ page.title }}</title>` to provide the page title. + +- Notice. This is notice text which is typically a link to the license. + + `{% if page.notice %}<!-- {{ page.notice }} -->{% endif %}` + +- License. This is an alternative to Notice. + +- bodytag. This adds attributes to the `<body>` element. + This is allows the main `index.ezmd` to have the same template, but with differing layout. + + `<body{% if page.bodytag %} {{ page.bodytag }}{% endif %} >` + +## Pelican Settings + +Pelican settings are provided in the [pelicanconf.yaml](../../../pelicanconf.yaml) file: + +``` +site: + name: Apache Software Foundation + description: The main website of the ASF + domain: www.apache.org + logo: images/logo.png + repository: https://github.com/apache/www-site/blob/main/content/ + trademarks: Apache, the Apache feather logo are trademarks + index: '**' +``` + + +- In `base.html`, `CURRENTYEAR` is used in the copyright statement. + + `Copyright © {{ CURRENTYEAR }} The Apache Software Foundation` + + +## Pelican Themes + +This is a [custom theme][1]. Pelican templates use [Jinja][2] + +## History - Apache CMS + +The [svn history](http://svn.apache.org/viewvc/infrastructure/site/trunk/templates) was not migrated and remains available. + + +[1]: https://docs.getpelican.com/en/latest/themes.html +[2]: https://jinja.palletsprojects.com/en/3.0.x/ diff --git a/content/theme/apache/templates/base.html b/content/theme/apache/templates/base.html new file mode 100644 index 0000000..16ca539 --- /dev/null +++ b/content/theme/apache/templates/base.html @@ -0,0 +1,337 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content="Home page of The Apache Software Foundation"> + <link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-touch-icon-57x57.png"> + <link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-touch-icon-60x60.png"> + <link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-touch-icon-72x72.png"> + <link rel="apple-touch-icon" sizes="76x76" href="/favicons/apple-touch-icon-76x76.png"> + <link rel="apple-touch-icon" sizes="114x114" href="/favicons/apple-touch-icon-114x114.png"> + <link rel="apple-touch-icon" sizes="120x120" href="/favicons/apple-touch-icon-120x120.png"> + <link rel="apple-touch-icon" sizes="144x144" href="/favicons/apple-touch-icon-144x144.png"> + <link rel="apple-touch-icon" sizes="152x152" href="/favicons/apple-touch-icon-152x152.png"> + <link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-touch-icon-180x180.png"> + <link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32"> + <link rel="icon" type="image/png" href="/favicons/favicon-194x194.png" sizes="194x194"> + <link rel="icon" type="image/png" href="/favicons/favicon-96x96.png" sizes="96x96"> + <link rel="icon" type="image/png" href="/favicons/android-chrome-192x192.png" sizes="192x192"> + <link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16"> + <link rel="manifest" href="/favicons/manifest.json"> + <link rel="shortcut icon" href="/favicons/favicon.ico"> + <meta name="msapplication-TileColor" content="#603cba"> + <meta name="msapplication-TileImage" content="/favicons/mstile-144x144.png"> + <meta name="msapplication-config" content="/favicons/browserconfig.xml"> + <meta name="theme-color" content="#282661"> + + <title>{{ page.title }}</title> + <link href="/css/Montserrat-300-600.css" rel="stylesheet"> + <link href="/css/min.bootstrap.css" rel="stylesheet"> + <link href="/css/styles.css" rel="stylesheet"> + <style> + {% include "styles.css" %} + </style> + + <!-- pagefind search --> + <link href="/_pagefind/pagefind-ui.css" rel="stylesheet"> + <script src="/_pagefind/pagefind-ui.js" type="text/javascript"></script> + <script> + window.addEventListener('DOMContentLoaded', (event) => { + new PagefindUI({ element: "#pagefind-search" }); + }); + var pageTitle = '{{ page.title }}'; + if(pageTitle === '404'){ + window.addEventListener('DOMContentLoaded', (event) => { + new PagefindUI({ element: "#page-404-search" }); + }); + } + </script> + + + {% if page.notice %}<!-- {{ page.notice }} -->{% endif %} + {% if page.license %}<!-- {{ page.license }} -->{% endif %} + <!-- Matomo --> + <script> + var pageTitle = '{{ page.title }}'; + var _paq = window._paq = window._paq || []; + /* tracker methods like "setCustomDimension" should be called before +"trackPageView" */ + /* We explicitly disable cookie tracking to avoid privacy issues */ + _paq.push(['disableCookies']); + if(pageTitle === '404'){ + /* Track 404 page hits */ + _paq.push(['setDocumentTitle', '404/URL = ' + encodeURIComponent(document.location.pathname+document.location.search) + '/From = ' + encodeURIComponent(document.referrer)]); + } + /* Measure a visit to flink.apache.org and nightlies.apache.org/flink +as the same visit */ + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="//analytics.apache.org/"; + _paq.push(['setTrackerUrl', u+'matomo.php']); + _paq.push(['setSiteId', '37']); + var d=document, g=d.createElement('script'), +s=d.getElementsByTagName('script')[0]; + g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); + })(); + </script> + <!-- End Matomo Code --> + +</head> + +<body{% if page.bodytag %} {{ page.bodytag }}{% endif %} > + <!-- Navigation --> + <header> + <div id="skiptocontent"> + <a href="#maincontent">Skip to Main Content</a> + </div> + <nav class="navbar navbar-inverse navbar-fixed-top mainmenu"> + + <div class="container"> + <div class="navbar-header"> + <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#mainnav-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + </div> + <div class="collapse navbar-collapse" id="mainnav-collapse"> + <div class="upper-nav"> + <div class="header-social-icons"> + <a target="_blank" href="https://infra.apache.org/slack.html"><img src="/images/slack-icon.svg" alt="slack icon"></a> + <a target="_blank" href="https://github.com/apache"><img src="/images/github-mark-white.svg" alt="github icon"></a> + <a target="_blank" href="https://www.linkedin.com/company/the-apache-software-foundation/"><img src="/images/linkedin-icon.png" alt="linkedIn icon"></a> + <a target="_blank" href="https://www.youtube.com/c/TheApacheFoundation"><img src="/images/youtube-icon.svg" alt="youtube icon"></a> + <a target="_blank" href="https://twitter.com/TheASF"><img src="/images/x-icon.svg" alt="X icon"></a> + </div> + <a href="https://donate.apache.org/48ff" target="_blank" class="btn btn-default" onclick="_paq.push(['trackEvent', 'click', 'Make a Donation Button']);">Make a Donation</a> + </div> + <ul class="nav navbar-nav navbar-justified"> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Community <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="https://community.apache.org/" target="_blank">Contributor Getting Started</a></li> + <li><a href="https://community.apache.org/contributors/" target="_blank">Becoming a Committer</a></li> + <li><a href="/foundation/policies/conduct">Code of Conduct</a></li> + <li><a href="/community-resources/">Community Resources</a></li> + <li><a href="https://communityovercode.org/" target="_blank">Community Over Code</a></li> + <li><a href="https://events.apache.org/" target="_blank">Events</a></li> + <li><a href="https://www.redbubble.com/people/comdev/shop" target="_blank">Store</a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Projects <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="/projects">Projects</a></li> + <li><a href="https://incubator.apache.org/" target="_blank">Incubator Projects</a></li> + <li><a href="https://projects.apache.org/" target="_blank">Projects Directory </a></li> + <li><a href="/foundation/mailinglists">Mailing Lists </a></li> + <li><a href="/security">Report a Vulnerability</a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Downloads <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="https://downloads.apache.org/" target="_blank">Distributions</a></li> + <li><a href="https://projects.apache.org/releases.html" target="_blank">Releases</a></li> + <li><a href="https://status.apache.org/" target="_blank">Infrastructure Status</a></li> + <li><a href="https://infra-reports.apache.org/#uptime" target="_blank">Infrastructure Statistics</a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Learn <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="https://news.apache.org/" target="_blank">Blog</a></li> + <li><a href="/foundation/how-it-works">How the ASF Works</a></li> + <li><a href="/theapacheway/">The Apache Way</a></li> + <li><a href="/legal/">Legal & Trademark</a></li> + <li><a href="/licenses">Licenses</a></li> + <li><a href="/foundation/glossary">Glossary</a></li> + <li><a href="/foundation/faq">FAQ</a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Resources & Tools <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="/dev/">Developer Information</a></li> + <li><a href="https://cwiki.apache.org/" target="_blank" >Wiki</a></li> + <li><a href="https://issues.apache.org/" target="_blank" >Issues</a></li> + <li><a href="https://infra.apache.org/slack.html" target="_blank" >Slack</a></li> + <li><a href="https://selfserve.apache.org/" target="_blank" >Self Serve Portal</a></li> + <li><a href="https://infra.apache.org/" target="_blank" >Infrastructure</a></li> + <li><a href="https://whimsy.apache.org/" target="_blank" >Whimsy</a></li> + <li><a href="/foundation/press/kit/">Brand Guidelines</a></li> + <li><a href="/logos/">Project Logos</a></li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">About <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="/foundation/">About</a></li> + <li><a href="/foundation/sponsors">Our Sponsors</a></li> + <li><a href="/foundation/sponsorship">Corporate Sponsorship</a></li> + <li><a href="/foundation/individual-supporters">Individual Supporters</a></li> + <li><a href="/foundation/leadership">Leadership</a></li> + <li><a href="/foundation/members">Members</a></li> + <li><a href="https://diversity.apache.org/" target="_blank">Diversity & Inclusion</a></li> + <li><a href="/press/">Newsroom</a></li> + <li><a href="/foundation/contact">Contact</a></li> + </ul> + </li> + + + + <li class="dropdown"> + <a href="#" class="dropdown-toggle hidden-xs" data-toggle="dropdown" role="button"><span class="glyphicon glyphicon-search" + aria-hidden="true"></span><span class="sr-only">Search</span></a> + <ul class="dropdown-menu search-form" role="search"> + <li> + <div id="pagefind-search" class="input-group" style="width: 100%; padding: 0 5px;"></div> + </li> + </ul> + </li> + </ul> + </div> + </div> + </nav> + </header> + <!-- / Navigation --> + <header id="main-header" class="container"> + <div class="sideImg"> + <a class="visible-home" href="https://events.apache.org/x/current-event.html"> + <img class="img-responsive" style="width: 125px;" src="/events/current-event-125x125.png" alt="Apache Events"/> +<!-- STALE: <img class="img-responsive" style="width: 125px;" src="https://www.apachecon.com/event-images/default-square-light.png" alt="ApacheCon 2021 Coming Soon!" /> --> + </a> + <a class="hidden-home" href="/"><img class="img-responsive" src="/img/asf-estd-1999-logo.jpg" alt="The Apache Software Foundation"></a> + </div> + <div class="main"> + <img class="img-responsive center-block visible-home" src="/img/asf-estd-1999-logo.jpg" alt="Apache 20th Anniversary Logo"> + + </div> + + </header> + <main id="maincontent"> + {% if page.bodytag is not defined %}<div class="container">{% endif %} + {% block content %} + {% endblock %} + {% if page.bodytag is not defined %}</div>{% endif %} + </main> + + <!-- Footer --> + <footer class="bg-primary"> + <div class="container"> + <div class="row"> + <br /> + <div class="col-sm-2"> + <h5 class="white">Community</h5> + <ul class="list-unstyled white" role="menu"> + <li><a href="https://community.apache.org/" target="_blank">Contributor Getting Started</a></li> + <li><a href="https://community.apache.org/contributors/" target="_blank">Becoming a Committer</a></li> + <li><a href="/foundation/policies/conduct">Code of Conduct</a></li> + <li><a href="/community-resources/">Community Resources</a></li> + <li><a href="https://communityovercode.org/" target="_blank">Community Over Code</a></li> + <li><a href="https://events.apache.org/" target="_blank">Events</a></li> + <li><a href="https://www.redbubble.com/people/comdev/shop" target="_blank">Store</a></li> + </ul> + </div> + + <div class="col-sm-2"> + <h5 class="white">Projects</h5> + <ul class="list-unstyled white" role="menu"> + <li><a href="/projects">Projects</a></li> + <li><a href="https://incubator.apache.org/" target="_blank">Incubator Projects</a></li> + <li><a href="https://projects.apache.org/" target="_blank">Projects Directory </a></li> + <li><a href="/foundation/mailinglists">Mailing Lists </a></li> + <li><a href="/security">Report a Vulnerability</a></li> + </ul> + </div> + <div class="col-sm-2"> + <h5 class="white">Downloads</h5> + <ul class="list-unstyled white" role="menu"> + <li><a href="https://downloads.apache.org/" target="_blank">Distributions</a></li> + <li><a href="https://projects.apache.org/releases.html" target="_blank">Releases</a></li> + <li><a href="https://status.apache.org/" target="_blank">Infrastructure Status</a></li> + <li><a href="https://infra-reports.apache.org/#uptime" target="_blank">Infrastructure Statistics</a></li> + </ul> + </div> + + <div class="col-sm-2"> + <h5 class="white">Learn</h5> + <ul class="list-unstyled white" role="menu"> + <li><a href="https://news.apache.org/" target="_blank">Blog</a></li> + <li><a href="/foundation/how-it-works">How the ASF Works</a></li> + <li><a href="/theapacheway/">The Apache Way</a></li> + <li><a href="/legal/">Legal & Trademark</a></li> + <li><a href="/licenses">Licenses</a></li> + <li><a href="/foundation/glossary">Glossary</a></li> + <li><a href="/foundation/faq">FAQ</a></li> + </ul> + </div> + + <div class="col-sm-2"> + <h5 class="white">Resources & Tools</h5> + <ul class="list-unstyled white" role="menu"> + <li><a href="/dev/">Developer Information</a></li> + <li><a href="https://cwiki.apache.org/" target="_blank" >Wiki</a></li> + <li><a href="https://issues.apache.org/" target="_blank" >Issues</a></li> + <li><a href="https://infra.apache.org/slack.html" target="_blank" >Slack</a></li> + <li><a href="https://selfserve.apache.org/" target="_blank" >Self Serve Portal</a></li> + <li><a href="https://infra.apache.org/" target="_blank" >Infrastructure</a></li> + <li><a href="https://whimsy.apache.org/" target="_blank" >Whimsy</a></li> + <li><a href="/foundation/press/kit/">Brand Guidelines</a></li> + <li><a href="/logos/">Project Logos</a></li> + </ul> + </div> + + <div class="col-sm-2"> + <h5 class="white">About</h5> + <ul class="list-unstyled white" role="menu"> + <li><a href="/foundation/">About</a></li> + <li><a href="/foundation/sponsors">Our Sponsors</a></li> + <li><a href="/foundation/sponsorship">Corporate Sponsorship</a></li> + <li><a href="/foundation/individual-supporters">Individual Supporters</a></li> + <li><a href="/foundation/leadership">Leadership</a></li> + <li><a href="/foundation/members">Members</a></li> + <li><a href="https://diversity.apache.org/" target="_blank">Diversity & Inclusion</a></li> + <li><a href="/press/">Newsroom</a></li> + <li><a href="/foundation/contact">Contact</a></li> + <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" target="_blank">Privacy Policy</a></li> + </ul> + </div> + + + </div> + <hr class="col-lg-12 hr-white" /> + <div class="row"> + <div class="col-lg-12"> + <p class="text-center">Copyright © {{ CURRENTYEAR }} The Apache Software Foundation, Licensed under the <a class="white" href="/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> + <p class="text-center">Apache and the Apache feather logo are trademarks of The Apache Software Foundation. </p> + </div> + </div> + </div> + + </footer> + + <!-- / Footer --> + + <script src="/js/jquery.min.js"></script> + <script src="/js/bootstrap.js"></script> + <script src="/js/slideshow.js"></script> + <script> + (function($){ + $(document).ready(function(){ + $('ul.dropdown-menu [data-toggle=dropdown]').on('click', function(event) { + event.preventDefault(); + event.stopPropagation(); + $(this).parent().siblings().removeClass('open'); + $(this).parent().toggleClass('open'); + console.log('WOrked'); + }); + }); + })(jQuery); + </script> +</body> +</html> diff --git a/content/theme/apache/templates/page.html b/content/theme/apache/templates/page.html new file mode 100644 index 0000000..426bff1 --- /dev/null +++ b/content/theme/apache/templates/page.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} + {{ page.content }} +{% endblock %} diff --git a/content/theme/apache/templates/siteindex.html b/content/theme/apache/templates/siteindex.html new file mode 100644 index 0000000..b4609ca --- /dev/null +++ b/content/theme/apache/templates/siteindex.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} +{% block content %} +<section data-pagefind-ignore="all"> +{{ page.content }} +{{ SITE_INDEX }} +</section> +{% endblock %} diff --git a/content/theme/apache/templates/styles.css b/content/theme/apache/templates/styles.css new file mode 100644 index 0000000..7cc7771 --- /dev/null +++ b/content/theme/apache/templates/styles.css @@ -0,0 +1,6 @@ +.headerlink { + visibility: hidden; +} +dt:hover > .headerlink, p:hover > .headerlink, td:hover > .headerlink, h1:hover > .headerlink, h2:hover > .headerlink, h3:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, h6:hover > .headerlink { + visibility: visible +} diff --git a/content/theme/templates/article.html b/content/theme/templates/article.html deleted file mode 100644 index e772f95..0000000 --- a/content/theme/templates/article.html +++ /dev/null @@ -1,22 +0,0 @@ -{% block head %} -<!doctype html> -<html class="no-js" lang="en" dir="ltr"> - <head> - <meta charset="utf-8"> - <meta http-equiv="x-ua-compatible" content="ie=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{ article.title }} - {{SITENAME}}</title> - {% include "styles.html" %} - </head> - <body class="d-flex flex-column h-100"> - <main class="flex-shrink-0"> - {% include "menu.html" %} - {% include "breadcrumbs.html" %} - - {% include "generic.html" %} - - {% include "footer.html" %} - </main> - </body> -</html> -{% endblock %} diff --git a/content/theme/templates/blog.html b/content/theme/templates/blog.html deleted file mode 100644 index af4db2c..0000000 --- a/content/theme/templates/blog.html +++ /dev/null @@ -1,27 +0,0 @@ -{% block head %} - <!doctype html> - <html class="no-js" lang="en" dir="ltr"> - <head> - <meta charset="utf-8"> - <meta http-equiv="x-ua-compatible" content="ie=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Blogs - {{SITENAME}}</title> - {% include "styles.html" %} - </head> - <body class="d-flex flex-column h-100"> - <main class="flex-shrink-0"> - <div> - - {% include "menu.html" %} - {% include "breadcrumbs.html" %} - - {% include "blogindex.html" %} - - {% include "footer.html" %} - </div> - </main> - <script>hljs.initHighlightingOnLoad();</script> - </body> - </html> -{% endblock %} - diff --git a/content/theme/templates/blogindex.html b/content/theme/templates/blogindex.html deleted file mode 100644 index af1687e..0000000 --- a/content/theme/templates/blogindex.html +++ /dev/null @@ -1,36 +0,0 @@ -<div id="contents"> - <div class="bg-white p-5 rounded"> - <div class="col-sm-8 mx-auto"> - - <h3>Welcome to the Infra Blog!</h3> - <p><i>Here you can find all kinds of wonderful information about Infra projects and infrastructure updates</i></p> - - -{% for article in articles %} - <!-- Post --> - <div class="row"> - <div class="callout"> - <article class="post"> - <header> - <div class="title"> - <h2><a href="/blog/{{ article.slug }}.html">{{ article.title }}</a></h2> - <p>Posted on: {{ article.date }}</p> - <p>{{ article.summary }}</p> - <footer> - <ul class="actions"> - <div style="text-align: right"><a href="/blog/{{ article.slug }}.html" class="button medium">Continue Reading</a></div> - </ul> - <ul class="stats"> - {% for tag in article.tags %} - <li><a href="#">{{ tag.name }}</a></li> - {% endfor %} - </ul> - </footer> - </article> - </div> - </div> -{% endfor %} - - </div> - </div> -</div> diff --git a/content/theme/templates/breadcrumbs.html b/content/theme/templates/breadcrumbs.html deleted file mode 100644 index 6a7dbd4..0000000 --- a/content/theme/templates/breadcrumbs.html +++ /dev/null @@ -1,15 +0,0 @@ -<!-- breadcrumbs --> -<div class="card" style="height: 34px;"> - <nav aria-label="breadcrumb" style="padding-left: 12px; padding-top: 4px;"> - <ol class="breadcrumb"> - <li class="breadcrumb-item"><a href="/">Home</a></li> - - <li class="breadcrumb-item active"><a href="/{%if article%}blog/{{article.slug}}.html{%else%}{{page.slug}}.html{%endif%}"> - {%if article%}{{article.title}}{%else%}{{page.title}}{%endif%} - </a></li> - - <li class="breadcrumb-item active">(<a href="https://github.com/apache/infrastructure-website/tree/master/content/{%if article%}blog/{{article.slug}}.md{%else%}pages/{{page.slug}}.md{%endif%}">edit</a>)</li> - - </ol> - </nav> -</div> diff --git a/content/theme/templates/footer.html b/content/theme/templates/footer.html deleted file mode 100644 index 7720aec..0000000 --- a/content/theme/templates/footer.html +++ /dev/null @@ -1,10 +0,0 @@ - <!-- footer --> - <div class="row"> - <div class="large-12 medium-12 columns"> - <p style="font-style: italic; font-size: 0.8rem; text-align: center;"> - Copyright {{ CURRENTYEAR }}, <a href="https://www.apache.org/">The Apache Software Foundation</a>, Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/> - Apache® and the Apache feather logo are trademarks of The Apache Software Foundation... - </p> - </div> - </div> - <script type="application/ecmascript" src="/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"></script> diff --git a/content/theme/templates/frontpage.html b/content/theme/templates/frontpage.html deleted file mode 100644 index 31ed873..0000000 --- a/content/theme/templates/frontpage.html +++ /dev/null @@ -1,92 +0,0 @@ - - <h3 style="text-align:center">Welcome to the website of Infra, the Apache Infrastructure Team!</h3> - <p style="text-align:center"><i>A distributed team devoted to serving the needs of the Apache Software Foundation and its projects</i></p> - <hr/> - <div class="row"> - <!-- how can we help? --> - <div class="col-md"> - <div class="card rounded-3 bg-light h-100"> - <div class="card-body d-flex flex-column"> - <a href="/contact.html"></a> - <h5 class="card-title text-center text-capitalize"> - <i class="fa fa-question-circle" style="color: #000; font-size: 16pt;"></i> - <a href="/contact.html" >Looking for Help?</a> - </h5> - <p class="card-text"> - The Apache Infrastructure team, or <em>Infra</em>, ensures the - day-to-day operations of the technical aspects of the - foundation. If you have questions or require - support regarding email, code repositories, web sites, - issue trackers and so forth, we are here to help! - </p> - <div class="d-grid mt-auto"> - <a href="/contact.html" class="btn btn-primary">Learn More...</a> - </div> - </div> - </div> - </div> - - <!-- services and tools --> - <div class="col-md"> - <div class="card rounded-3 bg-light h-100"> - <div class="card-body d-flex flex-column"> - <a href="/services.html"></a> - <h5 class="card-title text-center text-capitalize"> - <i class="fa fa-handshake" style="color: #000; font-size: 16pt;"></i> - <a href="/services.html">Services and Tools</a> - </h5> - <p class="card-text"> - Infra supports services for the ASF and its projects, - including GitBox, Jira, Confluence, Jenkins, and Buildbot. - We also have an extensive toolbox we use on a daily basis - that contains both home-brewed solutions and - "off the shelf" offerings. Feel free to check them out. - </p> - <div class="d-grid mt-auto"> - <a href="/services.html" class="btn btn-primary">Learn More...</a> - </div> - </div> - </div> - </div> - - <!-- who are we (team etc) --> - <div class="col-md"> - <div class="card rounded-3 bg-light h-100"> - <div class="card-body d-flex flex-column"> - <a href="/team.html"></a> - <h5 class="card-title text-center text-capitalize"> - <i class="fa fa-people-group" style="color: #000; font-size: 16pt;"></i> - <a href="/team.html">Who We Are</a> - </h5> - <p class="card-text"> - Infra manages day-to-day system administration and - operation of the hardware assets that run the many - services at the ASF. Click the button below to learn - more about who we are and how we operate. - </p> - <div class="d-grid mt-auto"> - <a href="/team.html" class="btn btn-primary">Learn More...</a> - </div> - </div> - </div> - </div> - - </div> - - -<!-- news --> - <div class="callout mt-3"> - <h3>News from Infra</h3> - <i>More information and longer-form articles appear on <a href="https://infra.apache.org/blog/">the Infra Blog</a>.</i> - <hr/> - <p><b>February 3, 2023</b>: The Infrastructure team has been working on decommissioning Travis CI support since late 2022, due to changes in the Travis Open Source policy. We are now 10 days prior to the announced cut off date of February 15, and some projects still have one or more builds configured to use Travis CI. While we understand that not all projects may be finished migrating their builds to a supported platform, we will be doing the cut-off on the 15th. Any PMC with [...] - <p><b>December 5, 2002</b>: The first meeting of the <b>Infra Roundtable</b> takes place Wednesday, December 7. Learn more about the Roundtable, and how to take part, <a href="https://infra.apache.org/roundtable.html" target="_blank">here</a>. - <p><b>November 11, 2022</b>: The Infra team has disabled public signups to the ASF Jira service. The rationale and implications are <a href="https://blogs.apache.org/infra/entry/jira-public-signup-disabled" target="_blank">here</a>.</p> - <p>On <b>August 9, 2022</b> Infra cut over the production LDAP servers to new virtual machines. LDAP configuration (ACLs, etc.) have not changed, but the certificates have. Replacing the ancient, self-signed certificate, Letsencrypt provisions the certificate on the new servers. Please contact Infra if you have any questions about this change.</p> - <p><b>July 13, 2022:</b> On July 12 an essential part of the Apache email infrastructure failed, interrupting mail delivery throughout the Foundation. The service is active again after a seven-hour outage, as the Infrastructure team accelerated plans to migrate all email services to <b>mailgw</b>, as noted below. A fuller report is available on <a href="https://blogs.apache.org/infra/entry/email-service-interruption-and-restoration" target="_blank">our blog</a>.</p> - <p><b>June 15, 2022:</b> As part of the Apache Infrastructure team's goals of modernization and service improvement, we are pleased to announce the general availability of "mailgw", the long-awaited replacement for the venerable Hermes FreeBSD mailing list server. See our <a href="https://infra.apache.org/mail-migration-faq.html" target="_blank">mail migration FAQ</a> for further details.</p> - <p><b>April, 2022:</b> Infra's April Fool's prank, the <b>interactive voice response service</b>, is still available to explore and enjoy at <b>1-717-7-APACHE</b> (1-717-727-2243).</p> - <hr/> - <p style="height: 60px; font-size: 0.9rem;">We periodically publish updates about Infra's work, successes, and challenges on <a href="https://blogs.apache.org/infra/" target="_blank">the Infra blog</a>.</p> - - </div> diff --git a/content/theme/templates/generic.html b/content/theme/templates/generic.html deleted file mode 100644 index 0e24ce8..0000000 --- a/content/theme/templates/generic.html +++ /dev/null @@ -1,22 +0,0 @@ - - -<!-- page contents --> -<div id="contents"> - <div class="bg-white p-5 rounded"> - <div class="col-sm-8 mx-auto"> - <h1> - {% if article %} - {{ article.title }} - {% else %} - {{ page.title }} - {% endif %} - </h1> - {% if article %} - <p>Posted on: {{ article.date }}</p> - {{ article.content }} - {% else %} - {{ page.content }} - {% endif %} - </div> - </div> - </div> diff --git a/content/theme/templates/index.html b/content/theme/templates/index.html deleted file mode 100644 index 1bcc882..0000000 --- a/content/theme/templates/index.html +++ /dev/null @@ -1,31 +0,0 @@ -{% block head %} - <!doctype html> - <html class="no-js" lang="en" dir="ltr"> - <head> - <meta charset="utf-8"> - <meta http-equiv="x-ua-compatible" content="ie=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{SITENAME}}</title> - {% include "styles.html" %} - </head> - <body class="d-flex flex-column h-100"> - <main class="flex-shrink-0"> - <div> - - {% include "menu.html" %} - - <div id="contents"> - <div class="bg-white p-5 rounded"> - <div class="col-sm-8 mx-auto"> - {% include "frontpage.html" %} - </div> - </div> - </div> - - {% include "footer.html" %} - </div> - </main> - <script>hljs.initHighlightingOnLoad();</script> - </body> - </html> -{% endblock %} diff --git a/content/theme/templates/menu.html b/content/theme/templates/menu.html deleted file mode 100644 index 8bfd5f5..0000000 --- a/content/theme/templates/menu.html +++ /dev/null @@ -1,51 +0,0 @@ -<!-- nav bar --> -<nav class="navbar navbar-expand-lg navbar-dark bg-dark" aria-label="Fifth navbar example"> - <div class="container-fluid"> - <a class="navbar-brand" href="/"><img src="/images/feather.png" style="height: 32px;"/> Apache Infrastructure</a> - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarADP" aria-controls="navbarADP" aria-expanded="false" aria-label="Toggle navigation"> - <span class="navbar-toggler-icon"></span> - </button> - - <div class="collapse navbar-collapse" id="navbarADP"> - <ul class="navbar-nav me-auto mb-2 mb-lg-0"> - <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false">About</a> - <ul class="dropdown-menu"> - <li><a class="dropdown-item" href="/team.html">About the team</a></li> - <li><a class="dropdown-item" href="/roundtable.html">The Infrastructure Roundtable</a></li> - <li><a class="dropdown-item" href="/blog/">The Infrastructure Blog</a></li> - </ul> - </li> - <li class="nav-item"> - <a class="nav-link" href="/policies.html">Policies</a> - </li> - <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false">Services and Tools</a> - <ul class="dropdown-menu"> - <li><a class="dropdown-item" href="/services.html">Services and Tools</a></li> - <li><a class="dropdown-item" href="/machines.html">Machines and Fingerprints</a></li> - <li><a class="dropdown-item" href="https://blocky.apache.org/">Blocky</a></li> - <li><a class="dropdown-item" href="https://app.datadoghq.com/account/login?next=%2Finfrastructure">DataDog</a></li> - <li><a class="dropdown-item" href="https://whimsy.apache.org/roster/committer/" target="_blank">Committer Search</a></li> - </ul> - </li> - <li class="nav-item dropdown"> - <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false">Documentation</a> - <ul class="dropdown-menu"> - <li><a class="dropdown-item" href="/doc.html">Contribute</a></li> - <li><a class="dropdown-item" href="/infra-volunteer.html">Volunteer with Infra</a></li> - <li><a class="dropdown-item" href="/how-to-mirror.html">Become an ASF download mirror</a></li> - <li><a class="dropdown-item" href="/hosting-external-agent.html">Host a Jenkins or Buildbot agent</a></li> - - </ul> - </li> - <li class="nav-item"> - <a class="nav-link" href="/stats.html">Status</a> - </li> - <li class="nav-item"> - <a class="nav-link" href="/contact.html">Contact Us</a> - </li> - </ul> - </div> - </div> -</nav> diff --git a/content/theme/templates/page.html b/content/theme/templates/page.html deleted file mode 100644 index 64f2d3a..0000000 --- a/content/theme/templates/page.html +++ /dev/null @@ -1,25 +0,0 @@ -{% block head %} -<!doctype html> -<html class="no-js" lang="en" dir="ltr"> - <head> - <meta charset="utf-8"> - <meta http-equiv="x-ua-compatible" content="ie=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{ page.title }} - {{SITENAME}}</title> - {% include "styles.html" %} - </head> - <body class="d-flex flex-column h-100"> - <main class="flex-shrink-0"> - <div> - - {% include "menu.html" %} - - {% include "generic.html" %} - - {% include "footer.html" %} - </div> - </main> - <script>hljs.initHighlightingOnLoad();</script> - </body> -</html> -{% endblock %} diff --git a/content/theme/templates/styles.html b/content/theme/templates/styles.html deleted file mode 100644 index d0c400a..0000000 --- a/content/theme/templates/styles.html +++ /dev/null @@ -1,4 +0,0 @@ -<link href="/css/bootstrap.min.css" rel="stylesheet"> -<link href="/css/fontawesome.all.min.css" rel="stylesheet"> -<link href="/css/headerlink.css" rel="stylesheet"> -<script src="/highlight/highlight.min.js"></script>
