feat: improve about section, other work

This commit is contained in:
Joshua Seigler 2017-02-12 17:37:36 -05:00
parent a5a06c1028
commit b0658a3ad4
12 changed files with 43 additions and 24 deletions

View file

@ -11,4 +11,4 @@ theme = "eos"
weight = -1
[[menu.main]]
name = "Posts"
url = "/posts"
url = "/posts/"

View file

@ -7,13 +7,13 @@ menu: "main"
Hi, I'm Joshua Seigler. I'm a:
## Web developer
I like to make websites. Since 2013 I work at XPO Logistics. Front-end web technology like CSS and SVG comes most easily, but I'm also learning to solve problems with Javascript, JS libraries, and C Sharp. See some of my personal projects on GitHub.
I like to make websites. Since 2013 I work at XPO Logistics. Front-end web technology like CSS and SVG comes most easily, but I'm also learning to solve problems with Javascript, JS libraries, and C Sharp. See some of [my personal projects on GitHub](https://github.com/seigler).
## Cryptocurrency enthusiast
Bitcoin, and Dash, and other blockchain applications are just starting to change the world. Sound money is key to personal liberty.
[Bitcoin](https://www.bitcoin.com/), [Dash](https://www.dash.org/), and other blockchain applications are just starting to change the world. Sound money is key to personal liberty.
## Boardgamer
I play a lot of boardgames. You can see my game collection if you like. My favorite games tend towards low-chance high-strategy, with indirect competition and interesting choices.
I play a lot of boardgames. You can [see my game collection](https://www.boardgamegeek.com/collection/user/kuqumi?geekranks=Board+Game+Rank&excludesubtype=boardgameexpansion&objecttype=thing&gallery=large&columns=title|status|version|rating|bggrating|plays|comment|commands&own=1&ff=1&subtype=boardgame&sort=rating&sortdir=desc) if you like. My favorite games tend towards low-chance high-strategy, with indirect competition and interesting choices.
## Artist
I make ink sketches sometimes, for fun and to improve my skill.

View file

@ -9,7 +9,7 @@
<link rel="stylesheet" href="/css/bundle.css">
</head>
<body>
<body class="{{ .Section | default .Title | urlize }}">
<div class="wrapper">
{{ partial "header" . }}
<main>

View file

@ -1,10 +1,10 @@
{{ define "main" }}
<h1>Posts</h1>
{{ range .Data.Pages }}
<article>
<h2>{{ .Title }}</h2>
{{ .Summary }}
{{ .More }}
</article>
{{ end }}
<h1>{{ .Title }}</h1>
<ul class="post-list">
{{ range .Data.Pages }}
<li>
<a href="{{ .URL }}"><span class="title">{{ .Title }}</span> - <span class="summary">{{ .Summary }}</span></a>
</li>
{{ end }}
</ul>
{{ end }}

View file

@ -1,6 +1,6 @@
{{ define "main" }}
<article>
<h2>{{ .Title }}</h2>
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
{{ end }}

View file

@ -1,5 +1,7 @@
{{ define "main" }}
<h2>Posts</h2>
<h1>Welcome!</h1>
<h2>Recent posts:</h2>
<section class="posts">
{{ range where .Data.Pages "Section" "posts" }}
<a href="{{ .URL }}">{{ .Title }}</a>

View file

@ -41,10 +41,7 @@ h4 {
margin-bottom: -0.1em;
margin-top: 1em;
}
h1 {
text-align: center;
}
h3 {
h2 {
border-bottom: none;
margin-bottom: 0;
}
@ -137,5 +134,15 @@ main {
-ms-flex-positive: 1;
flex-grow: 1;
}
.post-list a {
display: block;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.post-list .title {
text-decoration: underline;
}
/*# sourceMappingURL=bundle.css.map */

File diff suppressed because one or more lines are too long

View file

@ -36,10 +36,7 @@ h1, h2, h3, h4 {
margin-bottom: -0.1em;
margin-top: 1em;
}
h1 {
text-align: center;
}
h3 {
h2 {
border-bottom: none;
margin-bottom: 0;
}

View file

@ -1,2 +1,3 @@
@import 'basics';
@import 'layout';
@import 'modules/post-list';

View file

@ -0,0 +1,12 @@
.post-list {
a {
display: block;
text-decoration: none;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.title {
text-decoration: underline;
}
}