🚜 Refactors configs and layouts

This commit is contained in:
Jeff Triplett 2021-04-08 22:30:04 -05:00
parent 18a1a938a8
commit f49aabecfc
No known key found for this signature in database
GPG Key ID: BD6DAFC4D1A381EA
5 changed files with 23 additions and 24 deletions

View File

@ -20,6 +20,7 @@ exclude:
- LICENSE
- Makefile
- modd.conf
- node_modules
- package*.json
- postcss.config.js
- src

View File

@ -1,2 +0,0 @@
</body>
</html>

View File

@ -1,18 +0,0 @@
<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Awesome Django</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% if jekyll.environment == 'development' %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/development.css" />
{% else %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/style.css" />
{% endif %}
</head>
<!-- Fork Me On GitHub Link -->
<a style="position: absolute;" href="https://github.com/wsvincent/awesome-django"><img loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_left_green_007200.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
<body class="max-w-screen-lg mx-auto pb-8 px-4 sm:px-6 lg:pb-8 lg:px-8 {% if jekyll.environment == 'development' %}border border-2 debug-screens{% endif %}">

View File

@ -1,10 +1,27 @@
---
---
<!DOCTYPE html>
<html class="no-js" lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Awesome Django</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% if jekyll.environment == 'development' %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/development.css" />
{% else %}
<link rel="stylesheet" href="{{ site.baseurl }}/assets/style.css" />
{% endif %}
</head>
{% include header.html %}
<!-- Fork Me On GitHub Link -->
<a style="position: absolute;" href="https://github.com/wsvincent/awesome-django"><img loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_left_green_007200.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
<body class="max-w-screen-lg mx-auto pb-8 px-4 sm:px-6 lg:pb-8 lg:px-8 {% if jekyll.environment == 'development' %}border border-2 debug-screens{% endif %}">
<main class="container prose sm:prose-md md:prose-lg lg:prose-lg xl:prose-xl">
{{ content | replace: '<a href="http', '<a rel="ugc noopener noreferrer" href="http' }}
{{ content | replace: '<a href="http', '<a rel="ugc noopener noreferrer" href="http' }}
</main>
{% include footer.html %}
</body>
</html>

View File

@ -11,7 +11,8 @@ TAILWIND_CSS_VERSION := "2.1.1"
bundle exec jekyll build
@lint:
npx awesome-lint README.md
-curlylint _layouts/
-npx awesome-lint README.md
@serve:
modd --file=modd.conf