Skip to content

Commit

Permalink
✨ Initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Jan 13, 2022
0 parents commit 2b8c06d
Show file tree
Hide file tree
Showing 19 changed files with 483 additions and 0 deletions.
24 changes: 24 additions & 0 deletions preview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
permalink: /preview/
sitemap: false
title: Preview
---

<section class="px-4 py-8 mx-auto mb-12 text-center sm:max-w-2xl">
<div class="mt-32"></div>

<div class="flex justify-center">
<span class="link">
<img class="object-center w-64 mb-3 rounded-full" alt="{{ site.name }}" src="{% if site.external-image %}{{ site.picture }}{% else %}{{ site.url }}/{{ site.picture }}{% endif %}" />
</span>
</div>

<h1 class="text-6xl font-semibold text-gray-100">{{ site.name }}</h1>

{% if site.bio %}
<h2 class="mt-12 text-4xl font-semibold text-gray-100">{{ site.bio }}</h2>
{% endif %}

<h2 class="mt-12 text-5xl font-semibold text-gray-100">{{ site.url }}</h2>
</section>
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{py,rst,ini}]
indent_size = 4
indent_style = space

[*.py]
default_section=THIRDPARTY
known_first_party=app
line_length=120
multi_line_output=3

[*.{css,html,js,json,sass,scss,yml,yaml}]
indent_size = 2
indent_style = space

[*.md]
indent_size = 4
indent_style = space
trim_trailing_whitespace = false

[{Makefile,modd.conf}]
indent_style = tab
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.jekyll-cache
.jekyll-metadata
.sass-cache
.vendor
_site
vendor
16 changes: 16 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
permalink: /404.html
sitemap: false
title: '404: Page not found'
---

<section class="px-4 py-8 mx-auto mb-4 text-center sm:max-w-xl">
<h1 class="title">
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
<a class="underline" href="{{ site.baseurl }}/">Head back home</a> to try finding it again.
</h1>
<div class="mt-16">
<img src="https://d262ilb51hltx0.cloudfront.net/max/800/1*sXABeKaBTbICxIAPLsnB-Q.gif" />
</div>
</section
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
djangocon.us
11 changes: 11 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source 'https://rubygems.org'

group :jekyll_plugins do
gem 'github-pages'
gem 'jekyll-gist'
gem 'jekyll-remote-theme'
gem 'jekyll-seo-tag'
gem 'jekyll-sitemap'
gem 'jemoji'
gem "html-proofer"
end
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# djangocon.us

This is our landing page to help organize the DjangoCon US websites, resources, and assets.

It's based on @jefftriplett's [https://github.com/jefftriplett/webology.dev](Linktree-clone theme).
76 changes: 76 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# main text of home
name: DjangoCon US
bio:

# twitter summary info
description: "DjangoCon US description here"

favicon: https://fav.farm/✨

# if it's an external image, update below for true
# better with square images
external-image: true
picture: https://avatars.githubusercontent.com/u/2891658?v=4
url: "https://djangocon.us"
enforce_ssl: "djangocon.us"
permalink: /:title/

# To enable google analytics, supply your token below
# analytics-google: 'UA-MYANALYTICS'

# if you have any of social links below, uncomment the line
# email:
# facebook:
flickr: djangocon
github: djangocon
# instagram: djangocon
twitter:
card: summary_large_image
username: djangocon
youtube: djangoconus

# do you want a larger site? change the option below
# options: [normal, large] | default: normal
# normal = 560px / large = 810px
width: normal

# if you do/don't need pagination, toggle 'enabled' between true/false below
pagination:
enabled: false
sort_reverse: true # display recent posts first
title: ":title" # Changing this will mess up the header display logic
per_page: 5
permalink: "/:num/" # pagination link that will be appended

# if you don't need projects, comment the *projects* configs below
#projects: true

# if you don't need "about" or "blog", comment them out below
about: false
blog: false

plugins:
- jekyll-gist
- jekyll-remote-theme
- jekyll-seo-tag
- jekyll-sitemap
- jemoji

jekyll-mentions:
base_url: https://github.com

compress_html:
ignore:
envs:
- development
- stage

exclude:
- bin
- docker-compose.yml
- Gemfile
- Gemfile.lock
- justfile
- node_modules
- README.md
- vendor
51 changes: 51 additions & 0 deletions _data/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
- title: "DjangoCon US 2022: San Diego - Coming soon"
url: https://2022.djangocon.us
css_class: fas fa-briefcase

- title: "Follow us on Twitter (@djangocon)"
url: https://twitter.com/djangocon
css_class: fab fa-twitter
nofollow: true

- title: "Videos on YouTube"
url: https://www.youtube.com/djangoconus
css_class: fab fa-youtube
nofollow: true

- title: "Photos on Flickr"
url: https://www.flickr.com/photos/djangocon
css_class: fab fa-flickr
nofollow: true

- title: "Follow us on GitHub (@djangocon)"
url: https://github.com/djangocon
css_class: fab fa-github
nofollow: true

- title: "DjangoCon US 2021: Online"
url: https://2021.djangocon.us
css_class: fas fa-briefcase

- title: "DjangoCon US 2019: San Diego"
url: https://2019.djangocon.us
css_class: fas fa-briefcase

- title: "DjangoCon US 2018: San Diego"
url: https://2018.djangocon.us
css_class: fas fa-briefcase

- title: "DjangoCon US 2017: Spokane"
url: https://2017.djangocon.us
css_class: fas fa-briefcase

- title: "DjangoCon US 2016: Philly"
url: https://2016.djangocon.us
css_class: fas fa-briefcase

- title: "DjangoCon US 2015: Austin"
url: https://2015.djangocon.us
css_class: fas fa-briefcase

- title: "Produced by DEFNA"
url: https://www.defna.org
css_class: fas fa-briefcase
9 changes: 9 additions & 0 deletions _includes/analytics-google.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics-google }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ site.analytics-google }}');
</script>
4 changes: 4 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<footer class="px-4 mx-auto mb-4 font-semibold text-center text-gray-100 sm:max-w-xl">
© {{ site.time | date: '%Y' }} {{ site.name }}
· Presented by <a href="https://www.defna.org/">DEFNA</a>
</footer>
22 changes: 22 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<header class="px-4 py-8 mx-auto mb-4 text-center sm:max-w-xl">
{% if site.about %}
<div class="flex justify-center">
<a class="link" href="{{ site.url }}/about">
<img class="object-center mb-3 rounded-full w-28" alt="{{ site.name }}" src="{% if site.external-image %}{{ site.picture }}{% else %}{{ site.url }}/{{ site.picture }}{% endif %}" />
</a>
</div>
{% else %}
<div class="flex justify-center">
<span class="link">
<img class="object-center mb-3 rounded-full w-28" alt="{{ site.name }}" src="{% if site.external-image %}{{ site.picture }}{% else %}{{ site.url }}/{{ site.picture }}{% endif %}" />
</span>
</div>
{% endif %}

<h1 class="title">{{ site.name }}</h1>

{% if site.bio %}
<h2 class="description">{{ site.bio }}</h2>
{% endif %}

</header>
Loading

0 comments on commit 2b8c06d

Please sign in to comment.