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
4ec19024
Unverified
Commit
4ec19024
authored
Feb 15, 2015
by
Riccardo Spagni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed page title, formatted paginated blog posts page
parent
2050e1cb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
24 deletions
+33
-24
_includes/head.html
_includes/head.html
+7
-1
_includes/header.html
_includes/header.html
+2
-2
_strings_en.yml
_strings_en.yml
+8
-7
blog/index.html
blog/index.html
+11
-8
home.php
home.php
+5
-6
No files found.
_includes/head.html
View file @
4ec19024
...
...
@@ -3,7 +3,13 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
{% t index.page_title %}
</title>
<title>
{% if page.title %}
{{ page.title }} | {% t index.page_title %}
{% else %}
{% t index.page_title %}
{% endif %}
</title>
<meta
name=
"description"
content=
"{{ site.description }}"
>
<meta
name=
"keywords"
content=
"{{ site.keywords }}"
>
...
...
_includes/header.html
View file @
4ec19024
...
...
@@ -29,7 +29,6 @@
<li><a
href=
"/getting-started/running"
>
{% t menu.running %}
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"/downloads"
>
{% t menu.downloads %}
</a></li>
<li><a
href=
"/getting-started/simplewallet"
>
{% t menu.simplewallet %}
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"/getting-started/accepting"
>
{% t menu.accepting %}
</a></li>
<li><a
href=
"/getting-started/merchants"
>
{% t menu.merchants %}
</a></li>
...
...
@@ -42,7 +41,8 @@
<li><a
href=
"/knowledge-base/people"
>
{% t menu.people %}
</a></li>
<li><a
href=
"/knowledge-base/moneropedia"
>
{% t menu.wiki %}
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"/knowledge-base/compiling"
>
{% t menu.compiling %}
</a></li>
<li><a
href=
"/knowledge-base/user-guides"
>
{% t menu.userguides %}
</a></li>
<li><a
href=
"/knowledge-base/developer-guides"
>
{% t menu.developerguides %}
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"/knowledge-base/openalias"
>
{% t menu.openalias %}
</a></li>
<li><a
href=
"/knowledge-base/projects"
>
{% t menu.projects %}
</a></li>
...
...
_strings_en.yml
View file @
4ec19024
files
:
index
:
index.html
vocab
:
vocab.html
simplewallet
:
use-simplewallet.html
global
:
date
:
'
%Y/%m/%d'
monero
:
Monero
...
...
@@ -22,13 +18,13 @@ menu:
choose
:
How to Choose a Monero Client
running
:
How to Run a Monero Node
downloads
:
All Monero Downloads
simplewallet
:
How to Use SimpleWallet
accepting
:
How to Accept Monero Payments
merchants
:
Monero Merchant Directory
about
:
About Monero
people
:
The People Behind Monero
wiki
:
Moneropedia
compiling
:
Compiling Monero
userguides
:
User Guides
developerguides
:
Developer Guides
openalias
:
The OpenAlias Project
alternative
:
Alternative Clients
projects
:
External Projects
...
...
@@ -85,4 +81,9 @@ index:
all_downloads
:
View all downloads here
c_download
:
Downloads
monero_for
:
Monero for
latest_blockchain
:
Latest Blockchain
\ No newline at end of file
latest_blockchain
:
Latest Blockchain
blog
:
title_1
:
All
title_2
:
Blog
title_3
:
Posts
tagged
:
Tagged under
\ No newline at end of file
blog/index.html
View file @
4ec19024
...
...
@@ -3,19 +3,22 @@ layout: default
title: All Blog Posts
---
<!-- This loops through the paginated posts -->
<h2>
{% t blog.title_1 %}
<span
class=
"purple-kicks"
>
{% t blog.title_2 %}
</span>
{% t blog.title_3 %}
</h2>
{% for post in paginator.posts %}
<h1><a
href=
"{{ post.url }}"
>
{{ post.title }}
</a></h1>
<p
class=
"author"
>
<span
class=
"date"
>
{{ post.date }}
</span>
</p>
<div
class=
"content"
>
<h3><a
href=
"{{ post.url }}"
>
{{ post.title }}
</a></h3>
<blockquote>
{{ post.summary }}
</div>
<small>
{% t blog.tagged %}:
{% for tag in post.tags %}
[{{ tag }}]
{% endfor %}
</small>
</blockquote>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div
class=
"
pagination
"
>
<div
class=
"
text-center
"
>
{% if paginator.previous_page %}
<a
href=
"{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"
>
«
Prev
</a>
{% else %}
...
...
home.php
View file @
4ec19024
---
layout
:
root
Title
:
Home
---
<!--
Top
Boxes
-->
...
...
@@ -18,14 +19,12 @@ layout: root
<!--
Icon
is
based
on
work
by
Icomoon
(
http
://
www
.
icomoon
.
io
)
and
is
licensed
under
Creative
Commons
BY
3.0
-->
<
img
src
=
"//static.monero.cc/images/icon_news.svg"
class
=
"inline-icon"
style
=
"height: 60px;"
><
h2
>
{
%
t
index
.
the_latest
%
}
<
span
class
=
"announcements"
>
{
%
t
index
.
news
%
}
</
span
></
h2
>
<
ul
>
{
%
for
post
in
site
.
posts
limit
:
3
%
}
<
li
>
<
a
href
=
"https://bitcointalk.org/index.php?topic=583449.msg7708137#msg7708137"
>
[{
%
t
index
.
date_1
%
}
-
<
span
class
=
"news-title"
>
{
%
t
index
.
news_1
%
}
</
span
>
]
</
a
><
br
>
{
%
t
index
.
news_text_1
%
}
</
li
>
<
li
>
<
a
href
=
"https://bitcointalk.org/index.php?topic=583449.msg7542304#msg7542304"
>
[{
%
t
index
.
date_2
%
}
-
<
span
class
=
"news-title"
>
{
%
t
index
.
news_2
%
}
</
span
>
]
</
a
><
br
>
{
%
t
index
.
news_text_2
%
}
<
a
href
=
"post.url"
>
[{{
post
.
date
|
date
:
"%B %d"
}}
-
<
span
class
=
"news-title"
>
{{
post
.
title
}}
</
span
>
]
</
a
><
br
>
{{
post
.
summary
}}
</
li
>
{
%
endfor
%
}
</
ul
>
</
div
>
</
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