Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some little changes to website #20

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
13 changes: 12 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ social:
- github: https://git.io/GNUWeeb
- discord: https://discord.gg/RjFjhzEH9c
- reddit: https://reddit.com/r/gnuweeb
admins:
- nrudesu
- rival_kucheng_oren
- ammarfaizi2
- WindowZ414
- kawaiighost
- Ryne4S
- lappretard
- rlapz
- Mysticial
- lgridsaffan
- rin4th

# google_site_verification:
# google_analytics:
Expand All @@ -32,7 +44,6 @@ social:
# yandex: 1234
# baidu: 1234

domain: www.gnuweeb.org # if you want to force HTTPS, specify the domain without the http at the start, e.g. example.com
url: https://www.gnuweeb.org # the base hostname and protocol for your site, e.g. http://example.com
baseurl: "" # place folder name if the site is served in a subfolder. Default: ./
destination: ./public # Where built site should stored.
Expand Down
2 changes: 1 addition & 1 deletion _includes/sns.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Telegram
</a>
<a class="gw-button" target="_blank" href="https://git.io/GNUWeeb">
Github
GitHub
</a>
<a class="gw-button" target="_blank" href="https://discord.gg/RjFjhzEH9c">
Discord
Expand Down
19 changes: 4 additions & 15 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,24 +250,13 @@ <h3 class="h4 lead pt-4">

<h3 class="h4 lead pt-4">{{ site.title | escape }} Admins</h3>
<ol>
{% for admin in site.social.admins %}
<li>
<a class="a-white" href="https://t.me/ddrm_phrase"
>@ddrm_phrase</a
<a class="a-white" href="https://t.me/{{ admin }}"
>@{{ admin }}</a
>
</li>
<li>
<a class="a-white" href="https://t.me/lappretard"
>@lappretard</a
>
</li>
<li>
<a class="a-white" href="https://t.me/ammarfaizi2"
>@ammarfaizi2</a
>
</li>
<li>
<a class="a-white" href="https://t.me/nrudesu">@nrudesu</a>
</li>
{% endfor %}
</ol>

<p>
Expand Down
2 changes: 1 addition & 1 deletion public/feed.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.2.0">Jekyll</generator><link href="https://www.gnuweeb.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.gnuweeb.org/" rel="alternate" type="text/html" /><updated>2021-09-23T18:02:53+07:00</updated><id>https://www.gnuweeb.org/feed.xml</id><title type="html">GNU/Weeb</title><subtitle>NB: members on GitHub must have two-factor auth.
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.2.0">Jekyll</generator><link href="https://www.gnuweeb.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://www.gnuweeb.org/" rel="alternate" type="text/html" /><updated>2021-12-13T10:28:03+07:00</updated><id>https://www.gnuweeb.org/feed.xml</id><title type="html">GNU/Weeb</title><subtitle>NB: members on GitHub must have two-factor auth.
</subtitle><author><name>GNU/Weeb Contributors (https://github.com/GNUWeeb/www.gnuweeb.org/graphs/contributors)</name></author></feed>
63 changes: 56 additions & 7 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="GNU/Weeb" />
<script type="application/ld+json">
{"sameAs":[{"telegram":"https://t.me/GNUWeeb"},{"github":"https://git.io/GNUWeeb"},{"discord":"https://discord.gg/RjFjhzEH9c"},{"reddit":"https://reddit.com/r/gnuweeb"}],"description":"NB: members on GitHub must have two-factor auth.","@type":"WebSite","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://www.gnuweeb.org/assets/img/favicon.png"},"name":"GNU/Weeb Contributors (https://github.com/GNUWeeb/www.gnuweeb.org/graphs/contributors)"},"author":{"@type":"Person","name":"GNU/Weeb Contributors (https://github.com/GNUWeeb/www.gnuweeb.org/graphs/contributors)"},"url":"https://www.gnuweeb.org/","headline":"GNU/Weeb","name":"GNU/Weeb","@context":"https://schema.org"}</script>
{"@type":"WebSite","headline":"GNU/Weeb","sameAs":[{"telegram":"https://t.me/GNUWeeb"},{"github":"https://git.io/GNUWeeb"},{"discord":"https://discord.gg/RjFjhzEH9c"},{"reddit":"https://reddit.com/r/gnuweeb"}],"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://www.gnuweeb.org/assets/img/favicon.png"},"name":"GNU/Weeb Contributors (https://github.com/GNUWeeb/www.gnuweeb.org/graphs/contributors)"},"url":"https://www.gnuweeb.org/","author":{"@type":"Person","name":"GNU/Weeb Contributors (https://github.com/GNUWeeb/www.gnuweeb.org/graphs/contributors)"},"description":"NB: members on GitHub must have two-factor auth.","name":"GNU/Weeb","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<link type="application/atom+xml" rel="alternate" href="https://www.gnuweeb.org/feed.xml" title="GNU/Weeb" />

Expand Down Expand Up @@ -56,7 +56,7 @@ <h1 class="title display-2 fw-bolder">GNU/Weeb</h1>
Telegram
</a>
<a class="gw-button" target="_blank" href="https://git.io/GNUWeeb">
Github
GitHub
</a>
<a class="gw-button" target="_blank" href="https://discord.gg/RjFjhzEH9c">
Discord
Expand Down Expand Up @@ -311,24 +311,73 @@ <h3 class="h4 lead pt-4">

<h3 class="h4 lead pt-4">GNU/Weeb Admins</h3>
<ol>

<li>
<a class="a-white" href="https://t.me/ddrm_phrase"
>@ddrm_phrase</a
<a class="a-white" href="https://t.me/nrudesu"
>@nrudesu</a
>
</li>

<li>
<a class="a-white" href="https://t.me/lappretard"
>@lappretard</a
<a class="a-white" href="https://t.me/rival_kucheng_oren"
>@rival_kucheng_oren</a
>
</li>

<li>
<a class="a-white" href="https://t.me/ammarfaizi2"
>@ammarfaizi2</a
>
</li>

<li>
<a class="a-white" href="https://t.me/WindowZ414"
>@WindowZ414</a
>
</li>

<li>
<a class="a-white" href="https://t.me/kawaiighost"
>@kawaiighost</a
>
</li>

<li>
<a class="a-white" href="https://t.me/nrudesu">@nrudesu</a>
<a class="a-white" href="https://t.me/Ryne4S"
>@Ryne4S</a
>
</li>

<li>
<a class="a-white" href="https://t.me/lappretard"
>@lappretard</a
>
</li>

<li>
<a class="a-white" href="https://t.me/rlapz"
>@rlapz</a
>
</li>

<li>
<a class="a-white" href="https://t.me/Mysticial"
>@Mysticial</a
>
</li>

<li>
<a class="a-white" href="https://t.me/lgridsaffan"
>@lgridsaffan</a
>
</li>

<li>
<a class="a-white" href="https://t.me/rin4th"
>@rin4th</a
>
</li>

Copy link
Contributor

@ammarfaizi2 ammarfaizi2 Dec 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have extra trailing whitespace here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, as mentioned in the commit.

The workaround is to add the for tags after the <ol> and </li> (endfor). But that'll make the source code ugly.

Copy link
Contributor

@ammarfaizi2 ammarfaizi2 Dec 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more

Applying: sns: Correct `GitHub` spelling
Applying: home: Update Admin list
Applying: config: Drop unused `domain` variable
Applying: home: Use liquid `for` loop for admin list
.git/rebase-apply/patch:127: trailing whitespace.
            
.git/rebase-apply/patch:133: trailing whitespace.
            
.git/rebase-apply/patch:139: trailing whitespace.
            
.git/rebase-apply/patch:145: trailing whitespace.
            
.git/rebase-apply/patch:151: trailing whitespace.
            
warning: squelched 7 whitespace errors
warning: 12 lines add whitespace errors.

</ol>

<p>
Expand Down