Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
monero-site
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monero-project
monero-site
Commits
477bd674
Unverified
Commit
477bd674
authored
Feb 23, 2015
by
Riccardo Spagni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed language page for very low-res devices, fixed blog by tag title
parent
eb584f2e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
27 deletions
+41
-27
_includes/head.html
_includes/head.html
+2
-0
_layouts/blog_by_tag.html
_layouts/blog_by_tag.html
+37
-26
_strings_en.yml
_strings_en.yml
+1
-0
language.php
language.php
+1
-1
No files found.
_includes/head.html
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 %}
...
...
_layouts/blog_by_tag.html
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>
_strings_en.yml
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
...
...
language.php
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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment