Skip to content

Commit 6988863

Browse files
authored
Merge pull request #3 from UncommonModels/dev
Add Purchase Links
2 parents a9b1aff + e9cd85d commit 6988863

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ <h1 class="display-5 fw-bold text-center">{{page.title}}</h1>
1414
<br>
1515
<div class="col-lg-6 mx-auto">
1616
{{page.content | markdownify}}
17-
{% if page.external_link != "" and page.external_link != null %}
17+
{% if page.purchase_link != "" and page.purchase_link != null %}
1818
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
19-
<a href="{{page.external_link}}" class="btn btn-primary">Learn More</a>
19+
<a href="{{page.purchase_link}}" class="btn btn-primary">Purchase</a>
2020
</div>
2121
{%endif%}
2222
</div>

_posts/2023-08-01-lighthouse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ title: "Wings Neck Lighthouse"
33
layout: post
44
description: ''
55
image: /assets/img/lighthouse.jpg
6+
purchase_link: https://www.shapeways.com/product/QPKRKSJ3H/wings-neck-lighthouse?optionId=335079857&li=shops
67
---
78
The Wings Neck lighthouse is located on Cape Cod in Massachusetts and stands near the southernmost entrance of the Cape Cod Canal. This model was recreated in N scale using photographs and US Coast Guard blueprints in the public domain. The model includes space for lighting the tower with a 1/4" LED.

_posts/2023-09-01-rrrr_freight_station.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ layout: post
44
description: ''
55
image: /assets/img/rrrr_freight_station.jpg
66
---
7-
The Raritan River Railroad was a short line that ran from South Amboy, NJ to New Brunswick, NJ. The line was founded in 1888 and eventuially was absorbed into Conrail in 1980. The line provided passenger service until 1938 and continues to service freight customers to the present day. Currently, only one original structure on the line survives: the Raritan River Railroad Freight Station in Milltown, NJ. The station originally served as the town's passenger station before being moved to its current locationa and repurposed as a freight depot. This model represents that station in it's current freight configuration, with wider doors on the track and road sides. To purchase a model in either HO scale or N Scale, please contact the Raritan River Railroad Historical Society. All proceeds go towards the moving of the station across the street so it can be restored and preserved as a museum and community meeting center.
7+
The Raritan River Railroad was a short line that ran from South Amboy, NJ to New Brunswick, NJ. The line was founded in 1888 and eventually was absorbed into Conrail in 1980. The line provided passenger service until 1938 and continues to service freight customers to the present day. Currently, only one original structure on the line survives: the Raritan River Railroad Freight Station in Milltown, NJ. The station originally served as the town's passenger station before being moved to its current location and repurposed as a freight depot. This model represents that station in it's current freight configuration, with wider doors on the track and road sides. To purchase a model in either HO scale or N Scale, please contact the Raritan River Railroad Historical Society. All proceeds go towards the moving of the station across the street so it can be restored and preserved as a museum and community meeting center.

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ <h3 class="py-4"><a class="email" href="mailto:sales@uncommonmodels.com">sales@u
2323
<h5 class="card-title pb-3" style="min-height: 5vh;">{{post.title}}</h5>
2424
<!-- <p class="card-text">{{post.description}}</p> -->
2525
<div class="d-flex justify-content-center"><a href="{{post.url}}"
26-
class="btn btn-primary">Learn More</a></div>
26+
class="btn btn-primary mx-2">Learn More</a>{% if post.purchase_link != "" and post.purchase_link != null %}
27+
<a href="{{post.purchase_link}}" class="btn btn-primary mx-2">Purchase</a>
28+
{%endif%}</div>
2729
</div>
2830
</div>
2931
</div>

0 commit comments

Comments
 (0)