Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Karzok
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zola
Karzok
Commits
bccd3bed
Unverified
Commit
bccd3bed
authored
3 years ago
by
kogeletey
Browse files
Options
Downloads
Patches
Plain Diff
sass: change font-sixe and padding footer. templates: slightly corrected after formatting
parent
e203ae8d
No related branches found
Branches containing commit
Tags
v0.2.4
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
sass/layouts/_footer.scss
+5
-0
5 additions, 0 deletions
sass/layouts/_footer.scss
templates/404.html
+6
-4
6 additions, 4 deletions
templates/404.html
templates/page.html
+12
-7
12 additions, 7 deletions
templates/page.html
templates/section.html
+6
-6
6 additions, 6 deletions
templates/section.html
with
29 additions
and
17 deletions
sass/layouts/_footer.scss
+
5
−
0
View file @
bccd3bed
footer
{
width
:
100%
;
position
:
relative
;
bottom
:
0
;
padding-top
:
0
.25rem
;
padding-bottom
:
0
.25rem
;
background-color
:
var
(
--
white
);
border-top
:
1px
solid
;
border-color
:
$dark1
;
font-size
:
16px
;
color
:
var
(
--
black
);
ul
{
display
:
flex
;
...
...
This diff is collapsed.
Click to expand it.
templates/404.html
+
6
−
4
View file @
bccd3bed
{% extends 'base.html' %} {% block styles %} {{
macros::styles(file='section.css') }} {% endblock styles %} {% block htmltitle
%} 404 Page Not Found {% endblock htmltitle %} {% block header %}
{{macros::header(current_url="/")}} {% endblock header %} {% block content %}
{% extends 'base.html' %}
{% block styles %} {{macros::styles(file='section.css') }} {% endblock styles %}
{% block htmltitle%} 404 Page Not Found {% endblock htmltitle %}
{# set specifically so that there are no problems #}
{% block header %} {{macros::header(current_url="/")}} {% endblock header %}
{% block content %}
<div
class=
"error"
>
<h1>
404
</h1>
<h2>
Page Not Found
</h2>
...
...
This diff is collapsed.
Click to expand it.
templates/page.html
+
12
−
7
View file @
bccd3bed
{% extends "base.html" %} {% block styles %} {{ macros::styles(file='page.css')
}} {% endblock styles %} {% block htmltitle %} {{ page.title }} {% endblock
htmltitle %} {% block content %}
{% extends "base.html" %}
{# import styles for page #}
{% block styles %} {{ macros::styles(file='page.css')}} {% endblock styles %}
{% block htmltitle %} {{ page.title }} {% endblock htmltitle %}
{% block content %}
<main>
<div
class=
"show-bar"
>
<a
href=
"#sidebar"
class=
"sidebar"
role=
"button"
x-data=
"{ open:false}"
>
...
...
@@ -37,11 +39,14 @@ htmltitle %} {% block content %}
<h1
class=
"title"
>
{{ page.title }}
</h1>
{% block sections %}
<ul
class=
"sections"
>
{{ page_macros::relative_path() }} {{ page_macros::word_count() }} {{
page_macros::reading_time() }} {{ page_macros::date() }} {{
page_macros::taxonomies_authors() }}
{{ page_macros::relative_path() }}
{{ page_macros::word_count() }}
{{ page_macros::reading_time() }}
{{ page_macros::date() }}
{{ page_macros::taxonomies_authors() }}
</ul>
{% endblock sections %} {{ page.content | safe }}
{% endblock sections %}
{{ page.content | safe }}
</article>
{{ page_macros::toc(page=page) }}
</main>
...
...
This diff is collapsed.
Click to expand it.
templates/section.html
+
6
−
6
View file @
bccd3bed
{% extends "base.html" %}
{% block styles %} {{
macros::styles(file='section.css') }} {% endblock styles %}
{% block htmltitle
%} {{ macros::title_or_last(component=section) }} - {{ config.title }} {%
end
block
html
title %} {% block title %}
{{
macros::title_or_last(component=section) }} {% endblock title %} {% block math
%} {{ macros::math() }} {% endblock math %}
{% block content %}
{% extends "base.html" %}
{% block styles %} {{
macros::styles(file='section.css') }} {% endblock styles %}
{% block htmltitle
%} {{ macros::title_or_last(component=section) }} - {{ config.title }} {%
endblock htmltitle %}
{%
block title %
} {{macros::title_or_last(component=section) }
} {%
end
block title %}
{% block math%} {{ macros::math() }} {% endblock math %}
{% block content %}
<section>
{% for page in section.pages %}
<a
href=
"{{ page.permalink }}"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment