mirror of
https://github.com/MAGICGrants/MoneroFund.org.git
synced 2026-01-07 23:13:53 -05:00
Add redirected
This commit is contained in:
22
LICENSE
Normal file
22
LICENSE
Normal file
@@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) MAGIC Grants
|
||||
Copyright (c) Serai DEX
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
25
_config.yml
Normal file
25
_config.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
email: info@magicgrants.org
|
||||
name: MAGIC Monero Fund
|
||||
description: MAGIC Monero Fund
|
||||
keywords: "cryptocurrency, blockchain, charity, scholarship, privacy, crypto, research"
|
||||
baseurl: ""
|
||||
url: "https://monerofund.org"
|
||||
|
||||
markdown: kramdown
|
||||
|
||||
kramdown:
|
||||
smart_quotes: ["apos", "apos", "quot", "quot"]
|
||||
input: GFM
|
||||
|
||||
plugins:
|
||||
- jekyll-paginate
|
||||
- jekyll-feed
|
||||
- jekyll-sitemap
|
||||
|
||||
paginate: 6
|
||||
paginate_path: "/updates/page:num/"
|
||||
|
||||
collections_dir: posts
|
||||
|
||||
include:
|
||||
- _redirects
|
||||
31
_includes/footer.html
Normal file
31
_includes/footer.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<p>Copyright © MAGIC Grants, a Public 501(c)(3) Charity</p><br>
|
||||
<p>EIN 82-5183590</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="fsocial">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://github.com/magicgrants" target="_blank">
|
||||
<img src="/img/social-icons/github-logo-white.png" alt="Github icon logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://discord.gg/YH7kFuREKY" target="_blank">
|
||||
<img src="/img/social-icons/discord-logo-white.png" alt="Discord icon logo">
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://twitter.com/MagicGrants" target="_blank">
|
||||
<img src="/img/social-icons/twitter-logo-white.png" alt="X (Twitter) icon logo">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
19
_includes/head.html
Normal file
19
_includes/head.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% if page.title contains "titles." %} MAGIC Grants | Charity for scholarships, public cryptocurrency infrastructure, and educational materials
|
||||
{% else %}{{ page.title }}{% endif %}</title>
|
||||
<meta name="author" content="MAGIC Grants">
|
||||
<meta name="description" content="{% if page.summary %} {{page.summary}} {%else%}MAGIC Grants | Charity for scholarships, public cryptocurrency infrastructure, and educational materials{% endif %}">
|
||||
<meta property="og:image" content="{{page.img}}">
|
||||
<meta property="og:description" content="{% if page.summary %} {{page.summary}} {%else%}MAGIC Grants | Charity for scholarships, public cryptocurrency infrastructure, and educational materials{% endif %}">
|
||||
<meta property="og:title" content="{% if page.title contains "titles." %}MAGIC Grants | Charity for scholarships, public cryptocurrency infrastructure, and educational materials
|
||||
{% else %}{{ page.title }}{% endif %}">
|
||||
<meta name="twitter:title" content="{% if page.title contains "titles." %}MAGIC Grants | Charity for scholarships, public cryptocurrency infrastructure, and educational materials
|
||||
{% else %}{{ page.title }}{% endif %}">
|
||||
<link rel="stylesheet" href="/css/style.css" type="text/css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/meta/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/meta/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/meta/favicon-16x16.png">
|
||||
<link rel="manifest" href="img/meta/site.webmanifest">
|
||||
</head>
|
||||
34
_includes/header.html
Normal file
34
_includes/header.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<header>
|
||||
<div class="container">
|
||||
<nav class="row" role='navigation'>
|
||||
<div class="logo col">
|
||||
<a href="{{ site.baseurl }}/" aria-label="MAGIC Grants">
|
||||
<img src="/img/logos/magic-grants-logo-full-color.png" alt="MAGIC Grants logo">
|
||||
</a>
|
||||
</div>
|
||||
<ul class="main-menu col">
|
||||
<li class="nav-item link"><a href="{{ site.baseurl }}/updates">Updates</a></li>
|
||||
<li class="nav-item link"><a href="{{ site.baseurl }}/scholarships">Scholarships</a></li>
|
||||
<li class="nav-item link"><a href="{{ site.baseurl }}/funds">Funds</a></li>
|
||||
<li class="nav-item link"><a href="{{ site.baseurl }}/contribute">Contribute</a></li>
|
||||
<li class="nav-item link"><a href="{{ site.baseurl }}/about">About</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav role='navigation' class="mobile-menu row">
|
||||
<a class="logo-mobile col" href="{{ site.baseurl }}/" aria-label="MAGIC Grants"><img src="/img/logos/magic-grants-logo-full-color.png" alt="MAGIC Grants logo"></a>
|
||||
<input class="burger-check" id="mobile-burger" type="checkbox">
|
||||
<label for="mobile-burger" class="hamburger hamburger--spring">
|
||||
<span class="hamburger-box">
|
||||
<span class="hamburger-inner"></span>
|
||||
</span>
|
||||
</label>
|
||||
<ul class="slide-nav">
|
||||
<li class="mob-item link"><a href="{{ site.baseurl }}/updates">Updates</a></li>
|
||||
<li class="mob-item link"><a href="{{ site.baseurl }}/scholarships">Scholarships</a></li>
|
||||
<li class="mob-item link"><a href="{{ site.baseurl }}/funds">Funds</a></li>
|
||||
<li class="mob-item link"><a href="{{ site.baseurl }}/contribute">Contribute</a></li>
|
||||
<li class="mob-item link"><a href="{{ site.baseurl }}/about">About</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
13
_layouts/base.html
Normal file
13
_layouts/base.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<main>
|
||||
{% include header.html %}
|
||||
{{content}}
|
||||
{% include footer.html %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
32
_layouts/page.html
Normal file
32
_layouts/page.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<main>
|
||||
{% include header.html %}
|
||||
|
||||
<section class="blog-section">
|
||||
<div class="container post-wrap">
|
||||
<div class="row">
|
||||
<div class="col post-page">
|
||||
{%if page.img%}
|
||||
<img src="{{page.img}}" alt="{{page.alt}}">
|
||||
{%endif%}
|
||||
{% if page.date %}
|
||||
<p class="post-date">{{page.date | date: '%B %d, %Y'}}</p>
|
||||
{% endif %}
|
||||
<h1>{{page.title}}</h1>
|
||||
<div class="post-body">
|
||||
<img src="{{page.img}}" alt="{{page.alt}}">
|
||||
{{content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% include footer.html %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
30
_layouts/post.html
Normal file
30
_layouts/post.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<main>
|
||||
{% include header.html %}
|
||||
|
||||
<section class="blog-section">
|
||||
<div class="container post-wrap">
|
||||
<div class="row">
|
||||
<div class="col post-page">
|
||||
{%if post.img%}
|
||||
<img src="{{post.img}}" alt="{{post.alt}}">
|
||||
{%endif%}
|
||||
<p class="post-date">{{page.date | date: '%B %d, %Y'}}</p>
|
||||
<h1>{{page.title}}</h1>
|
||||
<div class="post-body">
|
||||
<img src="{{page.img}}" alt="{{page.alt}}">
|
||||
{{content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% include footer.html %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
13
_layouts/redirected.html
Normal file
13
_layouts/redirected.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="canonical" href="{{ page.redirect_to }}"/>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="refresh" content="0;url={{ page.redirect_to }}" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Redirecting...</h1>
|
||||
<a href="{{ page.redirect_to }}">Click here if you are not redirected.<a>
|
||||
<script>location='{{ page.redirect_to }}'</script>
|
||||
</body>
|
||||
</html>
|
||||
51
_layouts/tag.html
Normal file
51
_layouts/tag.html
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
layout: base
|
||||
title: page.tag
|
||||
---
|
||||
|
||||
<section class="page-intro section">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1>Blog</h1>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="faq-nav">
|
||||
<div class="container">
|
||||
<ul class="row">
|
||||
<li><a href="{{ site.baseurl }}/updates/">all</a></li>
|
||||
<li><a href="{{ site.baseurl }}/tag/guides/">guides</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="blog-section">
|
||||
<div class="container">
|
||||
<h2 class="tag-blog">#{{page.tag}}</h2>
|
||||
{% for post in site.posts %}
|
||||
{% if post.tags contains page.tag %}
|
||||
<div class="row">
|
||||
<div class="col post-section">
|
||||
<div class="post-meta">
|
||||
<p class="post-date">{{post.date | date: '%B %d, %Y'}}</p>
|
||||
</div>
|
||||
|
||||
<a href="{{ post.url }}" class="post-link">
|
||||
<h2>{{ post.title }}</h2>
|
||||
<p>{{ post.summary }}</p>
|
||||
{%if post.img%}
|
||||
<img src="{{post.img}}" alt="{{post.alt}}">
|
||||
{%endif%}
|
||||
</a>
|
||||
<p class="post-tag">
|
||||
{% for tag in post.tags %}
|
||||
<a href="{{ site.baseurl }}/tag/{{tag}}">{{tag}}</a>
|
||||
{% endfor %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
26
_plugins/tags.rb
Normal file
26
_plugins/tags.rb
Normal file
@@ -0,0 +1,26 @@
|
||||
module Jekyll
|
||||
class TagPageGenerator < Generator
|
||||
safe true
|
||||
|
||||
def generate(site)
|
||||
tags = site.posts.docs.flat_map { |post| post.data['tags'] || [] }.to_set
|
||||
tags.each do |tag|
|
||||
site.pages << TagPage.new(site, site.source, tag)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class TagPage < Page
|
||||
def initialize(site, base, tag)
|
||||
@site = site
|
||||
@base = base
|
||||
@dir = File.join('tag', tag)
|
||||
@name = 'index.html'
|
||||
|
||||
self.process(@name)
|
||||
self.read_yaml(File.join(base, '_layouts'), 'tag.html')
|
||||
self.data['tag'] = tag
|
||||
self.data['title'] = "Tag: #{tag}"
|
||||
end
|
||||
end
|
||||
end
|
||||
2107
css/style.css
Normal file
2107
css/style.css
Normal file
File diff suppressed because it is too large
Load Diff
BIN
fonts/outfit-v11-latin-300.ttf
Normal file
BIN
fonts/outfit-v11-latin-300.ttf
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-300.woff2
Normal file
BIN
fonts/outfit-v11-latin-300.woff2
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-500.ttf
Normal file
BIN
fonts/outfit-v11-latin-500.ttf
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-500.woff2
Normal file
BIN
fonts/outfit-v11-latin-500.woff2
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-600.ttf
Normal file
BIN
fonts/outfit-v11-latin-600.ttf
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-600.woff2
Normal file
BIN
fonts/outfit-v11-latin-600.woff2
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-regular.ttf
Normal file
BIN
fonts/outfit-v11-latin-regular.ttf
Normal file
Binary file not shown.
BIN
fonts/outfit-v11-latin-regular.woff2
Normal file
BIN
fonts/outfit-v11-latin-regular.woff2
Normal file
Binary file not shown.
6
index.html
Normal file
6
index.html
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
layout: redirected
|
||||
sitemap: false
|
||||
permalink: /index.html
|
||||
redirect_to: https://donate.magicgrants.org/monero
|
||||
---
|
||||
72
updates/index.html
Normal file
72
updates/index.html
Normal file
@@ -0,0 +1,72 @@
|
||||
---
|
||||
layout: base
|
||||
title: MAGIC Grants Updates
|
||||
---
|
||||
|
||||
<section class="page-intro section blog-intro">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col title">
|
||||
<h1>MAGIC Grants Updates</h1>
|
||||
</div>
|
||||
<div class="col subtitle">
|
||||
<p>Find our latest news, updates, and announcements here in our blog.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="blog-section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
{% for post in paginator.posts %}
|
||||
|
||||
<a href="{{ site.baseurl }}{{ post.url }}" class="col post-section post-link">
|
||||
<div>
|
||||
{%if post.img%}
|
||||
<img src="{{post.img}}" alt="{{post.alt}}">
|
||||
{%endif%}
|
||||
<p class="post-date">{{post.date | date: '%B %d, %Y'}}</p>
|
||||
<h2>{{ post.title }}</h2>
|
||||
<p class="post-summary">{{ post.summary }}</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="blog-section">
|
||||
<div class="container">
|
||||
<div class="pagination">
|
||||
{% if paginator.total_pages > 1 %}
|
||||
<div class="text-center page-numbers"><p>
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ site.baseurl }}{{ paginator.previous_page_path}}" class="btn-secondary">Prev</a>
|
||||
{% endif %}
|
||||
|
||||
{% for page in (1..paginator.total_pages) %}
|
||||
{% assign total = paginator.total_pages %}
|
||||
|
||||
|
||||
{% if page == paginator.page %}
|
||||
{{ page }} of {{total}}
|
||||
|
||||
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ site.baseurl }}{{ paginator.next_page_path}}" class="btn-secondary">Next</a>
|
||||
{% endif %}
|
||||
</p></div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="empty" style="padding-top: 20rem;"></section>
|
||||
Reference in New Issue
Block a user