mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
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:
parent
02f72f778c
commit
7d98f798ab
62 changed files with 194 additions and 247 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,3 +10,4 @@ Thumbs.db
|
|||
.bundle
|
||||
vendor
|
||||
_cache
|
||||
.jekyll-metadata
|
||||
|
|
8
Gemfile
8
Gemfile
|
@ -16,10 +16,10 @@ group :development do
|
|||
gem 'ffi-icu'
|
||||
## When we upgrade to Jekyll 3.0.0 or higher, remove
|
||||
## _plugin/remove-html-extension.rb
|
||||
gem 'jekyll', '~>1.3.0'
|
||||
gem 'jekyll', '~>3.0'
|
||||
gem 'json'
|
||||
gem 'less'
|
||||
gem 'kramdown', '~>1.6.0'
|
||||
gem 'less', '2.4.0'
|
||||
gem 'kramdown'
|
||||
gem 'RedCloth'
|
||||
gem 'therubyracer' # required by less
|
||||
gem 'jshintrb', '~>0.3.0'
|
||||
|
@ -29,5 +29,5 @@ end
|
|||
## you can put whatever you want here and bundler will tell us humans to
|
||||
## install the new Gems.
|
||||
group :slow_test do
|
||||
gem 'html-proofer'
|
||||
gem 'html-proofer', '2.1.0'
|
||||
end
|
||||
|
|
89
Gemfile.lock
89
Gemfile.lock
|
@ -2,22 +2,16 @@ GEM
|
|||
remote: https://rubygems.org/
|
||||
specs:
|
||||
RedCloth (4.2.9)
|
||||
addressable (2.3.7)
|
||||
classifier (1.3.3)
|
||||
fast-stemmer (>= 1.0.0)
|
||||
addressable (2.4.0)
|
||||
colorator (0.1)
|
||||
colored (1.2)
|
||||
commander (4.1.5)
|
||||
highline (~> 1.6.11)
|
||||
commonjs (0.2.7)
|
||||
ethon (0.7.3)
|
||||
ethon (0.8.0)
|
||||
ffi (>= 1.3.0)
|
||||
execjs (2.6.0)
|
||||
fast-stemmer (1.0.2)
|
||||
ffi (1.9.3)
|
||||
ffi-icu (0.1.2)
|
||||
ffi (1.9.10)
|
||||
ffi-icu (0.1.10)
|
||||
ffi (~> 1.0, >= 1.0.9)
|
||||
highline (1.6.20)
|
||||
html-proofer (2.1.0)
|
||||
addressable (~> 2.3)
|
||||
colored (~> 1.2)
|
||||
|
@ -26,58 +20,51 @@ GEM
|
|||
parallel (~> 1.3)
|
||||
typhoeus (~> 0.7)
|
||||
yell (~> 2.0)
|
||||
jekyll (1.3.0)
|
||||
classifier (~> 1.3)
|
||||
jekyll (3.0.1)
|
||||
colorator (~> 0.1)
|
||||
commander (~> 4.1.3)
|
||||
liquid (~> 2.5.2)
|
||||
listen (~> 1.3)
|
||||
maruku (~> 0.6.0)
|
||||
pygments.rb (~> 0.5.0)
|
||||
redcarpet (~> 2.3.0)
|
||||
safe_yaml (~> 0.9.7)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 1.1)
|
||||
kramdown (~> 1.3)
|
||||
liquid (~> 3.0)
|
||||
mercenary (~> 0.3.3)
|
||||
rouge (~> 1.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)
|
||||
execjs
|
||||
multi_json (>= 1.3)
|
||||
rake
|
||||
json (1.8.1)
|
||||
kramdown (1.6.0)
|
||||
json (1.8.3)
|
||||
kramdown (1.9.0)
|
||||
less (2.4.0)
|
||||
commonjs (~> 0.2.7)
|
||||
libv8 (3.16.14.3)
|
||||
liquid (2.5.4)
|
||||
listen (1.3.1)
|
||||
libv8 (3.16.14.13)
|
||||
liquid (3.0.6)
|
||||
listen (3.0.5)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
rb-kqueue (>= 0.2)
|
||||
maruku (0.6.1)
|
||||
syntax (>= 1.0.0)
|
||||
mercenary (0.3.5)
|
||||
mini_portile (0.6.2)
|
||||
mini_portile2 (2.0.0)
|
||||
multi_json (1.11.2)
|
||||
nokogiri (1.6.6.2)
|
||||
mini_portile (~> 0.6.0)
|
||||
parallel (1.4.1)
|
||||
posix-spawn (0.3.6)
|
||||
pygments.rb (0.5.4)
|
||||
posix-spawn (~> 0.3.6)
|
||||
yajl-ruby (~> 1.1.0)
|
||||
nokogiri (1.6.7.1)
|
||||
mini_portile2 (~> 2.0.0.rc2)
|
||||
parallel (1.6.1)
|
||||
rake (10.4.2)
|
||||
rb-fsevent (0.9.3)
|
||||
rb-inotify (0.9.2)
|
||||
rb-fsevent (0.9.7)
|
||||
rb-inotify (0.9.5)
|
||||
ffi (>= 0.5.0)
|
||||
rb-kqueue (0.2.0)
|
||||
ffi (>= 0.5.0)
|
||||
redcarpet (2.3.0)
|
||||
ref (1.0.5)
|
||||
safe_yaml (0.9.7)
|
||||
syntax (1.0.0)
|
||||
therubyracer (0.12.1)
|
||||
ref (2.0.0)
|
||||
rouge (1.10.1)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.4.20)
|
||||
therubyracer (0.12.2)
|
||||
libv8 (~> 3.16.14.0)
|
||||
ref
|
||||
typhoeus (0.7.1)
|
||||
ethon (>= 0.7.1)
|
||||
yajl-ruby (1.1.0)
|
||||
typhoeus (0.8.0)
|
||||
ethon (>= 0.8.0)
|
||||
yell (2.0.5)
|
||||
|
||||
PLATFORMS
|
||||
|
@ -86,10 +73,10 @@ PLATFORMS
|
|||
DEPENDENCIES
|
||||
RedCloth
|
||||
ffi-icu
|
||||
html-proofer
|
||||
jekyll (~> 1.3.0)
|
||||
html-proofer (= 2.1.0)
|
||||
jekyll (~> 3.0)
|
||||
jshintrb (~> 0.3.0)
|
||||
json
|
||||
kramdown (~> 1.6.0)
|
||||
less
|
||||
kramdown
|
||||
less (= 2.4.0)
|
||||
therubyracer
|
||||
|
|
22
Makefile
22
Makefile
|
@ -12,33 +12,34 @@ JEKYLL_LOG=._jekyll.log
|
|||
#######################
|
||||
|
||||
## `make` (no arguments): just build
|
||||
default: build
|
||||
default: clean build
|
||||
|
||||
## `make preview`: start the built-in Jekyll preview
|
||||
preview:
|
||||
preview: clean
|
||||
$S bundle exec jekyll serve
|
||||
|
||||
## `make test`: don't build, but do run all tests
|
||||
test: pre-build-tests post-build-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
|
||||
all: pre-build-tests build post-build-tests
|
||||
all: clean pre-build-tests build post-build-tests
|
||||
|
||||
## `make deployment`: for use on build server
|
||||
deployment: install-deps-deployment \
|
||||
deployment: clean install-deps-deployment \
|
||||
valid
|
||||
|
||||
## `make travis`: for use with Travis CI
|
||||
travis: travis-background-keepalive \
|
||||
travis: clean travis-background-keepalive \
|
||||
install-deps-development \
|
||||
all
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Install dependencies (development version)
|
||||
install-deps-development:
|
||||
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"
|
||||
|
||||
clean:
|
||||
$S bundle exec jekyll clean
|
||||
|
||||
## Always build using the default locale so log messages can be grepped.
|
||||
## This should not affect webpage output.
|
||||
build:
|
||||
|
@ -107,13 +111,9 @@ build:
|
|||
|
||||
## Jekyll annoyingly returns success even when it emits errors and
|
||||
## 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:
|
||||
$S egrep -i '(error|warn|exception)' $(JEKYLL_LOG) \
|
||||
| grep -vi webrick.*filehandler \
|
||||
| grep -vi 'rouge/lexers/shell.rb' \
|
||||
| eval $(ERROR_ON_OUTPUT)
|
||||
|
||||
|
||||
|
|
|
@ -592,6 +592,8 @@ coordination is usually conducted in #bitcoin-dev on Freenode.
|
|||
active: true
|
||||
## 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."
|
||||
## Date of the alert in YYYY-MM-DD format
|
||||
date: 2015-03-11
|
||||
---
|
||||
|
||||
{% comment %}
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "February 20, 2012 Protocol Changes"
|
|||
shorturl: "feb20"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2012-02-18
|
||||
---
|
||||
<p>
|
||||
In June 2010 the Bitcoin reference software version 0.2.10 introduced
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Potentially Critical Security Vulnerability"
|
|||
shorturl: "critfix"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2012-03-16
|
||||
---
|
||||
<p>
|
||||
A potential security vulnerability has been discovered in the Windows
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "CVE-2012-2459: Critical Vulnerability (denial-of-service)"
|
|||
shorturl: "dos"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2012-05-14
|
||||
---
|
||||
<h2 id="risks">Risks</h2>
|
||||
<p>
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "11/12 March 2013 Chain Fork Information"
|
|||
shorturl: "chainfork"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2013-03-11
|
||||
---
|
||||
<h2 id="what-happened">What happened</h2>
|
||||
<p>
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "15 May 2013 Upgrade Deadline"
|
|||
shorturl: "may15"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2013-03-15
|
||||
---
|
||||
<h2 id="what-is-happening">What is happening</h2>
|
||||
<p>
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "Android Security Vulnerability"
|
|||
active: false
|
||||
shorturl: "android"
|
||||
banner: ""
|
||||
date: 2013-08-11
|
||||
---
|
||||
|
||||
<h2 id="what-happened">What happened</h2>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
title: "Transaction malleability"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2014-02-11
|
||||
---
|
||||
|
||||
<h2 id="what-happened">What happened</h2>
|
||||
|
|
|
@ -3,6 +3,7 @@ title: "OpenSSL Heartbleed vulnerability"
|
|||
shorturl: "heartbleed"
|
||||
active: false
|
||||
banner: ""
|
||||
date: 2014-04-11
|
||||
---
|
||||
|
||||
<h2 id="what-happened">What happened</h2>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
title: "Some Miners Generating Invalid Blocks"
|
||||
shorturl: "spv-mining"
|
||||
active: false
|
||||
date: 2015-07-04
|
||||
#banner: "WARNING: many wallets currently vulnerable to double-spending of confirmed transactions (click here to read)"
|
||||
bannerclass: "alert"
|
||||
---
|
||||
|
|
49
_config.yml
49
_config.yml
|
@ -176,7 +176,7 @@ baseurl: /
|
|||
|
||||
source: .
|
||||
destination: ./_site
|
||||
plugins: ./_plugins
|
||||
plugins_dir: ./_plugins
|
||||
exclude:
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
|
@ -185,10 +185,9 @@ exclude:
|
|||
|
||||
future: true
|
||||
lsi: false
|
||||
highlighter: rouge
|
||||
pygments: true
|
||||
markdown: kramdown
|
||||
permalink: date
|
||||
excerpt_separator: "<!-- END_EXCERPT -->"
|
||||
|
||||
rdiscount:
|
||||
extensions: []
|
||||
|
@ -198,7 +197,15 @@ kramdown:
|
|||
footnote_nr: 1
|
||||
entity_output: as_char
|
||||
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_wrap: div
|
||||
|
@ -505,3 +512,37 @@ devsearches:
|
|||
- "tx": "/en/developer-reference#tx"
|
||||
- "verack": "/en/developer-reference#verack"
|
||||
- "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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# http://opensource.org/licenses/MIT.
|
||||
|
||||
layout: base
|
||||
lang: en
|
||||
## Note: global variables like page.lang must be set in _config.yml for collections
|
||||
---
|
||||
{% if page.canonical != nil %}
|
||||
<script>window.location.href='{{ page.canonical }}';</script>
|
||||
|
|
|
@ -3,13 +3,7 @@
|
|||
# http://opensource.org/licenses/MIT.
|
||||
|
||||
layout: base-core
|
||||
lang: en
|
||||
|
||||
breadcrumbs:
|
||||
- bitcoin
|
||||
- bcc
|
||||
- bcc news
|
||||
- RELEASE
|
||||
## Note: global variables like page.lang must be set in _config.yml for collections
|
||||
---
|
||||
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
|
||||
<div class="versiontext">
|
||||
|
|
|
@ -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)
|
|
@ -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
|
|
@ -4,12 +4,12 @@
|
|||
# Text originally from Bitcoin Core 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 title.
|
||||
title: Bitcoin Core version 0.10.0 released
|
||||
## Optional release date. May be filled in hours/days after a release
|
||||
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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent file>
|
|
@ -4,12 +4,12 @@
|
|||
# Text originally from Bitcoin Core 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 title.
|
||||
title: Bitcoin Core version 0.10.1 released
|
||||
## Optional release date. May be filled in hours/days after a release
|
||||
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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent file>
|
|
@ -4,12 +4,12 @@
|
|||
# Text originally from Bitcoin Core 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 title.
|
||||
title: Bitcoin Core version 0.10.2 released
|
||||
## Optional release date. May be filled in hours/days after a release
|
||||
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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent 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_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_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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent file>
|
|
@ -4,12 +4,12 @@
|
|||
# Text originally from Bitcoin Core 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 title.
|
||||
title: Bitcoin Core version 0.11.0 released
|
||||
## Optional release date. May be filled in hours/days after a release
|
||||
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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent 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_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_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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent 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_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_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
|
||||
## and View Details, or install the transmission-cli Debian/Ubuntu package
|
||||
## and run: transmission-show -m <torrent file>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.3.21
|
||||
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:
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.3.22
|
||||
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/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.3.23
|
||||
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
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.3.24
|
||||
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)
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.4.0
|
||||
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)
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.5.0
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.0/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.5.1
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.1/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.5.2
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.2/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.5.3.1
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.5.3
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.6.0
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.6.1
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.1/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.6.2
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.2/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.6.3
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.3/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.7.0
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.0/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.7.1
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.1/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.7.2
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.2>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.0
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.1
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.1/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.2
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.3
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.3/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.4
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.4/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.5
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.5/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.8.6
|
||||
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:
|
||||
<http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/>
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.9.0
|
||||
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:
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.9.1
|
||||
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:
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.9.2.1
|
||||
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:
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.9.2
|
||||
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:
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
## Please see _releases/0.10.0.md for a release template
|
||||
required_version: 0.9.3
|
||||
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:
|
||||
|
|
@ -5,6 +5,8 @@
|
|||
layout: base
|
||||
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 -->
|
||||
<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>
|
||||
|
@ -18,21 +20,21 @@ id: events
|
|||
<div id="eventmap" class="eventmap"></div>
|
||||
<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>
|
||||
{% 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>
|
||||
{% endif %}{% endfilter_for %}
|
||||
{% endif %}{% endfor %}
|
||||
|
||||
</div>
|
||||
<script src="/js/events.js"></script>
|
||||
<h2 id="upcoming">{% translate upcoming %}</h2>
|
||||
<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>
|
||||
{% endfilter_for %}
|
||||
{% endfor %}
|
||||
<span><a href="https://github.com/bitcoin-dot-org/bitcoin.org/issues/new?title=New%20event&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>
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ lang: en
|
|||
id: alerts
|
||||
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">
|
||||
|
||||
|
||||
|
@ -20,19 +21,19 @@ title: Network status and alerts - Bitcoin
|
|||
{% else %}
|
||||
<div class="alertstatusactive">The following network event is ongoing.</div>
|
||||
<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>
|
||||
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
|
||||
</li>
|
||||
{% endif %}{% endfilter_for %}
|
||||
{% endif %}{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<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>
|
||||
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
|
||||
</li>
|
||||
{% endif %}{% endfilter_for %}
|
||||
{% endif %}{% endfor %}
|
||||
</ul>
|
||||
<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>
|
||||
|
|
|
@ -11,6 +11,7 @@ breadcrumbs:
|
|||
- bitcoin
|
||||
- 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">
|
||||
|
||||
# Bitcoin Core
|
||||
|
@ -85,9 +86,9 @@ breadcrumbs:
|
|||
|
||||
{% comment %}<!-- Capture all the releases into a string and convert it to an array -->{% endcomment %}
|
||||
{% 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>::
|
||||
{% endfilter_for %}
|
||||
{% endfor %}
|
||||
{% endcapture %}
|
||||
{% assign array_releases = text_releases | strip_newlines | split: '::' %}
|
||||
|
||||
|
|
|
@ -15,13 +15,14 @@ lang: en
|
|||
<url>https://bitcoin.org/img/icons/logo_rss.png</url>
|
||||
<link>https://bitcoin.org/en/alerts</link>
|
||||
</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>
|
||||
<title>{{ p.title | htmlescape }}</title>
|
||||
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
||||
<guid>https://bitcoin.org{{ p.url | replace:'.html','' }}</guid>
|
||||
<link>https://bitcoin.org{{ p.url }}</link>
|
||||
<guid>https://bitcoin.org{{ p.url }}</guid>
|
||||
<pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
|
||||
</item>
|
||||
{% endfilter_for %}
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -16,13 +16,14 @@ lang: en
|
|||
<url>https://bitcoin.org/img/icons/logo_rss.png</url>
|
||||
<link>https://bitcoin.org/en/events</link>
|
||||
</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>
|
||||
<title>{{ p.title | htmlescape }}, {{ p.city | htmlescape }} - {{ p.country | htmlescape }}</title>
|
||||
<link>{{ p.link }}</link>
|
||||
<guid>{{ p.link }}</guid>
|
||||
<link>{{p.link}}</link>
|
||||
<guid>{{p.link}}</guid>
|
||||
<pubDate>{{ p.date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
|
||||
</item>
|
||||
{% endfilter_for %}
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -15,11 +15,12 @@ lang: en
|
|||
<url>https://bitcoin.org/img/icons/logo_rss.png</url>
|
||||
<link>https://bitcoin.org/en/version-history</link>
|
||||
</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>
|
||||
<title>{{ p.title | htmlescape }}</title>
|
||||
<link>https://bitcoin.org{{ p.url | replace:'.html','' }}</link>
|
||||
<guid>https://bitcoin.org{{ p.url | replace:'.html','' }}</guid>
|
||||
<title>{{ p.title | xmlescape }}</title>
|
||||
<link>https://bitcoin.org{{ p.url }}</link>
|
||||
<guid>https://bitcoin.org{{ p.url }}</guid>
|
||||
{% if p.optional_date %}
|
||||
<pubDate>{{ p.optional_date | date: "%a, %d %b %Y" }} 00:00:00 GMT</pubDate>
|
||||
{% else %}
|
||||
|
@ -27,6 +28,6 @@ lang: en
|
|||
{% warn "This release doesn't have optional_date set" %}
|
||||
{% endif %}
|
||||
</item>
|
||||
{% endfilter_for %}
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
|
@ -11,14 +11,15 @@ breadcrumbs:
|
|||
- bcc
|
||||
- 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">
|
||||
<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>
|
||||
<ul>
|
||||
{% filter_for p in site.pages reversed sort_by:versionint category:release %}
|
||||
{% for p in date_sorted_releases reversed %}
|
||||
<li>
|
||||
{% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
|
||||
</li>
|
||||
{% endfilter_for %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue