Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Declare files that will always have LF line endings on checkout
# This prevents git on Windows from automatically inserting CRLF line endings
* text=auto eol=lf
* text=auto eol=lf

# Specifically declare known binary files to avoid problems with Git versions
# before 2.10, where the 'eol' setting has higher priority than 'text=auto',
# causing binary files to get normalized and corrupted otherwise.
# See e.g. https://stackoverflow.com/a/38588882/4464570
*.png binary
*.whl binary

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pydis_site/static/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions pydis_site/static/favicons/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/static/favicons/mstile-150x150.png?v=8jMYXa7g8e"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added pydis_site/static/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pydis_site/static/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pydis_site/static/favicons/favicon.ico
Binary file not shown.
Binary file added pydis_site/static/favicons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pydis_site/static/favicons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions pydis_site/static/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Python Discord",
"short_name": "Python Discord",
"icons": [
{
"src": "/static/favicons/android-chrome-192x192.png?v=8jMYXa7g8e",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/static/favicons/android-chrome-512x512.png?v=8jMYXa7g8e",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
13 changes: 13 additions & 0 deletions pydis_site/templates/base/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
<meta name="description"
content="{% block meta-description %}We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.{% endblock %}">

{# Generated with https://realfavicongenerator.net/ #}
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicons/apple-touch-icon.png?v=8jMYXa7g8e">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicons/favicon-32x32.png?v=8jMYXa7g8e">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicons/favicon-16x16.png?v=8jMYXa7g8e">
<link rel="manifest" href="/static/favicons/site.webmanifest?v=8jMYXa7g8e">
<link rel="mask-icon" href="/static/favicons/safari-pinned-tab.svg?v=8jMYXa7g8e" color="#7289da">
<link rel="shortcut icon" href="/static/favicons/favicon.ico?v=8jMYXa7g8e">
<meta name="apple-mobile-web-app-title" content="Python Discord">
<meta name="application-name" content="Python Discord">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="/static/favicons/browserconfig.xml?v=8jMYXa7g8e">
<meta name="theme-color" content="#ffffff">

<title>Python Discord | {% block title %}Website{% endblock %}</title>

{% bulma %}
Expand Down