-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from SwedbankPay/feature/jekyll-plantuml-1.3.8
Various post-upgrade adjustments
- Loading branch information
Showing
13 changed files
with
277 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,7 @@ on: | |
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
name: Deploy | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% assign design_guide_url = include.design_guide_url %} | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | ||
<meta name="apple-mobile-web-app-title" content="{{ page.title }}"> | ||
{% include apple-touch-icons.md design_guide_url=design_guide_url -%} | ||
{% include apple-touch-startup-images.md design_guide_url=design_guide_url -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{%- assign stripped_size = include.size | strip -%} | ||
{%- assign size_string = stripped_size | append: 'x' | append: stripped_size -%} | ||
{%- assign design_guide_url = include.design_guide_url -%} | ||
<link rel="apple-touch-icon" sizes="{{ size_string }}" href="{{ design_guide_url }}/icons/apple-touch-icon-{{ size_string }}.png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% comment -%} | ||
TODO: Figure out how to use front matter with proper arrays instead of split | ||
strings. | ||
{%- endcomment -%} | ||
{% assign design_guide_url = include.design_guide_url %} | ||
{%- assign sizes = "57, 60, 72, 76, 114, 120, 144, 152, 167, 180, 1024" | split: ',' -%} | ||
{%- for size in sizes -%} | ||
{%- include apple-touch-icon.html size=size design_guide_url=design_guide_url -%} | ||
{%- endfor -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{%- assign device_width = include.width | strip | append: 'px' -%} | ||
{%- assign device_height = include.height | strip | append: 'px' -%} | ||
{%- assign image_size = include.size | strip -%} | ||
{%- assign device_orientation = include.orientation | default: nil | strip -%} | ||
{%- assign device_pixel_ratio = include.pixel_ratio | strip -%} | ||
{%- assign design_guide_url = include.design_guide_url -%} | ||
{%- capture device_width_string -%} | ||
(device-width: {{ device_width }}) | ||
{%- endcapture -%} | ||
{%- capture device_height_string -%} | ||
(device-height: {{ device_height }}) | ||
{%- endcapture -%} | ||
{%- if device_orientation != nil && device_orientation != empty -%} | ||
{%- capture device_orientation_string -%} | ||
(orientation: {{ device_orientation }}) and | ||
{%- endcapture -%} | ||
{%- endif -%} | ||
{%- capture pixel_ratio_string -%} | ||
(-webkit-device-pixel-ratio: {{ device_pixel_ratio }}) | ||
{%- endcapture -%} | ||
<link rel="apple-touch-startup-image" | ||
media="{{ device_width_string }} and {{ device_height_string }} and {{ device_orientation_string }} {{ pixel_ratio_string }}" | ||
href="{{ design_guide_url }}/icons/apple-touch-startup-image-{{- image_size -}}.png"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{%- assign design_guide_url = include.design_guide_url -%} | ||
{%- capture startup_image_configs -%} | ||
320,480,1,320x460 | ||
320,480,2,640x920 | ||
320,568,2,640x1096 | ||
375,667,2,750x1294 | ||
414,736,3,1182x2208,landscape | ||
414,736,3,1242x2148,portrait | ||
768,1024,1,748x1024,landscape | ||
768,1024,1,768x1004,portrait | ||
768,1024,2,1496x2048,landscape | ||
768,1024,2,1536x2008,portrait | ||
{%- endcapture -%} | ||
{%- assign startup_image_configs = startup_image_configs | newline_to_br | split: '<br />' -%} | ||
{%- for startup_image_config in startup_image_configs -%} | ||
{%- assign values = startup_image_config | split: ',' -%} | ||
{%- assign width = values[0] -%} | ||
{%- assign height = values[1] -%} | ||
{%- assign pixel_ratio = values[2] -%} | ||
{%- assign size = values[3] -%} | ||
{%- if values.size > 3 -%} | ||
{% assign orientation = values[4] -%} | ||
{%- endif -%} | ||
{%- include apple-touch-startup-image.html | ||
width=width | ||
height=height | ||
pixel_ratio=pixel_ratio | ||
size=size | ||
orientation=orientation | ||
design_guide_url=design_guide_url -%} | ||
{%- endfor -%} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters