Skip to content

Commit ef4e651

Browse files
Added GitHub Action to auto deploy the site codecompletionio/codecompletion.io@a2d71e6
1 parent 8c1b287 commit ef4e651

File tree

12 files changed

+178
-2
lines changed

12 files changed

+178
-2
lines changed

.nojekyll

Whitespace-only changes.

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
codecompletion.io
1+
codecompletion.io

README.md

Whitespace-only changes.

feed.rss

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content"><channel><title>CodeCompletion.io</title><description>A description of CodeCompletion.io</description><link>https://codecompletion.io</link><language>en</language><lastBuildDate>Sat, 1 Aug 2020 22:36:28 +0000</lastBuildDate><pubDate>Sat, 1 Aug 2020 22:36:28 +0000</pubDate><ttl>250</ttl><atom:link href="https://codecompletion.io/feed.rss" rel="self" type="application/rss+xml"/><item><guid isPermaLink="true">https://codecompletion.io/posts/first-post</guid><title>My first post</title><description>A description of my first post.</description><link>https://codecompletion.io/posts/first-post</link><pubDate>Sat, 1 Aug 2020 14:28:00 +0000</pubDate><content:encoded><![CDATA[<h1>My first post</h1><p>My first post's text.</p>]]></content:encoded></item></channel></rss>

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<html><body>Hello, world!</body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="CodeCompletion.io"/><link rel="canonical" href="https://codecompletion.io"/><meta name="twitter:url" content="https://codecompletion.io"/><meta name="og:url" content="https://codecompletion.io"/><title>Welcome to CodeCompletion.io! | CodeCompletion.io</title><meta name="twitter:title" content="Welcome to CodeCompletion.io! | CodeCompletion.io"/><meta name="og:title" content="Welcome to CodeCompletion.io! | CodeCompletion.io"/><meta name="description" content="A description of CodeCompletion.io"/><meta name="twitter:description" content="A description of CodeCompletion.io"/><meta name="og:description" content="A description of CodeCompletion.io"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to CodeCompletion.io"/></head><body><header><div class="wrapper"><a class="site-name" href="/">CodeCompletion.io</a></div></header><div class="wrapper"><h1>Welcome to CodeCompletion.io!</h1><p class="description">A description of CodeCompletion.io</p><h2>Latest content</h2><ul class="item-list"><li><article><h1><a href="/posts/first-post">My first post</a></h1><ul class="tag-list"><li><a href="/tags/first">first</a></li><li><a href="/tags/article">article</a></li></ul><p>A description of my first post.</p></article></li></ul></div><footer><p>Generated using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html>

posts/first-post/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="CodeCompletion.io"/><link rel="canonical" href="https://codecompletion.io/posts/first-post"/><meta name="twitter:url" content="https://codecompletion.io/posts/first-post"/><meta name="og:url" content="https://codecompletion.io/posts/first-post"/><title>My first post | CodeCompletion.io</title><meta name="twitter:title" content="My first post | CodeCompletion.io"/><meta name="og:title" content="My first post | CodeCompletion.io"/><meta name="description" content="A description of my first post."/><meta name="twitter:description" content="A description of my first post."/><meta name="og:description" content="A description of my first post."/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to CodeCompletion.io"/></head><body class="item-page"><header><div class="wrapper"><a class="site-name" href="/">CodeCompletion.io</a></div></header><div class="wrapper"><article><div class="content"><h1>My first post</h1><p>My first post's text.</p></div><span>Tagged with: </span><ul class="tag-list"><li><a href="/tags/first">first</a></li><li><a href="/tags/article">article</a></li></ul></article></div><footer><p>Generated using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html>

posts/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="CodeCompletion.io"/><link rel="canonical" href="https://codecompletion.io/posts"/><meta name="twitter:url" content="https://codecompletion.io/posts"/><meta name="og:url" content="https://codecompletion.io/posts"/><title>My posts | CodeCompletion.io</title><meta name="twitter:title" content="My posts | CodeCompletion.io"/><meta name="og:title" content="My posts | CodeCompletion.io"/><meta name="description" content="A description of CodeCompletion.io"/><meta name="twitter:description" content="A description of CodeCompletion.io"/><meta name="og:description" content="A description of CodeCompletion.io"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to CodeCompletion.io"/></head><body><header><div class="wrapper"><a class="site-name" href="/">CodeCompletion.io</a></div></header><div class="wrapper"><h1>My posts</h1><ul class="item-list"><li><article><h1><a href="/posts/first-post">My first post</a></h1><ul class="tag-list"><li><a href="/tags/first">first</a></li><li><a href="/tags/article">article</a></li></ul><p>A description of my first post.</p></article></li></ul></div><footer><p>Generated using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html>

sitemap.xml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"><url><loc>https://codecompletion.io/posts</loc><changefreq>daily</changefreq><priority>1.0</priority><lastmod>2020-08-01</lastmod></url><url><loc>https://codecompletion.io/posts/first-post</loc><changefreq>monthly</changefreq><priority>0.5</priority><lastmod>2020-08-01</lastmod></url></urlset>

styles.css

+169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
/**
2+
* Publish Foundation theme
3+
* Copyright (c) John Sundell 2019
4+
* MIT license, see LICENSE file for details
5+
*/
6+
7+
* {
8+
margin: 0;
9+
padding: 0;
10+
box-sizing: border-box;
11+
}
12+
13+
body {
14+
background: #fff;
15+
color: #000;
16+
font-family: Helvetica, Arial;
17+
text-align: center;
18+
}
19+
20+
.wrapper {
21+
max-width: 900px;
22+
margin-left: auto;
23+
margin-right: auto;
24+
padding: 40px;
25+
text-align: left;
26+
}
27+
28+
header {
29+
background-color: #eee;
30+
}
31+
32+
header .wrapper {
33+
padding-top: 30px;
34+
padding-bottom: 30px;
35+
text-align: center;
36+
}
37+
38+
header a {
39+
text-decoration: none;
40+
}
41+
42+
header .site-name {
43+
font-size: 1.5em;
44+
color: #000;
45+
font-weight: bold;
46+
}
47+
48+
nav {
49+
margin-top: 20px;
50+
}
51+
52+
nav li {
53+
display: inline-block;
54+
margin: 0 7px;
55+
line-height: 1.5em;
56+
}
57+
58+
nav li a.selected {
59+
text-decoration: underline;
60+
}
61+
62+
h1 {
63+
margin-bottom: 20px;
64+
font-size: 2em;
65+
}
66+
67+
h2 {
68+
margin: 20px 0;
69+
}
70+
71+
p {
72+
margin-bottom: 10px;
73+
}
74+
75+
a {
76+
color: inherit;
77+
}
78+
79+
.description {
80+
margin-bottom: 40px;
81+
}
82+
83+
.item-list > li {
84+
display: block;
85+
padding: 20px;
86+
border-radius: 20px;
87+
background-color: #eee;
88+
margin-bottom: 20px;
89+
}
90+
91+
.item-list > li:last-child {
92+
margin-bottom: 0;
93+
}
94+
95+
.item-list h1 {
96+
margin-bottom: 15px;
97+
font-size: 1.3em;
98+
}
99+
100+
.item-list p {
101+
margin-bottom: 0;
102+
}
103+
104+
.tag-list {
105+
margin-bottom: 15px;
106+
}
107+
108+
.tag-list li,
109+
.tag {
110+
display: inline-block;
111+
background-color: #000;
112+
color: #ddd;
113+
padding: 4px 6px;
114+
border-radius: 5px;
115+
margin-right: 5px;
116+
}
117+
118+
.tag-list a,
119+
.tag a {
120+
text-decoration: none;
121+
}
122+
123+
.item-page .tag-list {
124+
display: inline-block;
125+
}
126+
127+
.content {
128+
margin-bottom: 40px;
129+
}
130+
131+
.browse-all {
132+
display: block;
133+
margin-bottom: 30px;
134+
}
135+
136+
.all-tags li {
137+
font-size: 1.4em;
138+
margin-right: 10px;
139+
padding: 6px 10px;
140+
}
141+
142+
footer {
143+
color: #8a8a8a;
144+
}
145+
146+
@media (prefers-color-scheme: dark) {
147+
body {
148+
background-color: #222;
149+
}
150+
151+
body,
152+
header .site-name {
153+
color: #ddd;
154+
}
155+
156+
.item-list > li {
157+
background-color: #333;
158+
}
159+
160+
header {
161+
background-color: #000;
162+
}
163+
}
164+
165+
@media(max-width: 600px) {
166+
.wrapper {
167+
padding: 40px 20px;
168+
}
169+
}

tags/article/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="CodeCompletion.io"/><link rel="canonical" href="https://codecompletion.io/tags/article"/><meta name="twitter:url" content="https://codecompletion.io/tags/article"/><meta name="og:url" content="https://codecompletion.io/tags/article"/><title>CodeCompletion.io</title><meta name="twitter:title" content="CodeCompletion.io"/><meta name="og:title" content="CodeCompletion.io"/><meta name="description" content="A description of CodeCompletion.io"/><meta name="twitter:description" content="A description of CodeCompletion.io"/><meta name="og:description" content="A description of CodeCompletion.io"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to CodeCompletion.io"/></head><body><header><div class="wrapper"><a class="site-name" href="/">CodeCompletion.io</a></div></header><div class="wrapper"><h1>Tagged with <span class="tag">article</span></h1><a class="browse-all" href="/tags">Browse all tags</a><ul class="item-list"><li><article><h1><a href="/posts/first-post">My first post</a></h1><ul class="tag-list"><li><a href="/tags/first">first</a></li><li><a href="/tags/article">article</a></li></ul><p>A description of my first post.</p></article></li></ul></div><footer><p>Generated using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html>

tags/first/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="CodeCompletion.io"/><link rel="canonical" href="https://codecompletion.io/tags/first"/><meta name="twitter:url" content="https://codecompletion.io/tags/first"/><meta name="og:url" content="https://codecompletion.io/tags/first"/><title>CodeCompletion.io</title><meta name="twitter:title" content="CodeCompletion.io"/><meta name="og:title" content="CodeCompletion.io"/><meta name="description" content="A description of CodeCompletion.io"/><meta name="twitter:description" content="A description of CodeCompletion.io"/><meta name="og:description" content="A description of CodeCompletion.io"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to CodeCompletion.io"/></head><body><header><div class="wrapper"><a class="site-name" href="/">CodeCompletion.io</a></div></header><div class="wrapper"><h1>Tagged with <span class="tag">first</span></h1><a class="browse-all" href="/tags">Browse all tags</a><ul class="item-list"><li><article><h1><a href="/posts/first-post">My first post</a></h1><ul class="tag-list"><li><a href="/tags/first">first</a></li><li><a href="/tags/article">article</a></li></ul><p>A description of my first post.</p></article></li></ul></div><footer><p>Generated using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html>

tags/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="og:site_name" content="CodeCompletion.io"/><link rel="canonical" href="https://codecompletion.io/tags"/><meta name="twitter:url" content="https://codecompletion.io/tags"/><meta name="og:url" content="https://codecompletion.io/tags"/><title>CodeCompletion.io</title><meta name="twitter:title" content="CodeCompletion.io"/><meta name="og:title" content="CodeCompletion.io"/><meta name="description" content="A description of CodeCompletion.io"/><meta name="twitter:description" content="A description of CodeCompletion.io"/><meta name="og:description" content="A description of CodeCompletion.io"/><meta name="twitter:card" content="summary"/><link rel="stylesheet" href="/styles.css" type="text/css"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="shortcut icon" href="/images/favicon.png" type="image/png"/><link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to CodeCompletion.io"/></head><body><header><div class="wrapper"><a class="site-name" href="/">CodeCompletion.io</a></div></header><div class="wrapper"><h1>Browse all tags</h1><ul class="all-tags"><li class="tag"><a href="/tags/article">article</a></li><li class="tag"><a href="/tags/first">first</a></li></ul></div><footer><p>Generated using <a href="https://github.com/johnsundell/publish">Publish</a></p><p><a href="/feed.rss">RSS feed</a></p></footer></body></html>

0 commit comments

Comments
 (0)