Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
monero-site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Edwin den Boer
monero-site
Commits
477bd674
Unverified
Commit
477bd674
authored
10 years ago
by
Riccardo Spagni
Browse files
Options
Downloads
Patches
Plain Diff
fixed language page for very low-res devices, fixed blog by tag title
parent
eb584f2e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
_includes/head.html
+2
-0
2 additions, 0 deletions
_includes/head.html
_layouts/blog_by_tag.html
+37
-26
37 additions, 26 deletions
_layouts/blog_by_tag.html
_strings_en.yml
+1
-0
1 addition, 0 deletions
_strings_en.yml
language.php
+1
-1
1 addition, 1 deletion
language.php
with
41 additions
and
27 deletions
_includes/head.html
+
2
−
0
View file @
477bd674
...
...
@@ -6,6 +6,8 @@
<title>
{% if page.entry %}
{{ page.entry }} | {% t global.wiki %} | {% t index.page_title %}
{% elsif tag %}
{% t global.tags %}: {{ tag.name }} | {% t index.page_title %}
{% elsif page.title %}
{{ page.title }} | {% t index.page_title %}
{% else %}
...
...
This diff is collapsed.
Click to expand it.
_layouts/blog_by_tag.html
+
37
−
26
View file @
477bd674
---
layout: default
---
{% assign filename = page.path | remove: '.md' | split: '/' | last %}
{% for data_tag in site.data.tags %}
<!DOCTYPE html>
<html>
{% assign filename = page.path | remove: '.md' | split: '/' | last %}
{% for data_tag in site.data.tags %}
{% if data_tag.slug == filename %}
{% assign tag = data_tag %}
{% endif %}
{% endfor %}
<div
class=
"page-title"
>
<!-- Icon is based on work by Sergiu Bagrin (http://pixelkit.com) and is licensed under Creative Commons BY 3.0 -->
<img
src=
"//static.getmonero.org/images/icon_tags.svg"
class=
"title-icon"
><h2
class=
"inline"
>
{% t tags.all %}:
<span
class=
"kicks"
>
{{ tag.name }}
</span></h2>
</div>
<div>
{% if site.tags[tag.slug] %}
{% for post in site.tags[tag.slug] %}
<h3><a
href=
"{{ post.url }}"
>
{{ post.title }}
</a></h3>
<blockquote>
{{ post.summary }}
</blockquote>
{% endfor %}
{% else %}
<h3>
{% t tags.notags %}
</h3>
{% endif %}
</div>
{% endfor %}
{% include head.html %}
<body>
{% include header.html %}
<div
class=
"container main-content"
>
<div
class=
"page-title"
>
<!-- Icon is based on work by Sergiu Bagrin (http://pixelkit.com) and is licensed under Creative Commons BY 3.0 -->
<img
src=
"//static.getmonero.org/images/icon_tags.svg"
class=
"title-icon"
><h2
class=
"inline"
>
{% t tags.all %}:
<span
class=
"kicks"
>
{{ tag.name }}
</span></h2>
</div>
<div>
{% if site.tags[tag.slug] %}
{% for post in site.tags[tag.slug] %}
<h3><a
href=
"{{ post.url }}"
>
{{ post.title }}
</a></h3>
<blockquote>
{{ post.summary }}
</blockquote>
{% endfor %}
{% else %}
<h3>
{% t tags.notags %}
</h3>
{% endif %}
</div>
</div>
{% include footer.html %}
</body>
</html>
This diff is collapsed.
Click to expand it.
_strings_en.yml
+
1
−
0
View file @
477bd674
...
...
@@ -5,6 +5,7 @@ global:
copyright
:
Copyright
monero_project
:
The Monero Project
wiki
:
Moneropedia
tags
:
Articles By Tag
terms
:
Terms
privacy
:
Privacy
copyright
:
Copyright
...
...
This diff is collapsed.
Click to expand it.
language.php
+
1
−
1
View file @
477bd674
...
...
@@ -35,7 +35,7 @@ if (isset($_COOKIE["MONERO_LANG"]))
<body
class=
"body-language"
>
<!-- Static navbar -->
<div
class=
"navbar navbar-default navbar-fixed-top"
role=
"navigation"
>
<div
class=
"container"
>
<div
class=
"container"
style=
"padding-bottom: 0px;"
>
<div
class=
"navbar-header"
>
<a
class=
"navbar-brand"
href=
"/"
><img
class=
"logo"
src=
"//static.getmonero.org/images/logo.svg"
></a>
</div>
...
...
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