1
0
mirror of https://github.com/TeamNewPipe/website synced 2025-10-06 00:22:38 +02:00

Address review:

Fix spelling
Remove BETA badge from FAQ sites
This commit is contained in:
TobiGr
2019-02-10 12:12:50 +01:00
parent 913417b715
commit 883dfa889b
20 changed files with 35 additions and 35 deletions

View File

@@ -6,9 +6,9 @@ extraCSS:
bodyID: faq
bodyPage: "False"
navBrandLink: "FAQ/"
navBrand: "FAQ <span class=\"badge\">BETA</span>"
navBrand: "FAQ"
navActive: "FAQ"
footerPuffer: "True"
footerBuffer: "True"
---
<div class="site-content height-full-parent">
<div class="container container-double">

View File

@@ -15,7 +15,7 @@
# in the templates via {{ site.myvariable }}.
title: NewPipe - the lightweight streaming experience for Android.
email: tnp@schabi.org
description: Welcome to NewPipe the lightweight YouTube experience for Android.
description: Welcome to NewPipe, the lightweight YouTube experience for Android.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://newpipe.schabi.org" # the base hostname & protocol for your site, e.g. http://example.com
github_username: TeamNewPipe

View File

@@ -40,5 +40,5 @@
<div class="clearfix"></div>
<div class="image-puffer"></div>
<div class="image-buffer"></div>
</div>

View File

@@ -1,13 +1,13 @@
{{
# Include for page footer
# Following parameters are allowed:
# puffer A puffer for the overlapping NewPipe logo will be inserted to not hide page content. Default: False
# buffer A buffer for the overlapping NewPipe logo will be inserted to not hide page content. Default: False
}}
<!-- footer -->
<footer class="navbar-fixed-bottom" id="footer">
{%- if include.puffer == "True" %}
<div class="image-puffer"></div>
{%- if include.buffer == "True" %}
<div class="image-buffer"></div>
{%- endif %}
<div id="footer-content-container">
<div class="container">

View File

@@ -23,15 +23,15 @@
{%- else if layout.metatitle AND notPage == True -%}
{%- unless layout.metatitle == "" -%}
{%- unless page.metatitle == nil -%}
{%- assign metatit = layout.metatitle | append: "e" -%}
{%- assign metatit = layout.metatitle -%}
{%- endunless -%}
{%- endunless -%}
{%- endif -%}
{%- if include.title -%}
{%- assign tit = include.title -%}
{%- assign renderedTitle = include.title -%}
{%- else -%}
{%- assign tit = page.title | default: metatit -%}
{%- assign renderedTitle = page.title | default: metatit -%}
{%- endif -%}
{%- assign des = site.description -%}
@@ -46,7 +46,7 @@
{%- else if layout.metades AND notPage == True -%}
{%- unless layout.metades == "" -%}
{%- unless page.metades == nil -%}
{%- assign des = layout.metades | append: "e" -%}
{%- assign des = layout.metades -%}
{%- endunless -%}
{%- endunless -%}
{%- endif -%}
@@ -54,7 +54,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ tit }}</title>
<title>{{ renderedTitle }}</title>
<meta name="author" content="Christian Schabesberger, NewPipe">
<meta name="description" content="{{ des }}">

View File

@@ -49,7 +49,7 @@
</li>
{%- endif %}
<li{% if include.active == "home" %} class="active"{% endif %}><a href="{{ site.baseurl }}/">Home</a></li>
<li{% if include.active == "FAQ" %} class="active"{% endif %}><a href="{{ site.baseurl }}/FAQ/">FAQ <span class="badge">BETA</span></a></li>
<li{% if include.active == "FAQ" %} class="active"{% endif %}><a href="{{ site.baseurl }}/FAQ/">FAQ</a></li>
<li{% if include.active == "blog" %} class="active"{% endif %}><a href="{{ site.baseurl }}/blog/">Blog</a></li>
<li{% if include.active == "press" %} class="active"{% endif %}><a href="{{ site.baseurl }}/press/">Press</a></li>
<li><a href="https://github.com/TeamNewPipe/NewPipe/">GitHub</a></li>

View File

@@ -44,7 +44,7 @@ metades: "Welcome to the blog of NewPipe the lightweight YouTube experience for
<div class="clearfix"></div>
<div class="image-puffer"></div>
<div class="image-buffer"></div>
</div>
{% include blog_sidebar.html %}

View File

@@ -15,7 +15,7 @@
<div class="clearfix"></div>
<div class="image-puffer"></div>
<div class="image-buffer"></div>
</div>
{% include blog_sidebar.html %}
@@ -24,6 +24,6 @@
</div>
</div>
{% include footer.html puffer=False %}
{% include footer.html buffer=False %}
{% include page_end.html %}

View File

@@ -18,7 +18,7 @@
{%- assign bID = page.bodyID | default: layout.bodyID -%}
{%- assign bPage = page.bodyPage | default: layout.bodyPage -%}
{%- assign bFooterPuffer = page.footerPuffer | default: layout.footerPuffer -%}
{%- assign bFooterBuffer = page.footerBuffer | default: layout.footerBuffer -%}
{%- assign hNavBrand = page.navBrand | default: layout.navBrand -%}
{%- assign hNavBrandLink = page.navBrandLink | default: layout.navBrandLink -%}
@@ -40,7 +40,7 @@
{{ content }}
{% include footer.html
puffer = bFooterPuffer %}
buffer = bFooterBuffer %}
{% include page_end.html
page = bPage
extraScript = page.extraScript -%}

View File

@@ -5,9 +5,9 @@ extraCSS:
bodyID: faq
bodyPage: "False"
navBrandLink: "FAQ/"
navBrand: "FAQ <span class=\"badge\">BETA</span>"
navBrand: "FAQ"
navActive: "FAQ"
footerPuffer: "True"
footerBuffer: "True"
---
<div class="site-content height-full-parent">
<div class="container container-double">

View File

@@ -83,7 +83,7 @@
<script src="{{ site.baseurl }}/js/mediaview.js"></script>
{% endif %}
{% include footer.html puffer="True" %}
{% include footer.html buffer="True" %}
</div> <!-- page -->

View File

@@ -4,9 +4,9 @@ extraCSS: faq.css
bodyID: faq
bodyPage: "False"
navBrandLink: "FAQ/"
navBrand: "FAQ <span class=\"badge\">BETA</span>"
navBrand: "FAQ"
navActive: "FAQ"
footerPuffer: "True"
footerBuffer: "True"
---
{% if page.type == "tutorial" %}

View File

@@ -413,8 +413,8 @@ strong.extra {
top: -45px;
}
#footer .image-puffer,
.image-puffer {
#footer .image-buffer,
.image-buffer {
padding-bottom: 70px;
}
@@ -526,7 +526,7 @@ strong.extra {
-moz-box-shadow: -4px 0 4px 0 rgba(0, 0, 0, 0.175), 4px 0 4px 0 rgba(0, 0, 0, 0.175);
box-shadow: -4px 0 4px 0 rgba(0, 0, 0, 0.175), 4px 0 4px 0 rgba(0, 0, 0, 0.175);
}
.image-puffer {
.image-buffer {
display: block;
}
}

View File

@@ -209,6 +209,6 @@ main .row [class^="col"] {
}
}
#footer .image-puffer {
#footer .image-buffer {
background-color: #D0CDCD;
}

View File

@@ -3,13 +3,13 @@ body {
}
body,
footer .image-puffer {
footer .image-buffer {
background: #f3eff2;
}
@media (min-width: 768px) {
body,
footer .image-puffer {
footer .image-buffer {
background: #E2DEE0;
}
}

View File

@@ -24,7 +24,7 @@
left: 0;
content: '';
/* fallback color is combination of #CD201F and #AA1D1D */
background: #BC1F1E url(/img/bg_rectangle_tile.svg) no-repeat center;
background: #BC1F1E url(../img/bg_rectangle_tile.svg) no-repeat center;
background-size: cover;
}

View File

@@ -352,6 +352,6 @@ p.subtitle {
/* Footer */
.footer .image-puffer {
.footer .image-buffer {
background: #E2DEE0;
}

View File

@@ -1386,7 +1386,7 @@ button.action.black:focus {
top: -45px;
}
.image-puffer {
.image-buffer {
padding-bottom: 70px;
background-color: #E2DEE0;
}

View File

@@ -4,7 +4,7 @@ extraCSS: donate.css
extraScript: parallax_donate.js
navPosition: "static"
bodyPage : "False"
footerPuffer: "True"
footerBuffer: "True"
---
<main class="content">
<!-- Keep-running -->

View File

@@ -28,7 +28,7 @@
<div id="navbar" class="navbar-collapse collapse navbar-right">
<ul class="nav navbar-nav">
<li class="active"><a href="{{ site.baseurl }}/">Home</a></li>
<li><a href="{{ site.baseurl }}/FAQ/">FAQ <span class="badge">BETA</span></a></li>
<li><a href="{{ site.baseurl }}/FAQ/">FAQ</a></li>
<li><a href="{{ site.baseurl }}/blog/">Blog</a></li>
<li><a href="{{ site.baseurl }}/press/">Press</a></li>
<li><a href="https://github.com/TeamNewPipe/NewPipe/">GitHub</a></li>
@@ -656,7 +656,7 @@
</div>
</div> <!-- donate -->
{% include footer.html puffer=False %}
{% include footer.html buffer=False %}
<!-- Include all compiled plugins (below), or include individual files as needed -->