You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@petri.apache.org by wa...@apache.org on 2021/03/18 17:06:53 UTC
[petri-site] branch master updated: Comment out unused Python
imports
This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/petri-site.git
The following commit(s) were added to refs/heads/master by this push:
new 56d1177 Comment out unused Python imports
new aa45afc Merge pull request #26 from jbampton/flake8-linting
56d1177 is described below
commit 56d1177ca06f600169d929fb05f5627b5130c46d
Author: John Bampton <jb...@gmail.com>
AuthorDate: Thu Mar 18 23:32:24 2021 +1000
Comment out unused Python imports
Lint Markdown
Fix meta tag images with full URL
Add OGP prefix to HTML root tag
Clean up HTML img tags
---
.github/workflows/lint.yml | 2 +-
content/pages/faq.md | 4 ++--
pelicanconf.py | 4 ++--
theme/apache/templates/base.html | 10 +++++-----
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 284d98b..22d3283 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -23,7 +23,7 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --ignore=E201,F401 --show-source --statistics
+ flake8 . --count --ignore=E201 --show-source --statistics
markdownlint:
runs-on: ${{ matrix.os }}
strategy:
diff --git a/content/pages/faq.md b/content/pages/faq.md
index bf9a94a..3da40c2 100644
--- a/content/pages/faq.md
+++ b/content/pages/faq.md
@@ -64,7 +64,7 @@ Quoting from [The Apache Way to Sustainable Open Source Success](https://s.apach
> license that uses the law to protect the software curated here at the Foundation.
> For us that license is the [Apache License, Version 2](https://www.apache.org/licenses/LICENSE-2.0.html).
> In addition, we adopt an [inbound licensing policy](https://apache.org/legal/resolved.html)
-> that defines which licenses are allowable on software reused within Apache projects. This policy can be summarized as:
+> that defines which licenses are allowable on software reused within Apache projects. This policy can be summarized as:
>
> * The license must meet the [Open Source Definition (OSD)](https://opensource.org/osd).
> * The license, as applied in practice, must not impose significant restrictions beyond those imposed by the Apache License 2.0.
@@ -100,7 +100,7 @@ If you are:
development model; or
* A company that has an Open Source project with other vendors and wants to
expand and diversify its community...
-
+
And you are:
* Willing to license your project's works under the [Apache License, Version 2](https://www.apache.org/licenses/LICENSE-2.0.html).
diff --git a/pelicanconf.py b/pelicanconf.py
index 19bcf55..4b2896d 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -22,8 +22,8 @@
from __future__ import unicode_literals
from datetime import date
-import os
-import sys
+# import os
+# import sys
AUTHOR = u'Petri Community'
SITENAME = u'Apache Petri'
diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index e7eb40b..d773df7 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<html lang="en">
+<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
{% block head %}
<meta charset="utf-8">
@@ -30,14 +30,14 @@
<meta property="og:type" content="website">
<meta property="og:title" content="Apache Petri">
<meta property="og:description" content="Assists external project communities interested in becoming an Apache project learn how The ASF works and its views on how to build a healthy community">
- <meta property="og:image" content="/images/logo.png">
+ <meta property="og:image" content="https://petri.apache.org/images/logo.png">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="petri.apache.org">
<meta property="twitter:url" content="https://petri.apache.org">
<meta name="twitter:title" content="Apache Petri">
<meta name="twitter:description" content="Assists external project communities interested in becoming an Apache project learn how The ASF works and its views on how to build a healthy community">
- <meta name="twitter:image" content="/images/logo.png">
+ <meta name="twitter:image" content="https://petri.apache.org/images/logo.png">
<!-- Above Meta Tags Generated via https://www.opengraph.xyz -->
<link rel="shortcut icon" href="https://www.apache.org/favicons/favicon.ico">
@@ -123,12 +123,12 @@
<div class="row container-fluid">
<div class="col-sm">
<a href="https://www.apache.org/">
- <img src="https://www.apache.org/img/asf_logo.png" alt="The Apache Software Foundation" border="0" style="margin-top: 2px" width="200"/>
+ <img src="https://www.apache.org/img/asf_logo.png" alt="The Apache Software Foundation" style="border: 0; margin-top: 2px" width="200">
</a>
</div>
<div class="col-sm center-align">
<a href="https://www.apache.org/foundation/contributing.html">
- <img src="https://www.apache.org/images/SupportApache-small.png" alt="Support The ASF" height="64" width="64"/>
+ <img src="https://www.apache.org/images/SupportApache-small.png" alt="Support The ASF" height="64" width="64">
</a>
</div>
<div class="col-sm right-align">