Skip to content

Commit 782c8d5

Browse files
author
delisma
committed
feat: Assets workflow
Create assets folder Create _root folder Create _config_staging.yml
1 parent 25fcde9 commit 782c8d5

292 files changed

Lines changed: 443 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_config_staging.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Site settings
2+
analytics:
3+
adobe:
4+
tracking_id: be5dfd287373/0127575cd23a/launch-913b1beddf7a-staging

_root/feed.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: null
3+
sitemap:
4+
exclude: true
5+
---
6+
<?xml version="1.0" encoding="UTF-8"?>
7+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
8+
<channel>
9+
<title>{{ site.title[ page.lang ] | xml_escape }}</title>
10+
<description>{{ site.description[ page.lang ] | xml_escape }}</description>
11+
<link>{{ site.urlalt[ page.lang ] }}{{ site.baseurl }}/</link>
12+
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.urlalt[ page.lang ] }}" rel="self" type="application/rss+xml"/>
13+
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
14+
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
15+
<generator>Jekyll v{{ jekyll.version }}</generator>
16+
{%- assign posts=site.posts | where:"lang", page.lang -%}
17+
{%- for post in posts limit:10 -%}
18+
<item>
19+
<title>{{ post.title | xml_escape }}</title>
20+
<description>{{ post.description | xml_escape }}</description>
21+
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
22+
<link>{{ post.url | remove_first: '/' | remove_first: page.lang | prepend: site.baseurl | prepend: site.urlalt[ page.lang ] }}</link>
23+
<guid isPermaLink="true">{{ post.url | remove_first: '/' | remove_first: page.lang | prepend: site.baseurl | prepend: site.urlalt[ page.lang ] }}</guid>
24+
{%- for tag in post.tags -%}
25+
<category>{{ tag | xml_escape }}</category>
26+
{%- endfor -%}
27+
{%- for cat in post.categories -%}
28+
<category>{{ cat | xml_escape }}</category>
29+
{%- endfor -%}
30+
</item>
31+
{%- endfor -%}
32+
</channel>
33+
</rss>

_root/google81498e2fb8992272.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
google-site-verification: google81498e2fb8992272.html
2+
<!-- Google Search Console -->

_root/robots.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: null
3+
sitemap:
4+
exclude: true
5+
---
6+
User-agent: *
7+
Disallow: /images/
8+
Allow: /2023/
9+
ALlow: /2022/
10+
Allow: /2021/
11+
Allow: /2020/
12+
Allow: /2019/
13+
Allow: /2018/
14+
Allow: /2017/
15+
Allow: /research-summaries/
16+
Allow: /pages/
17+
Sitemap: {{ site.urlalt[page.lang] }}/sitemap.xml

_root/sitemap.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
layout: null
3+
sitemap:
4+
exclude: true
5+
---
6+
<?xml version="1.0" encoding="UTF-8"?>
7+
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
8+
{%- assign locales = site.data.locales.sitemap -%}
9+
{%- for post in site.posts -%}
10+
{%- if post.lang == page.lang -%}
11+
<url>
12+
<loc>{{ post.url | remove_first: '/' | remove_first: page.lang | prepend: site.urlalt[ page.lang ] }}</loc>
13+
{%- if post.dateModified == null -%}
14+
<dateModified>{{ post.date | date: "%F" }}</dateModified>
15+
{% else %}
16+
<dateModified>{{ post.dateModified | date: "%F" }}</dateModified>
17+
{%- endif -%}
18+
<changefreq>{{ locales.weekly[ post.lang ] }}</changefreq>
19+
<priority>1.0</priority>
20+
</url>
21+
{%- endif -%}
22+
{%- endfor -%}
23+
{%- for single_page in site.pages -%}
24+
{%- if single_page.lang == page.lang -%}
25+
{%- unless single_page.sitemap.exclude -%}
26+
<url>
27+
<loc>{{ single_page.url | remove_first: '/' | remove_first: page.lang | prepend: site.urlalt[ page.lang ] }}</loc>
28+
<dateModified>{{ single_page.dateModified | date: "%F" }}</dateModified>
29+
<changefreq>{{ single_page.sitemap.changefreq }}</changefreq>
30+
<priority>{{ single_page.sitemap.priority }}</priority>
31+
</url>
32+
{%- endunless -%}
33+
{%- endif -%}
34+
{%- endfor -%}
35+
</urlset>
36+
{%- comment -%}
37+
source: http://davidensinger.com/2013/11/building-a-better-sitemap-xml-with-jekyll/
38+
{%- endcomment -%}

assets/css/blog-dto-btn.css

Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,282 @@
1+
.nobreak {
2+
white-space: nowrap;
3+
}
4+
5+
figcaption {
6+
font-size: 17px !important;
7+
line-height: 1.5;
8+
max-width: 80ch;
9+
}
10+
11+
abbr {
12+
text-decoration: none !important;
13+
}
14+
15+
.blogholder {
16+
display: inline-block !important;
17+
position: relative;
18+
width: 52em;
19+
}
20+
21+
.border {
22+
border: 2px solid #ccc;
23+
}
24+
25+
.pquote {
26+
float: right;
27+
width: 500px;
28+
font-size: 30px !important;
29+
line-height: 1.1em;
30+
padding: 25px;
31+
}
32+
33+
blockquote {
34+
margin: 10px;
35+
margin-left: 25px;
36+
}
37+
38+
blockquote p {
39+
color: #3095B5 !important;
40+
}
41+
42+
.quotesig {
43+
font-size: 14px;
44+
}
45+
46+
.pagination {
47+
display: block !important; /* override wet */
48+
text-align: center !important;
49+
}
50+
51+
.pagination a,
52+
span {
53+
padding: 0 0.3em 0 0.3em !important;
54+
}
55+
56+
body {
57+
/* color: #768390; */
58+
background: #fff;
59+
padding: 0;
60+
-webkit-font-smoothing: antialiased;
61+
}
62+
63+
/* fix spacing on paraphs lines */
64+
main {
65+
line-height: 1.65em !important;
66+
}
67+
68+
.gc-drmt p {
69+
margin-top: 13px !important;
70+
line-height: 1.35em !important;
71+
}
72+
73+
/* fix spacing on paraphs lines */
74+
.custli {
75+
padding-top: 5px;
76+
padding-bottom: 5px;
77+
list-style-type: disc;
78+
}
79+
80+
.container-fluid .row {
81+
padding: 0 0 1em 0;
82+
}
83+
84+
.container-fluid .row:nth-child(even) {
85+
background: #ccc;
86+
}
87+
88+
.title-timeline {
89+
/* margin-bottom: 60px; */
90+
padding: 0;
91+
/* border-bottom: 1px solid #ccc; */
92+
}
93+
94+
/* .title-timeline p {
95+
margin: 0 auto;
96+
font-size: 16px;
97+
max-width: 400px;
98+
} */
99+
100+
.drk-line {
101+
border-top: 1px solid #ddd;
102+
}
103+
104+
.timeline-title {
105+
font-size: 20px;
106+
font-weight: 500;
107+
max-width: 400px;
108+
}
109+
110+
.timeline-title-soon {
111+
font-size: 20px;
112+
font-weight: 500;
113+
max-width: 400px;
114+
margin: 0 0 0 1.8em;
115+
}
116+
117+
.timeline {
118+
line-height: 1.4em;
119+
list-style: none;
120+
margin: 0;
121+
padding: 0;
122+
width: 100%;
123+
}
124+
125+
/* timeline block, date/projects */
126+
.timeline-item {
127+
padding-left: 40px;
128+
position: relative;
129+
}
130+
131+
/* timeline year */
132+
.timeline-year {
133+
font-size: 18px;
134+
font-weight: 700;
135+
letter-spacing: 1px;
136+
margin: 0 0 0.5em 0;
137+
text-transform: uppercase;
138+
white-space: nowrap5;
139+
}
140+
141+
.allcaps {
142+
font-size: 14px;
143+
font-weight: 500;
144+
text-transform: uppercase;
145+
}
146+
147+
/* timeline markers */
148+
.timeline-marker:before {
149+
position: absolute;
150+
top: 0;
151+
bottom: 0;
152+
left: 0;
153+
width: 15px;
154+
background: #cccccc;
155+
border: 3px solid transparent;
156+
border-radius: 100%;
157+
content: "";
158+
display: block;
159+
height: 15px;
160+
position: absolute;
161+
top: 4px;
162+
left: 0;
163+
width: 15px;
164+
transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
165+
}
166+
167+
.timeline-marker:after {
168+
position: absolute;
169+
top: 0;
170+
bottom: 0;
171+
left: 0;
172+
width: 15px;
173+
content: "";
174+
width: 3px;
175+
background: #cccccc;
176+
display: block;
177+
position: absolute;
178+
top: 24px;
179+
bottom: 0;
180+
left: 6px;
181+
}
182+
183+
.timeline-item:last-child :after {
184+
content: none;
185+
}
186+
187+
.timeline-item:not(.period):hover .timeline-marker:before {
188+
background: transparent;
189+
border: 3px solid #cccccc;
190+
}
191+
192+
/* timeline content */
193+
.timeline-content {
194+
padding-bottom: 40px;
195+
}
196+
197+
.timeline-content p:last-child {
198+
margin-bottom: 0;
199+
}
200+
201+
.details-custom {
202+
border: none !important;
203+
margin-top: 25px;
204+
}
205+
206+
.borderless {
207+
border: none !important;
208+
padding-top: 15px !important;
209+
}
210+
211+
.bttm-brdr {
212+
border-bottom: 1px solid #ddd !important;
213+
width: 100%;
214+
border-radius: 0px;
215+
padding-left: 3px;
216+
margin-left: -7px;
217+
padding-bottom: 11px;
218+
}
219+
220+
.summary-custom {
221+
border-top: 1px solid #ddd;
222+
margin-top: 10px;
223+
}
224+
225+
/* ::-webkit-details-marker { display:none; } */
226+
227+
/* timeline finessing */
228+
.table-smnum {
229+
padding-top: 13px;
230+
}
231+
232+
.soon {
233+
color: #bbb;
234+
}
235+
236+
.improvement {
237+
font-size: 33px;
238+
color: green;
239+
margin-top: -10px;
240+
font-weight: medium;
241+
}
242+
243+
.table-slim {
244+
margin-left: -5px;
245+
margin-bottom: 0px;
246+
}
247+
248+
.div-slim {
249+
padding-left: 3px !important;
250+
padding-right: 3px !important;
251+
}
252+
253+
.pts {
254+
font-size: 18px !important;
255+
}
256+
257+
/* design system image styling */
258+
.pattern-demo {
259+
padding: 18px;
260+
border: 1px solid #e3e3e3;
261+
box-shadow: 0px 0px 10px #ddd;
262+
}
263+
264+
.pattern-demo.no-pddng {
265+
padding: 0px !important;
266+
}
267+
268+
@media only screen and (min-width: 992px) {
269+
.blog-list {
270+
margin-top: 1.8em;
271+
}
272+
273+
.blog-photo {
274+
margin-top: 2.2em;
275+
}
276+
}
277+
278+
@media only screen and (max-width: 992px) {
279+
.blog-photo {
280+
margin-top: 3em !important;
281+
}
282+
}

0 commit comments

Comments
 (0)