jekyll-paginate-v2 1.3.3 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -1
  3. data/README.md +107 -3
  4. data/examples/01-typicalblog/Gemfile +28 -0
  5. data/examples/01-typicalblog/README.md +91 -0
  6. data/examples/01-typicalblog/_config.yml +51 -0
  7. data/examples/01-typicalblog/_includes/header.html +31 -0
  8. data/examples/01-typicalblog/_layouts/home.html +52 -0
  9. data/examples/01-typicalblog/_posts/2016-11-20-geography-of-minneapolis.md +29 -0
  10. data/examples/01-typicalblog/_posts/2016-11-21-sailing-summer-olympics-1988.md +15 -0
  11. data/examples/01-typicalblog/_posts/2016-11-22-rotary-engine.md +27 -0
  12. data/examples/01-typicalblog/_posts/2016-11-23-luft-fahrzeug-gesellschaft.md +27 -0
  13. data/examples/01-typicalblog/_posts/2016-11-24-narcisse-snake-pits.md +18 -0
  14. data/examples/01-typicalblog/_posts/2016-11-25-tele7jours.md +43 -0
  15. data/examples/01-typicalblog/_posts/2016-11-26-columbia-river.md +41 -0
  16. data/examples/01-typicalblog/_posts/2016-11-27-welcome-to-jekyll-paginate-v2.md +33 -0
  17. data/examples/01-typicalblog/about.md +15 -0
  18. data/examples/01-typicalblog/index.html +8 -0
  19. data/examples/02-category/Gemfile +28 -0
  20. data/examples/02-category/README.md +119 -0
  21. data/examples/02-category/_config.yml +47 -0
  22. data/examples/02-category/_includes/header.html +31 -0
  23. data/examples/02-category/_layouts/home.html +52 -0
  24. data/examples/02-category/_posts/2016-10-27-welcome-to-jekyll-paginate-v2.md +32 -0
  25. data/examples/02-category/about.md +15 -0
  26. data/examples/02-category/cars/_posts/2016-10-18-Porsche-918-Spyder.md +13 -0
  27. data/examples/02-category/cars/_posts/2016-10-19-Porsche-964.md +12 -0
  28. data/examples/02-category/cars/_posts/2016-10-20-porsche-911-gt3.md +13 -0
  29. data/examples/02-category/cars/_posts/2016-10-21-porsche-911.md +13 -0
  30. data/examples/02-category/cars/_posts/2016-10-22-porsche-962.md +18 -0
  31. data/examples/02-category/cars/_posts/2016-10-23-Toyota-GT-One.md +20 -0
  32. data/examples/02-category/cars/_posts/2016-10-24-Mercedes-Benz-CLK-GTR.md +40 -0
  33. data/examples/02-category/cars/_posts/2016-10-25-rolls-royce-silver-ghost.md +31 -0
  34. data/examples/02-category/categories/byname.md +11 -0
  35. data/examples/02-category/categories/porsche.md +10 -0
  36. data/examples/02-category/index.md +13 -0
  37. data/examples/02-category/toyota/index.md +7 -0
  38. data/examples/03-tags/Gemfile +28 -0
  39. data/examples/03-tags/README.md +60 -0
  40. data/examples/03-tags/_config.yml +45 -0
  41. data/examples/03-tags/_includes/header.html +31 -0
  42. data/examples/03-tags/_layouts/home.html +51 -0
  43. data/examples/03-tags/_layouts/post.html +20 -0
  44. data/examples/03-tags/biography/_posts/2016-10-27-born-to-run.md +26 -0
  45. data/examples/03-tags/biography/_posts/2016-10-27-forty-autumns.md +26 -0
  46. data/examples/03-tags/biography/_posts/2016-10-27-life-in-questions-a.md +27 -0
  47. data/examples/03-tags/biography/_posts/2016-10-27-not-dead-yet.md +24 -0
  48. data/examples/03-tags/biography/_posts/2016-10-27-princess-diarist-the.md +26 -0
  49. data/examples/03-tags/biography/_posts/2016-10-27-when-breath-becomes-air.md +24 -0
  50. data/examples/03-tags/biography/biography-musicians.md +13 -0
  51. data/examples/03-tags/biography/biography.md +12 -0
  52. data/examples/03-tags/blog/_posts/2016-09-30-welcome-to-jekyll-paginate-v2.md +32 -0
  53. data/examples/03-tags/byisbn.md +13 -0
  54. data/examples/03-tags/fantasy/_posts/2016-10-27-harry-potter-deathly-hallows.md +24 -0
  55. data/examples/03-tags/fantasy/_posts/2016-10-27-harry-potter-philosophers-stone.md +24 -0
  56. data/examples/03-tags/fantasy/_posts/2016-10-27-mistborn-trilogy.md +24 -0
  57. data/examples/03-tags/fantasy/_posts/2016-10-27-ready-player-one.md +24 -0
  58. data/examples/03-tags/fantasy/_posts/2016-10-27-sword-of-destiny.md +24 -0
  59. data/examples/03-tags/fantasy/_posts/2016-10-27-terry-pratchet-diary-2017.md +24 -0
  60. data/examples/03-tags/index.md +18 -0
  61. data/examples/03-tags/romance/_posts/2016-10-27-breath-of-snow-and-ashes-a.md +25 -0
  62. data/examples/03-tags/romance/_posts/2016-10-27-dressmaker-the.md +24 -0
  63. data/examples/03-tags/romance/_posts/2016-10-27-fiery-cross-the.md +26 -0
  64. data/examples/03-tags/romance/_posts/2016-10-27-it-ends-with-us.md +28 -0
  65. data/examples/03-tags/romance/_posts/2016-10-27-outlander-novel.md +34 -0
  66. data/examples/03-tags/romance/_posts/2016-10-27-virgins-outlander-short-story.md +26 -0
  67. data/examples/03-tags/romance/romance-historical.md +14 -0
  68. data/examples/03-tags/tags/contemporary.md +10 -0
  69. data/examples/03-tags/tags/fantasy.md +12 -0
  70. data/examples/03-tags/tags/sci-fi.md +13 -0
  71. data/examples/README.md +21 -0
  72. data/examples/img/01-example-screenshot-main.png +0 -0
  73. data/examples/img/02-example-screenshot-main.png +0 -0
  74. data/examples/img/03-example-screenshot-main.png +0 -0
  75. data/lib/jekyll-paginate-v2.rb +1 -0
  76. data/lib/jekyll-paginate-v2/compatibilityUtils.rb +4 -3
  77. data/lib/jekyll-paginate-v2/paginationGenerator.rb +15 -8
  78. data/lib/jekyll-paginate-v2/paginationModel.rb +58 -37
  79. data/lib/jekyll-paginate-v2/paginationPage.rb +38 -0
  80. data/lib/jekyll-paginate-v2/paginator.rb +3 -3
  81. data/lib/jekyll-paginate-v2/utils.rb +47 -1
  82. data/lib/jekyll-paginate-v2/version.rb +2 -2
  83. data/spec/spec_helper.rb +1 -0
  84. metadata +74 -2
@@ -0,0 +1,52 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- Just some nice to have styles for the pager buttons -->
5
+ <style>
6
+ ul.pager { text-align: center; list-style: none; }
7
+ ul.pager li {display: inline;border: 1px solid black; padding: 10px; margin: 5px;}
8
+ </style>
9
+
10
+ <div class="home">
11
+
12
+ <h1 class="page-heading">Posts</h1>
13
+
14
+ {{ content }}
15
+
16
+ <ul class="post-list">
17
+ <!--
18
+ Here is the main paginator logic called.
19
+ All calls to site.posts should be replaced by paginator.posts
20
+ -->
21
+ {% for post in paginator.posts %}
22
+ <li>
23
+ <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
24
+
25
+ <h2>
26
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
27
+ </h2>
28
+ </li>
29
+ {% endfor %}
30
+ </ul>
31
+
32
+ <!--
33
+ Showing buttons to move to the next and to the previous list of posts (pager buttons).
34
+ -->
35
+ {% if paginator.total_pages > 1 %}
36
+ <ul class="pager">
37
+ {% if paginator.previous_page %}
38
+ <li class="previous">
39
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Newer Posts</a>
40
+ </li>
41
+ {% endif %}
42
+ {% if paginator.next_page %}
43
+ <li class="next">
44
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts &rarr;</a>
45
+ </li>
46
+ {% endif %}
47
+ </ul>
48
+ {% endif %}
49
+
50
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
51
+
52
+ </div>
@@ -0,0 +1,32 @@
1
+ ---
2
+ layout: post
3
+ title: "Welcome to Jekyll Paginate V2!"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ ---
6
+ You’ll find this post in your `_posts` directory. This post along with all of the other example posts is paginated by the new [jekyll-paginate-v2 gem](https://github.com/sverrirs/jekyll-paginate-v2).
7
+
8
+ This pagination gem is built specially for Jekyll 3 and newer and is intended to replace the now discontinuted jekyll-paginate gem.
9
+
10
+ This v2 of the gem offers full backwards compatibility with the old gem and its site configuration. You can simply replace the old jekyll-paginate gem with this one and your sites will still work without any changes.
11
+
12
+ However to access the new enhanced features of this gem, like pagination on categories, tags and locales, then you need to remove the old jekyll-paginate configuration and activate the new `pagination:` [site configuration](https://github.com/sverrirs/jekyll-paginate-v2#site-configuration).
13
+
14
+ The [source code](https://github.com/sverrirs/jekyll-paginate-v2/tree/master/examples) for this example project will show you all the necessary steps.
15
+
16
+ ## Installing
17
+
18
+ Go ahead and install the latest version of the gem from [rubygems.org](https://rubygems.org/gems/jekyll-paginate-v2)
19
+
20
+ ```
21
+ gem install jekyll-paginate-v2
22
+ ```
23
+
24
+ Replace the `jekyll-paginate` gem with `jekyll-paginate-v2` in both your `_config.yml` and your `Gemfile`.
25
+
26
+ Now go ahead and re-build your site to start running the new pagination logic. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
27
+
28
+ Please see the [GitHub repo](https://github.com/sverrirs/jekyll-paginate-v2) to learn how to get the most out of this new pagination gem. There we also discuss the gems more advanced features.
29
+
30
+ Please file all bugs/feature requests in the issues section of the [GitHub repo](https://github.com/sverrirs/jekyll-paginate-v2/issues).
31
+
32
+ Have a great day :)
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: page
3
+ title: About
4
+ permalink: /about/
5
+ ---
6
+
7
+ This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
8
+
9
+ You can find the source code for the Jekyll new theme at:
10
+ {% include icon-github.html username="jekyll" %} /
11
+ [minima](https://github.com/jekyll/minima)
12
+
13
+ You can find the source code for Jekyll at
14
+ {% include icon-github.html username="jekyll" %} /
15
+ [jekyll](https://github.com/jekyll/jekyll)
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: post
3
+ title: Porsche 918 Spyder
4
+ date: 2016-10-18 19:16:49 +0100
5
+ categories: cars, grand touring, Porsche, sports car
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Porsche 918 Spyder is a mid-engined plug-in hybrid sports car by Porsche.[3] The Spyder is powered by a naturally aspirated 4.6-litre V8 engine, developing 608 metric horsepower (447 kW), with two electric motors delivering an additional 279 metric horsepower (205 kW) for a combined output of 887 metric horsepower (652 kW). The 918 Spyder's 6.8 kWh lithium-ion battery pack delivers an all-electric range of 19 km (12 mi) under EPA's five-cycle tests.[1] The car has a top speed of around 340 km/h (210 mph).[4]
10
+
11
+ The 918 Spyder is a limited edition Hypercar, with 918 units manufactured and sold as a 2014 model year. Production began on September 18, 2013, with deliveries initially scheduled to begin in December 2013.[5][6] The starting price was US$847,000.[4] The 918 Spyder was sold out in December 2014. The country with the most orders was the United States with 294 units.[7][8] Canada ordered 35 units.[9] Production ended in June 2015.[10]
12
+
13
+ The 918 Spyder was first shown as a concept at the 80th Geneva Motor Show in March 2010.[5] The production version was unveiled at the September 2013 Frankfurt Motor Show.[11] Porsche also unveiled the RSR racing variant of the 918 at the 2011 North American International Auto Show, which combines hybrid technology first used in the 997 GT3 R Hybrid, with styling from the 918 Spyder.[12] The 918 Spyder was the second plug-in hybrid car from Porsche, after the 2014 Panamera S E-Hybrid.[13]
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: post
3
+ title: Porsche 964
4
+ date: 2016-10-19 19:16:49 +0100
5
+ categories: cars, grand touring, Porsche, sports car
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Porsche 964 is the company's internal name for the Porsche 911 manufactured and sold between 1989 and 1994. Designed by Benjamin Dimson through January 1986, it featured significant styling revisions over previous 911 models, most prominently the more integrated bumpers. It was the first generation 911 to be offered with Porsche's optional Tiptronic automatic transmission and all wheel drive as options.
10
+
11
+ ## Carrera 2 and 4
12
+ The 964 was considered to be 85% new as compared to its predecessor, the Carrera 3.2. The first 964s available in 1989 were all wheel drive equipped "Carrera 4" models; Porsche added the rear wheel drive Carrera 2 variant to the range in 1990. Both variants were available as a coupe, Targa or Cabriolet. The 964 Carrera was the last generation sold with the traditional removable Targa roof until the 2011 991 (993, 996, and 997 versions used instead a complex glass-roof "greenhouse" system). A new naturally aspirated engine called the M64 was used for 964 models, with a flat-6 displacement of 3.6 litres. Porsche substantially revised the suspension, replacing torsion bars with coil springs and shock absorbers.[2] Power steering and ABS brakes were added to the 911 for the first time; both were standard. The exterior bumpers and fog lamps became flush with the car for better aerodynamics. A new electric rear spoiler raised at speeds above 50 mph (80 km/h) and lowered down flush with the rear engine lid at lower speeds. A revised interior featured standard dual airbags beginning in 1990 for all North American production cars. A new automatic climate control system provided improved heating and cooling. Revised instrumentation housed a large set of warning lights that were tied into the car's central warning system, alerting the driver to a possible problem or malfunction.
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: post
3
+ title: Porsche 911 GT3
4
+ date: 2016-10-20 19:16:49 +0100
5
+ categories: cars, grand touring, Porsche, sports car
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Porsche 911 GT3 is a high performance version of the Porsche 911 sports car primarily intended for racing. It is a line of high-performance models, which began with the 1973 911 Carrera RS. The GT3 is named after the Fédération Internationale de l'Automobile (FIA) Group GT3 class in which it was designed to compete.
10
+
11
+ A number of variations, designed for road and track duty, have been introduced since its launch in 1999. More than 14,000 911 GT3 cars have been produced.
12
+
13
+ The GT3 has had a successful racing career in the one-make national Porsche Carrera Cup series, and the international Porsche Supercup. It has won championship and endurance races, including the GT class of the American Le Mans Series seven times, first overall in the 24 Hours of Daytona, and first overall at the 24 Hours Nürburgring six times.
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: post
3
+ title: Porsche 911
4
+ date: 2016-10-21 19:16:49 +0100
5
+ categories: cars, grand touring, sports car, Porsche
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Porsche 911 (pronounced Nine Eleven or German: Neunelf) is a two-door, 2+2 high performance sports car made since 1963 by Porsche AG of Stuttgart, Germany. It has a rear-mounted six cylinder boxer engine and all round independent suspension. It has undergone continuous development, though the basic concept has remained little changed.[2] The engines were air-cooled until the introduction of the Type 996 in 1998, with Porsche's "993" series, produced in model years 1994-1998, being the last of the air-cooled Porsches.[3][4]
10
+
11
+ The 911 has been modified by private teams and by the factory itself for racing, rallying, and other forms of automotive competition. It is among the most successful competition cars. In the mid-1970s, naturally aspirated 911 Carrera RSRs won major world championship sports car races such as Targa Florio, Daytona, Sebring, and Nürburgring, even against prototypes. The 911-derived 935 turbo also won the 24 Hours of Le Mans in 1979.
12
+
13
+ In the 1999 international poll for the award of Car of the Century, the 911 came fifth.[5] It is one of two in the top five that had remained continuously in production (the original Beetle remained in production until 2003),[6] and was until 1998 a successful surviving application of the air- (now water-) cooled opposed rear-engine layout pioneered by its ancestor, the Volkswagen Beetle. It is one of the oldest sports coupé nameplates still in production, and 820,000 had been sold by the car's 50th anniversary in 2013.[7] "Around 150,000 911 cars from the model years 1964 to 1989 are still on the road today."[8]
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: post
3
+ title: Porsche 962
4
+ date: 2016-10-24 19:16:49 +0100
5
+ categories: cars, prototype, sports car, Porsche
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Porsche 962 (also known as the 962C in its Group C form) is a sports-prototype racing car built by Porsche as a replacement for the 956 and designed mainly to comply with IMSA's GTP regulations, although it would later compete in the European Group C formula as the 956 had. The 962 was introduced at the end of 1984, from which it quickly became successful through private owners while having a remarkably long-lived career, with some examples still proving competitive into the mid-1990s.
10
+
11
+ ## Development
12
+ When the Porsche 956 was developed in late 1981, the intention of Porsche was to run the car in both the World Sportscar Championship and the North American IMSA GTP Championship. However IMSA GTP regulations differed from Group C and subsequently the 956 was banned in the US series on safety grounds as the driver's feet were ahead of the front axle center line.
13
+
14
+ To make the 956 eligible under the new IMSA regulations, Porsche extended the 956's wheelbase to move the front wheels ahead of the pedal box.[1] A steel roll cage was also integrated into the new aluminium chassis. For an engine, the Porsche 934-derived Type-935 2.8L flat-6 was used with air cooling and a single Kühnle, Kopp und Kausch AG K36 turbocharger instead of the twin K27 turbochargers of the Group C 956, as twin-turbo systems were not allowed in IMSA's GTP class at the time.
15
+
16
+ The newer Andial built 3.2L fuel injected flat-6 would be placed in the 962 by the middle of 1985 for IMSA GT, which made the car more competitive against Jaguar. However it would not be until 1986 that the 2.6L unit from the 956 was replaced in the World Sportscar Championship, using 2.8L, 3.0L, and 3.2L variants with dual turbochargers. The cars run under World Sportscar Championship regulations were designated as 962C to separate them from their IMSA GTP counterparts. The 3.2L unit, which had been eligible under IMSA's Group 3 engine rules, was banned by IMSA in 1987.[2] In 1988, to counteract against the factory Nissans and the threat of withdrawal from Porsche teams, water-cooled twin-turbo Porsche engines would be allowed back but with 36 mm restrictors.[2]
17
+
18
+ In total, Porsche would produce 91 962s between 1984 and 1991. 16 were officially used by the factory team, while 75 were sold to customers. Some 956s were rebuilt as 962s, with two being previously written off and four others simply rebuilt. Three 962s that were badly damaged were also rebuilt had been given a new chassis number due to the extensive reconstruction.[3][4][original research?] Due to the high demand for 962 parts, some aluminium chassis were built by Fabcar in the United States before being shipped to Germany for completion. Derek Bell, a 5-time Le Mans winner, drove the 962 to 21 victories between 1985 and 1987, remarked that it was "a fabulous car, but considering how thorough (Norbert) Singer (the designer of the 962 and head of Porsche's motorsport division at the time) and the team were, it was really quite easy to drive." [5]
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: post
3
+ title: Toyota GT-One
4
+ date: 2016-10-24 19:16:49 +0100
5
+ categories: cars, prototype, sports car, toyota
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Toyota GT-One (model code TS020) is a racing car initially developed for grand touring GT1 rules, but later adapted into a Le Mans prototype LMGTP car. It raced in the 1998 and 1999 24 Hours of Le Mans. It is well known for being the fastest racing car to compete at Le Mans, with a top speed of approximately 420 km/h. Its road equivalent, built for homologation reasons, also bears a similar speed.
10
+
11
+ ## History
12
+ Following the end of the Group C era around 1994, Toyota decided to alter its plans in sports car racing by moving to the production-based GT classes for 1995. Toyota decided to approach this in two ways by using two different styles of car for competition. The first was a heavily modified Toyota Supra, referred to as the Supra LM, which would use a turbocharged 3S-GT (503E) inline-4. The second entry was a custom built car designed specifically to be a racing car, yet required a small number of production cars for sale in order to meet homologation regulations. This car was modified heavily from the Toyota MR2, and became known as the SARD MC8-R. The MC8-R would use a custom built Toyota turbocharged V8. While the Supra performed admirably in 1995, the MC8-R would appear superior for 1996. With development of high powered supercars for the GT classes at the time, Toyota decided that a car similar to the MC8-R, which was intended as a race car first, would be better suited to continuing Toyota's development of a GT car. Thus Toyota announced they would skip the 1997 24 Hours of Le Mans to be able to develop their new GT car for 1998.
13
+
14
+ Turning to Toyota's European arm based in Cologne, Germany, Toyota Team Europe (TTE) and Dallara were charged with development of the new GT car. With taking the one-year hiatus, TTE was able to look at what the competition was developing for the GT class, and exploit it to their benefit. In 1997, both the Mercedes-Benz CLK GTR and the Porsche 911 GT1 were dominant cars in their class that exploited loopholes in the rules in place at the time. Each car was a custom built super car of which only a small handful of production cars were built to homologate it. TTE realized that they would actually only need to build a single production car in order to meet homologation regulations, thus allowing TTE to have a car that would never truly be sold to a customer, meaning that any driver luxuries could be left out.
15
+
16
+ Second, Toyota learned about a loophole which Mercedes-Benz had exploited. All GT based cars were required to have storage space, capable of holding a standard sized suitcase, in order for the car to be considered not only production based, but usable by the public. Mercedes exploited this by putting a small cubby hole into an unused area underneath the rear bodywork, although it was not as easy to access as a normal trunk. Toyota, in their interpretation of the rules, were able to convince Automobile Club de l'Ouest (ACO) officials that the car's fuel tank, normally empty when the car is scrutineered before the race, was allowable as a trunk space since it could, theoretically, hold a suitcase.
17
+
18
+ With these loopholes in place, TTE was able to set out in laying-out the GT-One. TTE designed and manufactured the car's carbon fiber chassis and bodywork in-house, while Toyota supplied a heavily upgraded version of the engine they originally used on their Group C cars, the R36V 3.6 L Turbo V8.
19
+
20
+ TTE also developed the only two GT-One road cars built, required in order for the race car to qualify as a road car-based Grand Tourer. They were painted red and fitted with a basic interior. One was put into a museum in Japan, the other is displayed at Toyota Motorsport GmbH in Cologne, Germany.
@@ -0,0 +1,40 @@
1
+ ---
2
+ layout: post
3
+ title: Mercedes-Benz CLK GTR
4
+ date: 2016-10-24 19:16:49 +0100
5
+ categories: cars, prototype, sports car, mercedes
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+
10
+ The Mercedes-Benz CLK GTR is a sports car and race car that was built by Mercedes-AMG, performance and motorsports arm of Mercedes-Benz. Intended for racing in the new FIA GT Championship series in 1997, the CLK GTR was designed primarily as a race car, with the road cars necessary in order to meet homologation standards being secondary in the car's design. Thus the limited production road-going cars are considered racing cars for the road.
11
+
12
+ After competing successfully in 1997, the race car was upgraded in 1998 for the 24 Hours of Le Mans and renamed the CLK LM. Following the construction of the CLK LMs and the CLK GTR road cars, the project would end in 1999 by being replaced by the Mercedes-Benz CLR Le Mans prototype.
13
+
14
+ ## Racing car
15
+
16
+ ### CLK GTR
17
+ As the Deutsche Tourenwagen Meisterschaft/International Touring Car Championship had folded in late 1996, with both remaining competitors Opel and Alfa Romeo leaving due to the high costs of their 4WD designs, Mercedes-Benz had no top series to compete in. With the success of the BPR Global GT Series leading to the FIA taking over and turning it into an international series known as the FIA GT Championship, Mercedes-Benz saw an opportunity to go against manufacturers like Porsche and Ferrari.
18
+
19
+ Following the design that Porsche had laid out with their 911 homologation special, Mercedes-AMG was tasked by Mercedes-Benz with creating an extreme racing car that still maintained some elements of a normal street legal car. AMG's designers created a car which shared some design elements with the Mercedes-Benz CLK, yet had all the standard features of a racing car underneath. A Mercedes-Benz M120 V12 engine would be at the heart of the car, mounted behind the cockpit. The bodywork would be made entirely of carbon fiber, and would feature many aerodynamic design elements and cooling openings in order to survive on the race track.
20
+
21
+ To test the CLK GTR before the first chassis were built, Mercedes-AMG actually took an unusual measure. Through secrecy, Mercedes-AMG was able to purchase a disused McLaren F1 GTR, the defending BPR GT series champion, from Larbre Compétition. This purchase first allowed Mercedes-AMG to see the kind of lap times that their competitors could run, to serve as a measurement of the CLK GTRs abilities. However, more importantly, Mercedes-AMG set about modifying this F1 GTR by attaching bodywork that was meant to go on the CLK GTRs. Mercedes-Benz also used their own LS600 6.0 liter engine in place of the BMW V12 unit.[1] This allowed Mercedes-AMG to be able to perfect the aerodynamics of the car before it had even been built.
22
+
23
+ Upon completion of the first two prototypes a mere 128 days after the initial drawings had been made, the CLK GTRs were entered into the 1997 FIA GT Championship season, debuting at the season-opener at one of Mercedes-Benz's home tracks, the Hockenheimring. Unfortunately the new cars were not able to shine, as brake problems eliminated one car after five laps, and the other finished over 20 laps behind the winning McLaren. However, by the next round at Silverstone, the CLK GTR began to show its pace, finishing less than a second behind the winning McLaren. By the fourth round, returning to Germany for the Nürburgring, a third CLK GTR was added to the team. In this race, Mercedes-Benz successfully outperformed the fleet of McLarens, taking first and second places. The team would finish out the season with five more wins, at A1-Ring, Suzuka, Donington, Sebring, and Laguna Seca, allowing them to secure the team championship as well as the drivers championship for Bernd Schneider.
24
+
25
+
26
+ ### CLK LM
27
+
28
+ After conquering the FIA GT Championship, Mercedes-Benz set its sights on competing at the 24 Hours of Le Mans in 1998, which it had not been at since 1991. However, Le Mans presented a different challenge from that offered in FIA GT, in that the race distances were nearly one tenth the distance covered at Le Mans. Therefore, Mercedes-AMG set about altering the CLK GTR in order to meet the new demands required at Le Mans.
29
+
30
+ First and foremost, Mercedes-AMG decided that the M120 V12 would not be up to the task of running for 24 hours. It was decided instead that Mercedes would actually return to an engine they had used in Group C in the late 1980s, the M119 V8. Abandoning the turbochargers that the M119 had used in Group C and enlarging the displacement, Mercedes-AMG felt that the M119 would have better reliability at speeds while still performing the same amount of power as the M120 due to air restrictor regulations.
31
+
32
+ Satisfied with the engine, Mercedes-AMG also set about altering the bodywork to better cope with the high speeds of Le Mans. The nose was lowered, with the large front brake cooling ducts on the sides of the nose being removed and replaced by a single, large opening in the front of the car. The roof of the car was also lowered and a new engine air intake designed. Various other mechanical tweaks were also performed. This new car would become known as CLK LM, standing for Le Mans.
33
+
34
+ Debuting at Le Mans, the CLK LMs were immediately quick. The two car team took the pole, ahead of custom built open cockpit Le Mans prototypes. However, Mercedes-AMG's belief that the M119 V8s would be better suited to Le Mans was proven wrong as both cars suffered engine failures within the first few hours of the race, leaving Mercedes-Benz dejected.
35
+
36
+ Returning to FIA GT, Mercedes-Benz replaced their older CLK GTRs with the new CLK LMs and saw greater success. The two cars easily won every remaining race, including six 1-2 finishes. This handed Mercedes-Benz the teams championship again, while Klaus Ludwig and Ricardo Zonta would share the drivers championship.
37
+
38
+ For the 1999 season, no competitor attempted to enter the GT1 class in FIA GT except for Mercedes-Benz, forcing the FIA to cancel the class, similar to the DTM/ITC two years earlier. Mercedes-Benz thus turned to constructing an all-new car to overcome their failure at Le Mans. No longer forced to build a racing car that could also be a road car, Mercedes-AMG set about creating the Mercedes-Benz CLR.
39
+
40
+ The CLK LM's V8 engine produced approximately 600 hp (450 kW), allowing it to reach speeds up to 330 km/h (205 mph) in testing for the 1998 24 Hours of Le Mans. Mercedes-AMG claimed a virtual top speed of 335 km/h (208 mph).[citation needed] In total, four racing variant CLK-LMs were constructed and one road-going version was built to comply with the 1998 FIA regulations.
@@ -0,0 +1,31 @@
1
+ ---
2
+ layout: post
3
+ title: Rolls-Royce Silver Ghost
4
+ date: 2016-10-25 19:16:49 +0100
5
+ categories: cars, vintage, sports car
6
+ ---
7
+ _From Wikipedia, the free encyclopedia_
8
+
9
+ The Rolls-Royce Silver Ghost name refers both to a car model and one specific car from that series.
10
+
11
+ Originally named the "40/50 h.p." the chassis was first made at Royce's Manchester works, with production moving to Derby in July 1908, and also, between 1921 and 1926, in Springfield, Massachusetts. Chassis no. 60551, registered AX 201, was the car that was originally given the name "Silver Ghost." Other 40/50 hp cars were also given names, but the Silver Ghost title was taken up by the press, and soon all 40/50s were called by the name, a fact not officially recognised by Rolls-Royce until 1925, when the Phantom range was launched.
12
+
13
+ The Silver Ghost was the origin of Rolls-Royce's claim of making the "Best car in the world" – a phrase coined not by themselves, but by the prestigious publication Autocar in 1907.[citation needed]
14
+
15
+ The chassis and engine were also used as the basis of a range of Rolls-Royce Armoured Cars.
16
+
17
+ ## History
18
+ In 1906, Rolls-Royce produced four chassis to be shown at the Olympia car show, two existing models, a four-cylinder 20 hp and a six-cylinder 30 hp, and two examples of a new car designated the 40/50 hp. The 40/50 hp was so new that the show cars were not fully finished, and examples were not provided to the press for testing until March 1907.[2]
19
+
20
+ The car at first had a new side-valve, six-cylinder, 7036 cc engine (7428 cc from 1910) with the cylinders cast in two units of three cylinders each as opposed to the triple two-cylinder units on the earlier six. A three-speed transmission was fitted at first with four-speed units used from 1913. The seven-bearing crankshaft had full pressure lubrication, and the centre main bearing was made especially large to remove vibration, essentially splitting the engine into two three-cylinder units. Two spark plugs were fitted to each cylinder with, from 1921, a choice of magneto or coil ignition.[3] The earliest cars had used a trembler coil to produce the spark with a magneto as an optional extra which soon became standard - the instruction was to start the engine on the trembler/battery and then switch to magneto. Continuous development allowed power output to be increased from 48 bhp (36 kW) at 1,250 rpm to 80 bhp (60 kW) at 2,250 rpm. Electric lighting became an option in 1914 and was standardised in 1919.[1] Electric starting was fitted from 1919[3] along with electric lights to replace the older ones that used acetylene or oil.
21
+
22
+ Development of the Silver Ghost was suspended during World War I, although the chassis and engine were supplied for use in Rolls-Royce Armoured Cars.
23
+
24
+ The chassis had rigid front and rear axles and leaf springs all round. Early cars only had brakes on the rear wheels operated by a hand lever, with a pedal-operated transmission brake acting on the propeller shaft. The footbrake system moved to drums on the rear axle in 1913. Four-wheel servo-assisted brakes became optional in 1923.[3]
25
+
26
+ Despite these improvements the performance of the Silver Ghost's competitors had improved to the extent that its previous superiority had been eroded by the early 1920s. Sales declined from 742 in 1913 to 430 in 1922. The company decided to launch its replacement which was introduced in 1925 as the New Phantom.[4] After this, older 40/50 models were called Silver Ghosts to avoid confusion.
27
+
28
+ A total of 7874 Silver Ghost cars were produced from 1907 to 1926, including 1701 from the American Springfield factory.[3] Many of them still run today. A fine example is on display at the National Motor Museum, Beaulieu.
29
+
30
+ ## The Alpine Eagles
31
+ A 40/50 was privately entered in the prestigious 1912 Austrian Alpine Trial by James Radley, but its 3-speed gearbox proved inadequate for the ascent of the Katschberg Pass. A factory team of four cars were prepared for the 1913 event with four-speed gearboxes, and engine power increased from 60 to 75 bhp (56 kW) by an increase in compression ratio and larger carburettor. The team gained six awards including the Archduke Leopold Cup. Replicas of the victorious cars were put into production and sold officially as Continental models, but they were called Alpine Eagles by chief test driver (and later Rolls-Royce Managing Director) Ernest Hives, and this is the name that they have kept.
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: home
3
+ title: By Name
4
+ permalink: /name/
5
+ pagination:
6
+ enabled: true
7
+ category: cars
8
+ permalink: /:num/
9
+ sort_field: 'title'
10
+ sort_reverse: false
11
+ ---
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: home
3
+ title: Only Porsche
4
+ permalink: /porsches/
5
+ pagination:
6
+ enabled: true
7
+ category: porsche
8
+ permalink: /:num/
9
+ ---
10
+
@@ -0,0 +1,13 @@
1
+ ---
2
+ # You don't need to edit this file, it's empty on purpose.
3
+ # Edit theme's home layout instead if you wanna make some changes
4
+ # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
5
+ layout: home
6
+ title: Home
7
+ pagination:
8
+ enabled: true
9
+ ---
10
+
11
+ This page lists all posts available and paginates them.
12
+
13
+ Try clicking the category pages at the top of this page.
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: home
3
+ title: Toyota
4
+ pagination:
5
+ enabled: true
6
+ category: sports
7
+ ---
@@ -0,0 +1,28 @@
1
+ source "https://rubygems.org"
2
+ ruby RUBY_VERSION
3
+
4
+ # Hello! This is where you manage which Jekyll version is used to run.
5
+ # When you want to use a different version, change it below, save the
6
+ # file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
7
+ #
8
+ # bundle exec jekyll serve
9
+ #
10
+ # This will help ensure the proper Jekyll version is running.
11
+ # Happy Jekylling!
12
+ gem "jekyll", "3.3.0"
13
+
14
+ # This is the default theme for new Jekyll sites. You may change this to anything you like.
15
+ gem "minima", "~> 2.0"
16
+
17
+ # If you want to use GitHub Pages, remove the "gem "jekyll"" above and
18
+ # uncomment the line below. To upgrade, run `bundle update github-pages`.
19
+ # gem "github-pages", group: :jekyll_plugins
20
+
21
+ source 'https://rubygems.org'
22
+
23
+ group :jekyll_plugins do
24
+ gem "jekyll-paginate-v2"
25
+ gem "jekyll-feed"
26
+ end
27
+
28
+ gem 'wdm', '>= 0.1.0' if Gem.win_platform?
@@ -0,0 +1,60 @@
1
+ # Example 03::Tag pagination
2
+
3
+ This example bookshop website expands on the category example and adds pagination by both category and tags. The site uses the pretty permalink structure. It also demonstrates advanced sorting features such as nested fields.
4
+
5
+ <p align="center">
6
+ <img src="https://raw.githubusercontent.com/sverrirs/jekyll-paginate-v2/master/examples/img/03-example-screenshot-main.png" />
7
+ </p>
8
+
9
+ The site is generated using the jekyll built in new command `jekyll new myblog` and it uses the [default `minima` theme](https://github.com/jekyll/minima).
10
+
11
+ After generating the pagination gem was installed using
12
+ ```
13
+ gem install jekyll-paginate-v2
14
+ ```
15
+
16
+ ## Structure
17
+
18
+ The site has four types of post categories `biography/_posts`, `blog/_posts`, `fantasy/_posts`, `romance/_posts`.
19
+
20
+ All book posts have assigned multiple tags to them.
21
+
22
+ Permalinks are configured to the `pretty` format site-wide. The pagination logic handles this configuration without problems and constructs the correct sub url structure.
23
+
24
+ Pagination pages are:
25
+
26
+ * biography/biograpy.md
27
+ * biography/biograpy-musicians.md
28
+ * romance/romance-historical.md
29
+ * tags/contemporary.md
30
+ * tags/fantasy.md
31
+ * tags/sci-fi.md
32
+ * index.md
33
+ * byisbn.md
34
+
35
+ Most pages are self explanatory and most sort books by the nested attribute `rank`.
36
+
37
+ ### byisbn.md
38
+ Demonstrates how to have multiple pagination pages defined in the root of the site without their pagination pages clashing. Uses permalinks to achieve this.
39
+
40
+ ## Setup Configuration
41
+ The gem is added to the `_config.yml` file under
42
+ ``` yml
43
+ gems:
44
+ - jekyll-paginate-v2
45
+ ```
46
+
47
+ as well as to the `Gemfile` into the main loop
48
+ ``` ruby
49
+ group :jekyll_plugins do
50
+ gem "jekyll-paginate-v2"
51
+ gem "jekyll-feed"
52
+ end
53
+ ```
54
+
55
+ At this point is is advisable to delete the `Gemfile.lock` file to clear out any potential issues with gem caching and dependency issues (no worries this file will be auto generated for you again).
56
+
57
+
58
+ Try building the site yourself using `jekyll build` or `jekyll serve`.
59
+
60
+ Cheers :heart:
@@ -0,0 +1,45 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing these this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+
11
+ # Site settings
12
+ # These are used to personalize your new site. If you look in the HTML files,
13
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14
+ # You can create any custom variable you would like, and they will be accessible
15
+ # in the templates via {{ site.myvariable }}.
16
+ title: Paginate Example - 03 Tags
17
+ email: jekyll@sverrirs.com
18
+ description: > # this means to ignore newlines until "baseurl:"
19
+ Shows how the jekyll-paginate-v2 gem can be used to paginate on tags and categories together.
20
+ baseurl: "" # the subpath of your site, e.g. /blog
21
+ url: "" # the base hostname & protocol for your site, e.g. http://example.com
22
+ github_username: sverrirs
23
+
24
+ # Build settings
25
+ markdown: kramdown
26
+ theme: minima
27
+ gems:
28
+ - jekyll-paginate-v2
29
+ exclude:
30
+ - Gemfile
31
+ - Gemfile.lock
32
+
33
+ # This site uses the pretty permalink structure, this renders all urls with a slash / at the end and
34
+ # no file endings, I guess that is considered pretty :)
35
+ permalink: pretty
36
+
37
+ # Pagination Settings
38
+ pagination:
39
+ enabled: true
40
+ per_page: 3
41
+ permalink: '/book/:num/'
42
+ title_suffix: ' | :num'
43
+ limit: 0
44
+ sort_field: 'date'
45
+ sort_reverse: true