Skip to content

website new design #3

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

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
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
highlighter: rouge
exclude:
- _sass/bootstrap/

11 changes: 7 additions & 4 deletions _includes/post-stub.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="post-stub">
<h2>
<article class="header fade-in" onclick="togglePost(this)">
<div class="post-excerpt">
<h3 class="post-title">
<span class="title">
{% if include.post._url %}
<a href="{{ include.post._url }}" target="_blank">
Expand All @@ -13,9 +14,11 @@ <h2>
<small class="text-muted hidden-xs">
{{ include.post.date | date: "%Y-%m-%d" }}
</small>
</h2>
</h3>
{% if include.post._url %}
{% else %}
{{ include.post.excerpt }}
{% endif %}
</div>
</div>

</article>
70 changes: 39 additions & 31 deletions _layouts/master.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,47 @@
<link rel="alternate" type="application/rss+xml" href="{{ site.url }}/feed.xml" title="{{ site.title }}">
<title>{{ page.title }}</title>
</head>
<body>
<div class="container">
<nav class="navbar navbar-light navbar-expand-sm">
<a class="navbar-brand" href="/">
<img src="/assets/logo.png" height="32" style="margin-top: -4px" />
Wayfire
</a>
<div class="navbar-collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="https://github.com/WayfireWM/wayfire/releases">Releases ≫</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/WayfireWM/wayfire">Source Code ≫</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/WayfireWM/wayfire/wiki">Wiki ≫</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://web.libera.chat/#wayfire">Support Chat (IRC) ≫</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://matrix.to/#/#wayfire:matrix.org">Support Chat (Matrix) ≫</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://discord.gg/5SWAxmBCUH">Support Chat (Discord) ≫</a>
</li>
</ul>
</div>
<body>
<div class="orb"></div>
<div class="orb"></div>
<div class="orb"></div>

<div class="container">
<header class="header fade-in">
<a href="/index.html" style="text-decoration: none;">
<h1 class="logo">
<img src="https://wayfire.org/assets/logo.png" alt="Wayfire Logo">

Wayfire
</h1>
</a>
<p class="tagline">A customizable, extendable and lightweight Wayland compositor</p>

<nav class="nav-links">
<a href="https://github.com/WayfireWM/wayfire/releases" class="nav-link" target="_blank">🚀 Releases</a>
<a href="https://github.com/WayfireWM/wayfire" class="nav-link" target="_blank">💻 Source Code</a>
<a href="https://github.com/WayfireWM/wayfire/wiki" class="nav-link" target="_blank">📚 Wiki</a>
<a href="https://web.libera.chat/#wayfire" class="nav-link" target="_blank">💬 IRC Chat</a>
<a href="https://matrix.to/#/#wayfire:matrix.org" class="nav-link" target="_blank">🔗 Matrix</a>
<a href="https://discord.gg/5SWAxmBCUH" class="nav-link" target="_blank">🎮 Discord</a>
</nav>

<div class="description">
<iframe width="730" height="440" src="https://www.youtube.com/embed/Ban7wspkrNQ?list=PLb7YRKEhWEBUIoT-a29UoJW9mhfzjpNle" title="Wayfire: Cube plugin" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

<p>Wayfire is a sleek and extensible Wayland compositor powered by wlroots.
</p>
</div>
</header>

<main class="fade-in">
<h2 class="section-title">Latest Announcements</h2>

<div class="main">
{{ content }}
</div>
</div>
</body>
</main>
</div>
</body>

</html>
12 changes: 6 additions & 6 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: master
---

<div class="row">
<div class="col-md-8 offset-md-2">
<h1>{{page.title}}</h1>
{{ content }}
</div>
<div class="header fade-in">
<article class="header fade-in" onclick="togglePost(this)">
<div class="post-excerpt">
{{ content }}
</div>
</article>
</div>
Loading