Skip to content

Commit

Permalink
repo migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtmiller committed Jun 17, 2020
1 parent 6f6767b commit 93f713c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
Binary file modified .DS_Store
Binary file not shown.
10 changes: 5 additions & 5 deletions _layouts/overview-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

{% if page.migrated %}
<!-- For themes/templates that have been migrated to github.com/StartBootstrap -->
<a target="_blank" href="https://github.com/StartBootstrap/{{ page.slug }}/archive/master.zip" class="btn btn-block btn-primary mb-3 py-3" onclick="ga('send','event','Download','click','{{ page.title }}')">
<a target="_blank" href="https://github.com/StartBootstrap/startbootstrap-{{ page.slug }}/archive/gh-pages.zip" class="btn btn-block btn-primary mb-3 py-3" onclick="ga('send','event','Download','click','{{ page.title }}')">
<i class="fal fa-download fa-fw"></i> <span>Free Download</span>
</a>
{% else %}
Expand All @@ -45,7 +45,7 @@

{% if page.migrated %}
<!-- For themes/templates that have been migrated to github.com/StartBootstrap -->
<a target="_blank" href="https://github.com/StartBootstrap/{{ page.slug }}" class="btn btn-block btn-outline-github"><i class="fab fa-github fa-fw"></i> View on GitHub</a>
<a target="_blank" href="https://github.com/StartBootstrap/startbootstrap-{{ page.slug }}" class="btn btn-block btn-outline-github"><i class="fab fa-github fa-fw"></i> View on GitHub</a>
{% else %}
<a target="_blank" href="https://github.com/BlackrockDigital/startbootstrap-{{ page.slug }}" class="btn btn-block btn-outline-github"><i class="fab fa-github fa-fw"></i> View on GitHub</a>
{% endif %}
Expand Down Expand Up @@ -104,7 +104,7 @@ <h5 class="m-0">Features</h5>

{% if page.migrated %}
<!-- For themes/templates that have been migrated to github.com/StartBootstrap -->
<a target="_blank" href="https://github.com/StartBootstrap/{{ page.slug }}/archive/master.zip" class="btn btn-block btn-primary mb-3 py-3" onclick="ga('send','event','Download','click','{{ page.title }}')">
<a target="_blank" href="https://github.com/StartBootstrap/startbootstrap-{{ page.slug }}/archive/gh-pages.zip" class="btn btn-block btn-primary mb-3 py-3" onclick="ga('send','event','Download','click','{{ page.title }}')">
<i class="fal fa-download fa-fw"></i> <span>Free Download</span>
</a>
{% else %}
Expand All @@ -129,7 +129,7 @@ <h5 class="m-0">Features</h5>

{% if page.migrated %}
<!-- For themes/templates that have been migrated to github.com/StartBootstrap -->
<a target="_blank" href="https://github.com/StartBootstrap/{{ page.slug }}" class="btn btn-block btn-outline-github"><i class="fab fa-github fa-fw"></i> View on GitHub</a>
<a target="_blank" href="https://github.com/StartBootstrap/startbootstrap-{{ page.slug }}" class="btn btn-block btn-outline-github"><i class="fab fa-github fa-fw"></i> View on GitHub</a>
{% else %}
<a target="_blank" href="https://github.com/BlackrockDigital/startbootstrap-{{ page.slug }}" class="btn btn-block btn-outline-github"><i class="fab fa-github fa-fw"></i> View on GitHub</a>
{% endif %}
Expand All @@ -150,7 +150,7 @@ <h5 class="m-0">Features</h5>
<span class="font-weight-bold">License</span>

{% if page.migrated %}
<span><i class="fal fa-balance-scale"></i> <a class="font-weight-bold" href="https://github.com/StartBootstrap/{{page.slug}}/blob/master/LICENSE">MIT License</a></span>
<span><i class="fal fa-balance-scale"></i> <a class="font-weight-bold" href="https://github.com/StartBootstrap/startbootstrap-{{page.slug}}/blob/master/LICENSE">MIT License</a></span>
{% else %}
<span><i class="fal fa-balance-scale"></i> <a class="font-weight-bold" href="https://github.com/BlackrockDigital/startbootstrap-{{page.slug}}/blob/master/LICENSE">MIT License</a></span>
{% endif %}
Expand Down
8 changes: 6 additions & 2 deletions _layouts/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<i class="fab fa-github text-github small"></i>

{% if page.migrated %}
<a class="small" href="https://github.com/StartBootstrap/{{ page.slug }}">View on GitHub</a>
<a class="small" href="https://github.com/StartBootstrap/startbootstrap-{{ page.slug }}">View on GitHub</a>
{% else %}
<a class="small" href="https://github.com/BlackrockDigital/startbootstrap-{{ page.slug }}">View on GitHub</a>
{% endif %}
Expand Down Expand Up @@ -42,13 +42,15 @@
{% endif %}

{% if page.migrated %}
<a href="https://github.com/StartBootstrap/{{ page.slug }}/archive/master.zip" class="btn btn-primary btn-sm mr-2" onclick="ga('send','event','Download','click','{{ page.title }}')">Free Download</a>
<a href="https://github.com/StartBootstrap/startbootstrap-{{ page.slug }}/archive/gh-pages.zip" class="btn btn-primary btn-sm mr-2" onclick="ga('send','event','Download','click','{{ page.title }}')">Free Download</a>
{% else %}
<a href="https://github.com/BlackrockDigital/startbootstrap-{{ page.slug }}/archive/gh-pages.zip" class="btn btn-primary btn-sm mr-2" onclick="ga('send','event','Download','click','{{ page.title }}')">Free Download</a>
{% endif %}

{% if page.custom-preview-link %}
<a href="{{ page.custom-preview-link }}/" class="btn btn-link btn-sm d-none d-md-inline-block"><i class="fal fa-times mr-1"></i> Remove Frame</a>
{% elsif page.migrated %}
<a href="https://startbootstrap.github.io/startbootstrap-{{ page.slug }}/" class="btn btn-link btn-sm d-none d-md-inline-block"><i class="fal fa-times mr-1"></i> Remove Frame</a>
{% else %}
<a href="https://blackrockdigital.github.io/startbootstrap-{{ page.slug }}/" class="btn btn-link btn-sm d-none d-md-inline-block"><i class="fal fa-times mr-1"></i> Remove Frame</a>
{% endif %}
Expand All @@ -59,6 +61,8 @@

{% if page.custom-preview-link %}
<iframe class="iframe-preview" width="100%" src="{{ page.custom-preview-link }}/"></iframe>
{% elsif page.migrated %}
<iframe class="iframe-preview" width="100%" src="https://startbootstrap.github.io/startbootstrap-{{ page.slug }}/"></iframe>
{% else %}
<iframe class="iframe-preview" width="100%" src="https://blackrockdigital.github.io/startbootstrap-{{ page.slug }}/"></iframe>
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions _previews/template-full-width-pics.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ src: /templates/full-width-pics
layout: preview
type: template
meta-title: Full Width Pics - Template Preview
migrated: true
---
2 changes: 2 additions & 0 deletions _templates/2013-09-23-full-width-pics.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ version: 4.2.1
bootstrap: 4.3.1
updated: 2019-06-14

migrated: true

meta-title: "Full Width Pics - Free Bootstrap Template"
meta-description: "A Bootstrap 4 template featuring full page width image backgrounds. All Start Bootstrap templates are free to download and open source."

Expand Down
Binary file modified assets/.DS_Store
Binary file not shown.

0 comments on commit 93f713c

Please sign in to comment.