Upgrade to Jekyll 3.0

Gemfile:

  - Upgrade to Jekyll 3.x (3.0.1 tested).  This brings several new
    features I want to use, most notably *collections* which allows us
    to add blog-like collections. I've converted the `_releases` and
    `_alerts` pages into collections, although their plugins are
    maintained to handle the Download and Active Alert features.

  - Upgrade to latest Kramdown.

  - Lock Less at 2.4.0.  This prevents breaking our Less plugin.  Jekyll
    3.x provides native support for SCSS, so we may want to switch to
    that in time.

  - Lock HTML Proofer at 2.1.0.  The most recent version was taking
    forever to check our pages (I never actually got it to complete).
    I'll look into it when I get more time.

Makefile:

  - New `make clean` command.  Jekyll 3.x by default attempts to do
    incremental rebuilds.  The new `jekyll clean` command cleans up the
    metadata necessary for than so that a full build is performed, and
    this new `make clean` command is a wrapper around it so that we
    automatically do full rebuilds in the relevant cases.  Note: our
    plugins aren't fully compatible with the incremental rebuilds, but
    I'd like to fix that in the future.

  - Remove WEBrick hack to enable previewing with default URL paths (/
    instead of /index.html).

  - Filter out compliants from Rouge

README.md:

  - Now that Alerts (_alerts) are part of a collection, the file names
    are no longer parsed for dates, so instructions on adding the date
    to the YAML metadata have been added.

_alerts/*:

  - Now that alerts are part of a collection, the file names are no
    longer parsed to provide dates, so a `date:` field has been added to
    the YAML metadata.

_config.yml:

  - Some variables renamed per upgrade instructions.

  - Switched from old default syntax highlighter Pygments to new default
    Rouge.  I tried to use Rouge options to keep new output as similar
    to old output as possible to making diffing easy, but Rouge adds
    extra CSS class info.

  - Move `_alerts` and `_releases` into Jekyll 3.x "collections", which
    provide the organizational features we were using plugins to
    manange.  I haven't removed the old plugins because we still use
    some of their features (alerts.rb provides active issue and banner
    features; releases.rb provides info to Download page)

  - _layouts/* can no longer provide default global metadata; that is now
    provided in the new `defaults:` section in _config.yml.

_layouts/*:

  - Default metadata can no longer be provided in the layout files for
    collections, so I've removed it and left a message to see
    _config.yml.

_plugins/*:

  - Remove filter_for.rb. It's completely broken on Jekyll 3.x because
    of changes to Liquid which prevent adding new arguments to the
    inherited Liquid::For class. Existing uses of filter_for have been
    migrated to built-in for loops prefaced by sorts.

  - Remove remove-html-extension.rb: at it said in the comments, this
    was a temporary hack to get us to Jekyll 3.0.

_releases/*:

  - Rename all the files: prefix a v to the file name so the output html
    (e.g. v10.0.0.html) is the same as the source filename (e.g.
    v10.0.0.md).  This is necessary to migrate them to a Jekyll collection.

  - Remove %v from titles: we have to explicitly set the title, like we
    used to.  Again required for migration to collections.

_templates/events.html & en/rss/events.rss:

  - Sort events by date and then loop with regular for loop rather than
    filter_for

en/alerts.html & en/rss/alerts.rss:

  - Sort alerts by date and then loop with regular for loop rather than
    filter_for

en/bitcoin-core/index.md & en/version-history.html & en/rss/releases.rss:

  - Sort alerts by date and then loop with regular for loop rather than
    filter_for
This commit is contained in:
David A. Harding 2015-09-04 21:27:26 -04:00
parent 02f72f778c
commit 7d98f798ab
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
62 changed files with 194 additions and 247 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ Thumbs.db
.bundle .bundle
vendor vendor
_cache _cache
.jekyll-metadata

View file

@ -16,10 +16,10 @@ group :development do
gem 'ffi-icu' gem 'ffi-icu'
## When we upgrade to Jekyll 3.0.0 or higher, remove ## When we upgrade to Jekyll 3.0.0 or higher, remove
## _plugin/remove-html-extension.rb ## _plugin/remove-html-extension.rb
gem 'jekyll', '~>1.3.0' gem 'jekyll', '~>3.0'
gem 'json' gem 'json'
gem 'less' gem 'less', '2.4.0'
gem 'kramdown', '~>1.6.0' gem 'kramdown'
gem 'RedCloth' gem 'RedCloth'
gem 'therubyracer' # required by less gem 'therubyracer' # required by less
gem 'jshintrb', '~>0.3.0' gem 'jshintrb', '~>0.3.0'
@ -29,5 +29,5 @@ end
## you can put whatever you want here and bundler will tell us humans to ## you can put whatever you want here and bundler will tell us humans to
## install the new Gems. ## install the new Gems.
group :slow_test do group :slow_test do
gem 'html-proofer' gem 'html-proofer', '2.1.0'
end end

View file

@ -2,22 +2,16 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
RedCloth (4.2.9) RedCloth (4.2.9)
addressable (2.3.7) addressable (2.4.0)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
colorator (0.1) colorator (0.1)
colored (1.2) colored (1.2)
commander (4.1.5)
highline (~> 1.6.11)
commonjs (0.2.7) commonjs (0.2.7)
ethon (0.7.3) ethon (0.8.0)
ffi (>= 1.3.0) ffi (>= 1.3.0)
execjs (2.6.0) execjs (2.6.0)
fast-stemmer (1.0.2) ffi (1.9.10)
ffi (1.9.3) ffi-icu (0.1.10)
ffi-icu (0.1.2)
ffi (~> 1.0, >= 1.0.9) ffi (~> 1.0, >= 1.0.9)
highline (1.6.20)
html-proofer (2.1.0) html-proofer (2.1.0)
addressable (~> 2.3) addressable (~> 2.3)
colored (~> 1.2) colored (~> 1.2)
@ -26,58 +20,51 @@ GEM
parallel (~> 1.3) parallel (~> 1.3)
typhoeus (~> 0.7) typhoeus (~> 0.7)
yell (~> 2.0) yell (~> 2.0)
jekyll (1.3.0) jekyll (3.0.1)
classifier (~> 1.3)
colorator (~> 0.1) colorator (~> 0.1)
commander (~> 4.1.3) jekyll-sass-converter (~> 1.0)
liquid (~> 2.5.2) jekyll-watch (~> 1.1)
listen (~> 1.3) kramdown (~> 1.3)
maruku (~> 0.6.0) liquid (~> 3.0)
pygments.rb (~> 0.5.0) mercenary (~> 0.3.3)
redcarpet (~> 2.3.0) rouge (~> 1.7)
safe_yaml (~> 0.9.7) safe_yaml (~> 1.0)
jekyll-sass-converter (1.4.0)
sass (~> 3.4)
jekyll-watch (1.3.0)
listen (~> 3.0)
jshintrb (0.3.0) jshintrb (0.3.0)
execjs execjs
multi_json (>= 1.3) multi_json (>= 1.3)
rake rake
json (1.8.1) json (1.8.3)
kramdown (1.6.0) kramdown (1.9.0)
less (2.4.0) less (2.4.0)
commonjs (~> 0.2.7) commonjs (~> 0.2.7)
libv8 (3.16.14.3) libv8 (3.16.14.13)
liquid (2.5.4) liquid (3.0.6)
listen (1.3.1) listen (3.0.5)
rb-fsevent (>= 0.9.3) rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9) rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
maruku (0.6.1)
syntax (>= 1.0.0)
mercenary (0.3.5) mercenary (0.3.5)
mini_portile (0.6.2) mini_portile2 (2.0.0)
multi_json (1.11.2) multi_json (1.11.2)
nokogiri (1.6.6.2) nokogiri (1.6.7.1)
mini_portile (~> 0.6.0) mini_portile2 (~> 2.0.0.rc2)
parallel (1.4.1) parallel (1.6.1)
posix-spawn (0.3.6)
pygments.rb (0.5.4)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rake (10.4.2) rake (10.4.2)
rb-fsevent (0.9.3) rb-fsevent (0.9.7)
rb-inotify (0.9.2) rb-inotify (0.9.5)
ffi (>= 0.5.0) ffi (>= 0.5.0)
rb-kqueue (0.2.0) ref (2.0.0)
ffi (>= 0.5.0) rouge (1.10.1)
redcarpet (2.3.0) safe_yaml (1.0.4)
ref (1.0.5) sass (3.4.20)
safe_yaml (0.9.7) therubyracer (0.12.2)
syntax (1.0.0)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0) libv8 (~> 3.16.14.0)
ref ref
typhoeus (0.7.1) typhoeus (0.8.0)
ethon (>= 0.7.1) ethon (>= 0.8.0)
yajl-ruby (1.1.0)
yell (2.0.5) yell (2.0.5)
PLATFORMS PLATFORMS
@ -86,10 +73,10 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
RedCloth RedCloth
ffi-icu ffi-icu
html-proofer html-proofer (= 2.1.0)
jekyll (~> 1.3.0) jekyll (~> 3.0)
jshintrb (~> 0.3.0) jshintrb (~> 0.3.0)
json json
kramdown (~> 1.6.0) kramdown
less less (= 2.4.0)
therubyracer therubyracer

View file

@ -12,33 +12,34 @@ JEKYLL_LOG=._jekyll.log
####################### #######################
## `make` (no arguments): just build ## `make` (no arguments): just build
default: build default: clean build
## `make preview`: start the built-in Jekyll preview ## `make preview`: start the built-in Jekyll preview
preview: preview: clean
$S bundle exec jekyll serve $S bundle exec jekyll serve
## `make test`: don't build, but do run all tests ## `make test`: don't build, but do run all tests
test: pre-build-tests post-build-tests test: pre-build-tests post-build-tests
## `make valid`: build and run fast tests ## `make valid`: build and run fast tests
valid: pre-build-tests-fast build post-build-tests-fast valid: clean pre-build-tests-fast build post-build-tests-fast
## `make all`: build and run all tests ## `make all`: build and run all tests
all: pre-build-tests build post-build-tests all: clean pre-build-tests build post-build-tests
## `make deployment`: for use on build server ## `make deployment`: for use on build server
deployment: install-deps-deployment \ deployment: clean install-deps-deployment \
valid valid
## `make travis`: for use with Travis CI ## `make travis`: for use with Travis CI
travis: travis-background-keepalive \ travis: clean travis-background-keepalive \
install-deps-development \ install-deps-development \
all all
## Install dependencies (development version) ## Install dependencies (development version)
install-deps-development: install-deps-development:
bundle install bundle install
@ -95,6 +96,9 @@ manual-checks: manual-check-diff-sha256sums
################# #################
ERROR_ON_OUTPUT="sed '1s/^/ERROR:\n/' | if grep . ; then sed 1iERROR ; false ; else true ; fi" ERROR_ON_OUTPUT="sed '1s/^/ERROR:\n/' | if grep . ; then sed 1iERROR ; false ; else true ; fi"
clean:
$S bundle exec jekyll clean
## Always build using the default locale so log messages can be grepped. ## Always build using the default locale so log messages can be grepped.
## This should not affect webpage output. ## This should not affect webpage output.
build: build:
@ -107,13 +111,9 @@ build:
## Jekyll annoyingly returns success even when it emits errors and ## Jekyll annoyingly returns success even when it emits errors and
## exceptions, so we'll grep its output for error strings ## exceptions, so we'll grep its output for error strings
#
## FIXME: temporarily ignoring errors from WEBrick because
## _plugin/remove-html-extension does something hackish until we upgrade
## to Jekyll 3.0.0
check-for-build-errors: check-for-build-errors:
$S egrep -i '(error|warn|exception)' $(JEKYLL_LOG) \ $S egrep -i '(error|warn|exception)' $(JEKYLL_LOG) \
| grep -vi webrick.*filehandler \ | grep -vi 'rouge/lexers/shell.rb' \
| eval $(ERROR_ON_OUTPUT) | eval $(ERROR_ON_OUTPUT)

View file

@ -592,6 +592,8 @@ coordination is usually conducted in #bitcoin-dev on Freenode.
active: true active: true
## Banner displayed if 'active: true'. Can use HTML formatting ## Banner displayed if 'active: true'. Can use HTML formatting
banner: "<b>Chain fork</b> - Please stop mining on bitcoin version 0.8.0. Click here for more information." banner: "<b>Chain fork</b> - Please stop mining on bitcoin version 0.8.0. Click here for more information."
## Date of the alert in YYYY-MM-DD format
date: 2015-03-11
--- ---
{% comment %} {% comment %}

View file

@ -3,6 +3,7 @@ title: "February 20, 2012 Protocol Changes"
shorturl: "feb20" shorturl: "feb20"
active: false active: false
banner: "" banner: ""
date: 2012-02-18
--- ---
<p> <p>
In June 2010 the Bitcoin reference software version 0.2.10 introduced In June 2010 the Bitcoin reference software version 0.2.10 introduced

View file

@ -3,6 +3,7 @@ title: "Potentially Critical Security Vulnerability"
shorturl: "critfix" shorturl: "critfix"
active: false active: false
banner: "" banner: ""
date: 2012-03-16
--- ---
<p> <p>
A potential security vulnerability has been discovered in the Windows A potential security vulnerability has been discovered in the Windows

View file

@ -3,6 +3,7 @@ title: "CVE-2012-2459: Critical Vulnerability (denial-of-service)"
shorturl: "dos" shorturl: "dos"
active: false active: false
banner: "" banner: ""
date: 2012-05-14
--- ---
<h2 id="risks">Risks</h2> <h2 id="risks">Risks</h2>
<p> <p>

View file

@ -3,6 +3,7 @@ title: "11/12 March 2013 Chain Fork Information"
shorturl: "chainfork" shorturl: "chainfork"
active: false active: false
banner: "" banner: ""
date: 2013-03-11
--- ---
<h2 id="what-happened">What happened</h2> <h2 id="what-happened">What happened</h2>
<p> <p>

View file

@ -3,6 +3,7 @@ title: "15 May 2013 Upgrade Deadline"
shorturl: "may15" shorturl: "may15"
active: false active: false
banner: "" banner: ""
date: 2013-03-15
--- ---
<h2 id="what-is-happening">What is happening</h2> <h2 id="what-is-happening">What is happening</h2>
<p> <p>

View file

@ -3,6 +3,7 @@ title: "Android Security Vulnerability"
active: false active: false
shorturl: "android" shorturl: "android"
banner: "" banner: ""
date: 2013-08-11
--- ---
<h2 id="what-happened">What happened</h2> <h2 id="what-happened">What happened</h2>

View file

@ -2,6 +2,7 @@
title: "Transaction malleability" title: "Transaction malleability"
active: false active: false
banner: "" banner: ""
date: 2014-02-11
--- ---
<h2 id="what-happened">What happened</h2> <h2 id="what-happened">What happened</h2>

View file

@ -3,6 +3,7 @@ title: "OpenSSL Heartbleed vulnerability"
shorturl: "heartbleed" shorturl: "heartbleed"
active: false active: false
banner: "" banner: ""
date: 2014-04-11
--- ---
<h2 id="what-happened">What happened</h2> <h2 id="what-happened">What happened</h2>

View file

@ -5,6 +5,7 @@
title: "Some Miners Generating Invalid Blocks" title: "Some Miners Generating Invalid Blocks"
shorturl: "spv-mining" shorturl: "spv-mining"
active: false active: false
date: 2015-07-04
#banner: "WARNING: many wallets currently vulnerable to double-spending of confirmed transactions (click here to read)" #banner: "WARNING: many wallets currently vulnerable to double-spending of confirmed transactions (click here to read)"
bannerclass: "alert" bannerclass: "alert"
--- ---

View file

@ -176,7 +176,7 @@ baseurl: /
source: . source: .
destination: ./_site destination: ./_site
plugins: ./_plugins plugins_dir: ./_plugins
exclude: exclude:
- Gemfile - Gemfile
- Gemfile.lock - Gemfile.lock
@ -185,10 +185,9 @@ exclude:
future: true future: true
lsi: false lsi: false
highlighter: rouge
pygments: true
markdown: kramdown markdown: kramdown
permalink: date permalink: date
excerpt_separator: "<!-- END_EXCERPT -->"
rdiscount: rdiscount:
extensions: [] extensions: []
@ -198,7 +197,15 @@ kramdown:
footnote_nr: 1 footnote_nr: 1
entity_output: as_char entity_output: as_char
toc_levels: 2..6 toc_levels: 2..6
use_coderay: false enable_coderay: false
syntax_highlighter: rouge
syntax_highlighter_opts:
## With the 'text' option, no highlighting is applied by default. We
## need this for backwards compatibility with existing code blocks.
default_lang: text
## Might be useful in the future, but turn off for upgrade to Jekyll 3.0
css_class:
coderay: coderay:
coderay_wrap: div coderay_wrap: div
@ -505,3 +512,37 @@ devsearches:
- "tx": "/en/developer-reference#tx" - "tx": "/en/developer-reference#tx"
- "verack": "/en/developer-reference#verack" - "verack": "/en/developer-reference#verack"
- "version": "/en/developer-reference#version" - "version": "/en/developer-reference#version"
collections:
## _alerts
alerts:
output: true
permalink: /en/alert/:path
## _releases
releases:
output: true
permalink: /en/release/:path
defaults:
- scope:
path: ""
type: alerts
values:
layout: alert
lang: en
- scope:
path: ""
type: releases
values:
layout: release
lang: en
breadcrumbs:
- bitcoin
- bcc
- bcc news
- RELEASE
- scope:
path: ""
type: posts
values:
lang: en

View file

@ -3,7 +3,7 @@
# http://opensource.org/licenses/MIT. # http://opensource.org/licenses/MIT.
layout: base layout: base
lang: en ## Note: global variables like page.lang must be set in _config.yml for collections
--- ---
{% if page.canonical != nil %} {% if page.canonical != nil %}
<script>window.location.href='{{ page.canonical }}';</script> <script>window.location.href='{{ page.canonical }}';</script>

View file

@ -3,13 +3,7 @@
# http://opensource.org/licenses/MIT. # http://opensource.org/licenses/MIT.
layout: base-core layout: base-core
lang: en ## Note: global variables like page.lang must be set in _config.yml for collections
breadcrumbs:
- bitcoin
- bcc
- bcc news
- RELEASE
--- ---
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases"> <link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
<div class="versiontext"> <div class="versiontext">

View file

@ -1,64 +0,0 @@
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
#filter_for allows to loop in site.pages sorted and filtered
#by custom page variables.
#Example:
#{% filter_for p in site.pages sort_by:date category:release lang:{{page.lang}} %}
# ..
#{% endfilter_for %}
module Jekyll
module SortedForImpl
def render(context)
sorted_collection = collection_to_sort context
return if sorted_collection.empty?
sort_attr = @attributes['sort_by']
@attributes.delete('sort_by')
#filter page by given attributes
s = []
for x in sorted_collection
catch :root do
@attributes.each do |at,atval|
atval = Liquid::Template.parse(atval).render context
throw :root unless x.to_liquid.has_key?(at) and x.to_liquid[at] == atval
end
s.push(x)
end
end
sorted_collection = s
#sort collection by given variable
if sorted_collection.length > 1
sorted_collection = sorted_collection.sort_by { |i| i.to_liquid[sort_attr] }
end
#return modified array
original_name = @collection_name
result = nil
context.stack do
sorted_collection_name = "#{@collection_name}_sorted".sub('.', '_')
context[sorted_collection_name] = sorted_collection
@collection_name = sorted_collection_name
result = super
@collection_name = original_name
end
result
end
end
class SortedForTag < Liquid::For
include SortedForImpl
def collection_to_sort(context)
return context[@collection_name].dup
end
def end_tag
'endfilter_for'
end
end
end
Liquid::Template.register_tag('filter_for', Jekyll::SortedForTag)

View file

@ -1,31 +0,0 @@
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
# remove-html-extensions is a temporary workaround to allow the built-in
# Jekyll server to serve files like /foo.html as /foo
# This functonality is already part of Jekyll 3.0.0beta and this plugin
# can be removed when we upgrade that far
require 'webrick'
include WEBrick
## Code starting here taken from https://github.com/jekyll/jekyll/commit/e99a9e5821a7ba16ce42a1f5de378012f22acae0 MIT license
# Custom WEBrick FileHandler servlet for serving "/file.html" at "/file"
# when no exact match is found. This mirrors the behavior of GitHub Pages
# and many static web server configs.
class FileHandler < ::WEBrick::HTTPServlet::FileHandler
def search_file(req, res, basename)
if file = super
file
else
super(req, res, "#{basename}.html")
end
end
end
## End copied code
## Horribly hackish and produces a warning, but it works and avoids us
## having to modify Jekyll on every end-user system
WEBrick::HTTPServlet::FileHandler = FileHandler

View file

@ -4,12 +4,12 @@
# Text originally from Bitcoin Core project # Text originally from Bitcoin Core project
# Metadata and small formatting changes from Bitcoin.org project # Metadata and small formatting changes from Bitcoin.org project
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required release version.
required_version: 0.10.0 required_version: 0.10.0
## Required title.
title: Bitcoin Core version 0.10.0 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-02-16 optional_date: 2015-02-16
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -4,12 +4,12 @@
# Text originally from Bitcoin Core project # Text originally from Bitcoin Core project
# Metadata and small formatting changes from Bitcoin.org project # Metadata and small formatting changes from Bitcoin.org project
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required release version.
required_version: 0.10.1 required_version: 0.10.1
## Required title.
title: Bitcoin Core version 0.10.1 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-04-27 optional_date: 2015-04-27
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -4,12 +4,12 @@
# Text originally from Bitcoin Core project # Text originally from Bitcoin Core project
# Metadata and small formatting changes from Bitcoin.org project # Metadata and small formatting changes from Bitcoin.org project
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required release version.
required_version: 0.10.2 required_version: 0.10.2
## Required title.
title: Bitcoin Core version 0.10.2 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-05-19 optional_date: 2015-05-19
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -4,10 +4,10 @@
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.10.3 required_version: 0.10.3
## Required title.
title: Bitcoin Core version 0.10.3 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-10-14 optional_date: 2015-10-14
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -4,12 +4,12 @@
# Text originally from Bitcoin Core project # Text originally from Bitcoin Core project
# Metadata and small formatting changes from Bitcoin.org project # Metadata and small formatting changes from Bitcoin.org project
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required release version.
required_version: 0.11.0 required_version: 0.11.0
## Required title.
title: Bitcoin Core version 0.11.0 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-07-12 optional_date: 2015-07-12
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -6,10 +6,10 @@
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.11.1 required_version: 0.11.1
## Required title.
title: Bitcoin Core version 0.11.1 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-10-15 optional_date: 2015-10-15
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -6,10 +6,10 @@
## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value) ## Required value below populates the %v variable (note: % needs to be escaped in YAML if it starts a value)
required_version: 0.11.2 required_version: 0.11.2
## Required title.
title: Bitcoin Core version 0.11.2 released
## Optional release date. May be filled in hours/days after a release ## Optional release date. May be filled in hours/days after a release
optional_date: 2015-11-13 optional_date: 2015-11-13
## Optional title. If not set, default is: Bitcoin Core version %v released
optional_title: Bitcoin Core version %v released
## Optional magnet link. To get it, open the torrent in a good BitTorrent client ## Optional magnet link. To get it, open the torrent in a good BitTorrent client
## and View Details, or install the transmission-cli Debian/Ubuntu package ## and View Details, or install the transmission-cli Debian/Ubuntu package
## and run: transmission-show -m <torrent file> ## and run: transmission-show -m <torrent file>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.3.21 required_version: 0.3.21
optional_date: 2011-04-27 optional_date: 2011-04-27
optional_title: Bitcoin version 0.3.21 released title: Bitcoin version 0.3.21 released
--- ---
Binaries for Bitcoin version 0.3.21 are available at: Binaries for Bitcoin version 0.3.21 are available at:

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.3.22 required_version: 0.3.22
optional_date: 2011-06-05 optional_date: 2011-06-05
optional_title: Bitcoin version 0.3.22 released title: Bitcoin version 0.3.22 released
--- ---
Download URL: <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.22/> Download URL: <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.22/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.3.23 required_version: 0.3.23
optional_date: 2011-06-14 optional_date: 2011-06-14
optional_title: Bitcoin version 0.3.23 released title: Bitcoin version 0.3.23 released
--- ---
Win32, Linux, MacOSX and source releases for bitcoin v0.3.23 have been uploaded to Win32, Linux, MacOSX and source releases for bitcoin v0.3.23 have been uploaded to
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.3.24 required_version: 0.3.24
optional_date: 2011-07-08 optional_date: 2011-07-08
optional_title: Bitcoin version 0.3.24 released title: Bitcoin version 0.3.24 released
--- ---
[Full announcement (including signatures)](http://sourceforge.net/mailarchive/message.php?msg_id=27771039) [Full announcement (including signatures)](http://sourceforge.net/mailarchive/message.php?msg_id=27771039)

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.4.0 required_version: 0.4.0
optional_date: 2011-09-23 optional_date: 2011-09-23
optional_title: Bitcoin version 0.4.0 released title: Bitcoin version 0.4.0 released
--- ---
[Full announcement (including signatures)](http://sourceforge.net/mailarchive/message.php?msg_id=28132490) [Full announcement (including signatures)](http://sourceforge.net/mailarchive/message.php?msg_id=28132490)

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.5.0 required_version: 0.5.0
optional_date: 2011-11-21 optional_date: 2011-11-21
optional_title: Bitcoin-Qt version 0.5.0 released title: Bitcoin-Qt version 0.5.0 released
--- ---
Bitcoin-Qt version 0.5.0 is now available for download at: Bitcoin-Qt version 0.5.0 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.0/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.0/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.5.1 required_version: 0.5.1
optional_date: 2011-12-15 optional_date: 2011-12-15
optional_title: Bitcoin-Qt version 0.5.1 released title: Bitcoin-Qt version 0.5.1 released
--- ---
Bitcoin-Qt version 0.5.1 is now available for download at: Bitcoin-Qt version 0.5.1 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.1/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.1/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.5.2 required_version: 0.5.2
optional_date: 2012-01-09 optional_date: 2012-01-09
optional_title: Bitcoin-Qt version 0.5.2 released title: Bitcoin-Qt version 0.5.2 released
--- ---
Bitcoin-Qt version 0.5.2 is now available for download at: Bitcoin-Qt version 0.5.2 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.2/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.2/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.5.3.1 required_version: 0.5.3.1
optional_date: 2012-03-16 optional_date: 2012-03-16
optional_title: Bitcoin-Qt version 0.5.3.1 released title: Bitcoin-Qt version 0.5.3.1 released
--- ---
Bitcoin-Qt version 0.5.3.1 for Windows is now available for download at: Bitcoin-Qt version 0.5.3.1 for Windows is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.5.3 required_version: 0.5.3
optional_date: 2012-03-14 optional_date: 2012-03-14
optional_title: Bitcoin-Qt version 0.5.3 released title: Bitcoin-Qt version 0.5.3 released
--- ---
Bitcoin-Qt version 0.5.3 is now available for download at: Bitcoin-Qt version 0.5.3 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.6.0 required_version: 0.6.0
optional_date: 2012-03-30 optional_date: 2012-03-30
optional_title: Bitcoin-Qt version 0.6.0 released title: Bitcoin-Qt version 0.6.0 released
--- ---
Bitcoin-Qt version 0.6.0 is now available for download at: Bitcoin-Qt version 0.6.0 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.6.1 required_version: 0.6.1
optional_date: 2012-05-04 optional_date: 2012-05-04
optional_title: Bitcoin-Qt version 0.6.1 released title: Bitcoin-Qt version 0.6.1 released
--- ---
Bitcoin-Qt version 0.6.1 is now available for download at: Bitcoin-Qt version 0.6.1 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.1/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.1/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.6.2 required_version: 0.6.2
optional_date: 2012-05-08 optional_date: 2012-05-08
optional_title: Bitcoin-Qt version 0.6.2 released title: Bitcoin-Qt version 0.6.2 released
--- ---
Bitcoin-Qt version 0.6.2 is now available for download at: Bitcoin-Qt version 0.6.2 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.2/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.2/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.6.3 required_version: 0.6.3
optional_date: 2012-06-25 optional_date: 2012-06-25
optional_title: Bitcoin-Qt version 0.6.3 released title: Bitcoin-Qt version 0.6.3 released
--- ---
Bitcoin-Qt version 0.6.3 is now available for download at: Bitcoin-Qt version 0.6.3 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.3/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.3/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.7.0 required_version: 0.7.0
optional_date: 2012-09-17 optional_date: 2012-09-17
optional_title: Bitcoin-Qt version 0.7.0 released title: Bitcoin-Qt version 0.7.0 released
--- ---
Bitcoin-Qt version 0.7.0 is now available for download at: Bitcoin-Qt version 0.7.0 is now available for download at:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.0/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.0/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.7.1 required_version: 0.7.1
optional_date: 2012-10-19 optional_date: 2012-10-19
optional_title: Bitcoin-Qt version 0.7.1 released title: Bitcoin-Qt version 0.7.1 released
--- ---
Bitcoin-Qt version 0.7.1 is now available from: Bitcoin-Qt version 0.7.1 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.1/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.1/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.7.2 required_version: 0.7.2
optional_date: 2012-12-14 optional_date: 2012-12-14
optional_title: Bitcoin-Qt version 0.7.2 released title: Bitcoin-Qt version 0.7.2 released
--- ---
Bitcoin-Qt version 0.7.2 is now available from: Bitcoin-Qt version 0.7.2 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.2> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.2>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.0 required_version: 0.8.0
optional_date: 2013-02-19 optional_date: 2013-02-19
optional_title: Bitcoin-Qt version 0.8.0 released title: Bitcoin-Qt version 0.8.0 released
--- ---
Bitcoin-Qt version 0.8.0 are now available from: Bitcoin-Qt version 0.8.0 are now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.1 required_version: 0.8.1
optional_date: 2013-03-18 optional_date: 2013-03-18
optional_title: Bitcoin-Qt version 0.8.1 released title: Bitcoin-Qt version 0.8.1 released
--- ---
Bitcoin-Qt version 0.8.1 is now available from: Bitcoin-Qt version 0.8.1 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.1/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.1/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.2 required_version: 0.8.2
optional_date: 2013-05-29 optional_date: 2013-05-29
optional_title: Bitcoin-Qt version 0.8.2 released title: Bitcoin-Qt version 0.8.2 released
--- ---
Bitcoin-Qt version 0.8.2 is now available from: Bitcoin-Qt version 0.8.2 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.3 required_version: 0.8.3
optional_date: 2013-06-25 optional_date: 2013-06-25
optional_title: Bitcoin-Qt version 0.8.3 released title: Bitcoin-Qt version 0.8.3 released
--- ---
Bitcoin-Qt version 0.8.3 is now available from: Bitcoin-Qt version 0.8.3 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.3/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.3/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.4 required_version: 0.8.4
optional_date: 2013-09-03 optional_date: 2013-09-03
optional_title: Bitcoin-Qt version 0.8.4 released title: Bitcoin-Qt version 0.8.4 released
--- ---
Bitcoin-Qt version 0.8.4 is now available from: Bitcoin-Qt version 0.8.4 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.4/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.4/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.5 required_version: 0.8.5
optional_date: 2013-09-13 optional_date: 2013-09-13
optional_title: Bitcoin-Qt version 0.8.5 released title: Bitcoin-Qt version 0.8.5 released
--- ---
Bitcoin-Qt version 0.8.5 is now available from: Bitcoin-Qt version 0.8.5 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.5/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.5/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.8.6 required_version: 0.8.6
optional_date: 2013-12-09 optional_date: 2013-12-09
optional_title: Bitcoin-Qt version 0.8.6 released title: Bitcoin-Qt version 0.8.6 released
--- ---
Bitcoin-Qt version 0.8.6 is now available from: Bitcoin-Qt version 0.8.6 is now available from:
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/> <http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/>

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.9.0 required_version: 0.9.0
optional_date: 2014-03-19 optional_date: 2014-03-19
optional_title: Bitcoin Core version 0.9.0 released title: Bitcoin Core version 0.9.0 released
--- ---
Bitcoin Core version 0.9.0 is now available from: Bitcoin Core version 0.9.0 is now available from:

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.9.1 required_version: 0.9.1
optional_date: 2014-04-08 optional_date: 2014-04-08
optional_title: Bitcoin Core version 0.9.1 released title: Bitcoin Core version 0.9.1 released
--- ---
Bitcoin Core version 0.9.1 is now available from: Bitcoin Core version 0.9.1 is now available from:

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.9.2.1 required_version: 0.9.2.1
optional_date: 2014-06-19 optional_date: 2014-06-19
optional_title: Bitcoin Core version 0.9.2.1 released title: Bitcoin Core version 0.9.2.1 released
--- ---
Bitcoin Core version 0.9.2.1 is now available from: Bitcoin Core version 0.9.2.1 is now available from:

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.9.2 required_version: 0.9.2
optional_date: 2014-06-16 optional_date: 2014-06-16
optional_title: Bitcoin Core version 0.9.2 released title: Bitcoin Core version 0.9.2 released
--- ---
Bitcoin Core version 0.9.2 is now available from: Bitcoin Core version 0.9.2 is now available from:

View file

@ -7,7 +7,7 @@
## Please see _releases/0.10.0.md for a release template ## Please see _releases/0.10.0.md for a release template
required_version: 0.9.3 required_version: 0.9.3
optional_date: 2014-09-27 optional_date: 2014-09-27
optional_title: Bitcoin Core version 0.9.3 released title: Bitcoin Core version 0.9.3 released
--- ---
Bitcoin Core version 0.9.3 is now available from: Bitcoin Core version 0.9.3 is now available from:

View file

@ -5,6 +5,8 @@
layout: base layout: base
id: events id: events
--- ---
{% assign date_sorted_conferences = site.conferences | sort: 'date' %}
{% assign date_sorted_meetups = site.meetups | sort: 'date' %}
<!-- Note: this file is built non-deterministically --> <!-- Note: this file is built non-deterministically -->
<link rel="alternate" type="application/rss+xml" href="/en/rss/events.rss" title="Bitcoin conferences and events"> <link rel="alternate" type="application/rss+xml" href="/en/rss/events.rss" title="Bitcoin conferences and events">
<h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.rss"><img src="/img/icons/icon_rss.svg" alt="rss" class="rssicon"></a></h1> <h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.rss"><img src="/img/icons/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
@ -18,21 +20,21 @@ id: events
<div id="eventmap" class="eventmap"></div> <div id="eventmap" class="eventmap"></div>
<div id="eventdata" class="eventdata"> <div id="eventdata" class="eventdata">
{% filter_for p in site.conferences sort_by:date %}{% if p.geoloc %} {% for p in date_sorted_conferences %}{% if p.geoloc %}
<div data-lat="{{ p.geoloc.lat }}" data-lon="{{ p.geoloc.lon }}"><b><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></b><br>{{ p.date }}<br>{{ p.venue | htmlescape }}<br>{{ p.address | htmlescape }}<br>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div> <div data-lat="{{ p.geoloc.lat }}" data-lon="{{ p.geoloc.lon }}"><b><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></b><br>{{ p.date }}<br>{{ p.venue | htmlescape }}<br>{{ p.address | htmlescape }}<br>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div>
{% endif %}{% endfilter_for %} {% endif %}{% endfor %}
{% filter_for p in site.meetups sort_by:date %}{% if p.geoloc %} {% for p in date_sorted_meetups %}{% if p.geoloc %}
<div data-lat="{{ p.geoloc.lat }}" data-lon="{{ p.geoloc.lon }}"><b><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></b><br>{{ p.date }}<br>{{ p.venue | htmlescape }}<br>{{ p.address | htmlescape }}<br>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div> <div data-lat="{{ p.geoloc.lat }}" data-lon="{{ p.geoloc.lon }}"><b><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></b><br>{{ p.date }}<br>{{ p.venue | htmlescape }}<br>{{ p.address | htmlescape }}<br>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div>
{% endif %}{% endfilter_for %} {% endif %}{% endfor %}
</div> </div>
<script src="/js/events.js"></script> <script src="/js/events.js"></script>
<h2 id="upcoming">{% translate upcoming %}</h2> <h2 id="upcoming">{% translate upcoming %}</h2>
<div class="listtable eventtable"> <div class="listtable eventtable">
{% filter_for p in site.conferences sort_by:date %} {% for p in date_sorted_conferences %}
<div><div>{{ p.date | date:"%Y-%m-%d" }}</div><div><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></div><div>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div></div> <div><div>{{ p.date | date:"%Y-%m-%d" }}</div><div><a href="{{ p.link | htmlescape }}">{{ p.title | htmlescape }}</a></div><div>{{ p.city | htmlescape }}, {{ p.country | htmlescape }}</div></div>
{% endfilter_for %} {% endfor %}
<span><a href="https://github.com/bitcoin-dot-org/bitcoin.org/issues/new?title=New%20event&amp;body=%20%20%20%20-%20date%3A%20YYYY-MM-DD%0A%20%20%20%20%20%20title%3A%20%22%22%0A%20%20%20%20%20%20venue%3A%20%22%22%0A%20%20%20%20%20%20address%3A%20%22%22%0A%20%20%20%20%20%20city%3A%20%22%22%0A%20%20%20%20%20%20country%3A%20%22%22%0A%20%20%20%20%20%20link%3A%20%22%22">{% translate eventsubmit %}</a></span> <span><a href="https://github.com/bitcoin-dot-org/bitcoin.org/issues/new?title=New%20event&amp;body=%20%20%20%20-%20date%3A%20YYYY-MM-DD%0A%20%20%20%20%20%20title%3A%20%22%22%0A%20%20%20%20%20%20venue%3A%20%22%22%0A%20%20%20%20%20%20address%3A%20%22%22%0A%20%20%20%20%20%20city%3A%20%22%22%0A%20%20%20%20%20%20country%3A%20%22%22%0A%20%20%20%20%20%20link%3A%20%22%22">{% translate eventsubmit %}</a></span>
</div> </div>

View file

@ -7,6 +7,7 @@ lang: en
id: alerts id: alerts
title: Network status and alerts - Bitcoin title: Network status and alerts - Bitcoin
--- ---
{% assign date_sorted_alerts = site.alerts | sort: 'date' %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts"> <link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
@ -20,19 +21,19 @@ title: Network status and alerts - Bitcoin
{% else %} {% else %}
<div class="alertstatusactive">The following network event is ongoing.</div> <div class="alertstatusactive">The following network event is ongoing.</div>
<ul class="alertsactive"> <ul class="alertsactive">
{% filter_for p in site.pages reversed sort_by:date category:alert %}{% if p.active == true %} {% for p in date_sorted_alerts reversed %}{% if p.active == true %}
<li> <li>
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a> {{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
</li> </li>
{% endif %}{% endfilter_for %} {% endif %}{% endfor %}
</ul> </ul>
{% endif %} {% endif %}
<ul class="alertsinactive"> <ul class="alertsinactive">
{% filter_for p in site.pages reversed sort_by:date category:alert %}{% if p.active == false %} {% for p in date_sorted_alerts reversed %}{% if p.active == false %}
<li> <li>
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a> {{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
</li> </li>
{% endif %}{% endfilter_for %} {% endif %}{% endfor %}
</ul> </ul>
<p><a href="http://getaddr.bitnodes.io/">Status and distribution of Bitcoin nodes</a></p> <p><a href="http://getaddr.bitnodes.io/">Status and distribution of Bitcoin nodes</a></p>
<p><a href="http://bitcoinstats.com/network/propagation/">Propagation time on the network</a></p> <p><a href="http://bitcoinstats.com/network/propagation/">Propagation time on the network</a></p>

View file

@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin - bitcoin
- Bitcoin Core - Bitcoin Core
--- ---
{% assign date_sorted_releases = site.releases | sort: 'optional_date', 'last' %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases"> <link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
# Bitcoin Core # Bitcoin Core
@ -85,9 +86,9 @@ breadcrumbs:
{% comment %}<!-- Capture all the releases into a string and convert it to an array -->{% endcomment %} {% comment %}<!-- Capture all the releases into a string and convert it to an array -->{% endcomment %}
{% capture text_releases %} {% capture text_releases %}
{% filter_for p in site.pages reversed sort_by:versionint category:release %} {% for p in date_sorted_releases reversed %}
{% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>:: {% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>::
{% endfilter_for %} {% endfor %}
{% endcapture %} {% endcapture %}
{% assign array_releases = text_releases | strip_newlines | split: '::' %} {% assign array_releases = text_releases | strip_newlines | split: '::' %}

View file

@ -15,13 +15,14 @@ lang: en
<url>https://bitcoin.org/img/icons/logo_rss.png</url> <url>https://bitcoin.org/img/icons/logo_rss.png</url>
<link>https://bitcoin.org/en/alerts</link> <link>https://bitcoin.org/en/alerts</link>
</image> </image>
{% filter_for p in site.pages reversed sort_by:date category:alert %} {% assign date_sorted_alerts = site.alerts | sort: 'date' %}
{% for p in date_sorted_alerts reversed %}
<item> <item>
<title>{{ p.title | htmlescape }}</title> <title>{{ p.title | htmlescape }}</title>
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link> <link>https://bitcoin.org{{ p.url }}</link>
<guid>https://bitcoin.org{{ p.url | replace:'.html','' }}</guid> <guid>https://bitcoin.org{{ p.url }}</guid>
<pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate> <pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
</item> </item>
{% endfilter_for %} {% endfor %}
</channel> </channel>
</rss> </rss>

View file

@ -16,13 +16,14 @@ lang: en
<url>https://bitcoin.org/img/icons/logo_rss.png</url> <url>https://bitcoin.org/img/icons/logo_rss.png</url>
<link>https://bitcoin.org/en/events</link> <link>https://bitcoin.org/en/events</link>
</image> </image>
{% filter_for p in site.conferences sort_by:date %} {% assign date_sorted_conferences = site.conferences | sort: 'date' %}
{% for p in date_sorted_conferences %}
<item> <item>
<title>{{ p.title | htmlescape }}, {{ p.city | htmlescape }} - {{ p.country | htmlescape }}</title> <title>{{ p.title | htmlescape }}, {{ p.city | htmlescape }} - {{ p.country | htmlescape }}</title>
<link>{{ p.link }}</link> <link>{{p.link}}</link>
<guid>{{ p.link }}</guid> <guid>{{p.link}}</guid>
<pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate> <pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
</item> </item>
{% endfilter_for %} {% endfor %}
</channel> </channel>
</rss> </rss>

View file

@ -15,11 +15,12 @@ lang: en
<url>https://bitcoin.org/img/icons/logo_rss.png</url> <url>https://bitcoin.org/img/icons/logo_rss.png</url>
<link>https://bitcoin.org/en/version-history</link> <link>https://bitcoin.org/en/version-history</link>
</image> </image>
{% filter_for p in site.pages reversed sort_by:versionint category:release %} {% assign date_sorted_releases = site.releases | sort: 'optional_date', 'last' %}
{% for p in date_sorted_releases reversed %}
<item> <item>
<title>{{ p.title | htmlescape }}</title> <title>{{ p.title | xmlescape }}</title>
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link> <link>https://bitcoin.org{{ p.url }}</link>
<guid>https://bitcoin.org{{ p.url | replace:'.html','' }}</guid> <guid>https://bitcoin.org{{ p.url }}</guid>
{% if p.optional_date %} {% if p.optional_date %}
<pubDate>{{ p.optional_date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate> <pubDate>{{ p.optional_date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
{% else %} {% else %}
@ -27,6 +28,6 @@ lang: en
{% warn "This release doesn't have optional_date set" %} {% warn "This release doesn't have optional_date set" %}
{% endif %} {% endif %}
</item> </item>
{% endfilter_for %} {% endfor %}
</channel> </channel>
</rss> </rss>

View file

@ -11,14 +11,15 @@ breadcrumbs:
- bcc - bcc
- News - News
--- ---
{% assign date_sorted_releases = site.releases | sort: 'optional_date', 'last' %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases"> <link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
<div class="versiontext"> <div class="versiontext">
<h1>Bitcoin Core version history<a type="application/rss+xml" href="/en/rss/releases.rss"><img src="/img/icons/icon_rss.svg" alt="rss" class="rssicon"></a></h1> <h1>Bitcoin Core version history<a type="application/rss+xml" href="/en/rss/releases.rss"><img src="/img/icons/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
<ul> <ul>
{% filter_for p in site.pages reversed sort_by:versionint category:release %} {% for p in date_sorted_releases reversed %}
<li> <li>
{% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a> {% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
</li> </li>
{% endfilter_for %} {% endfor %}
</ul> </ul>
</div> </div>