Skip to content

Commit

Permalink
page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
RCmags committed Mar 19, 2023
1 parent 5f5c8d2 commit 0a979bc
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I"2{"source"=>"/home/bobby/Documents/websites/site", "destination"=>"/home/bobby/Documents/websites/site/_site", "collections_dir"=>"collections", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}, "projects"=>{"output"=>true}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-seo-tag"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num/", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false, "syntax_highlighter"=>"rouge", "syntax_highlighter_opts"=>{:default_lang=>"plaintext", :guess_lang=>true}, "coderay"=>{}}, "title"=>"Unusual Vehicles", "author"=>"Raul G.", "email"=>"memoryofatrufestival@gmail.com", "description"=>"Personal blog about model aircraft and small robots\n", "paginate"=>8, "github_username"=>"RCmags", "youtube_username"=>"XXXmags", "youtube_username_display"=>"RCmags", "show_excerpts"=>false, "minima"=>{"date_format"=>"%-d %b %Y"}, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET
I"2{"source"=>"/home/bobby/Documents/websites/site", "destination"=>"/home/bobby/Documents/websites/site/_site", "collections_dir"=>"collections", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}, "projects"=>{"output"=>true}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-seo-tag"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num/", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false, "syntax_highlighter"=>"rouge", "syntax_highlighter_opts"=>{:default_lang=>"plaintext", :guess_lang=>true}, "coderay"=>{}}, "title"=>"Unusual Vehicles", "author"=>"Raul G.", "email"=>"memoryofatrufestival@gmail.com", "description"=>"Personal blog about model aircraft and small robots\n", "paginate"=>6, "github_username"=>"RCmags", "youtube_username"=>"XXXmags", "youtube_username_display"=>"RCmags", "show_excerpts"=>false, "minima"=>{"date_format"=>"%-d %b %Y"}, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: > # this means to ignore newlines until "twitter_username:"
plugins:
- jekyll-paginate

paginate: 8
paginate: 6
paginate_path: "/page:num/"

# collections
Expand Down
14 changes: 14 additions & 0 deletions _sass/pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,17 @@
border-right: none;
}
}

// Other options
.pagination_options {
display: flex;
flex-direction: row;
justify-content: center;

h3 {
text-align: center;
color: gray;
margin-left: 10px;
margin-right: 10px;
}
}
14 changes: 2 additions & 12 deletions _sass/projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,13 @@
#container_in {
flex-direction: column;
}

#container_out {
width: 100%;
}

#container_title {
display: flex;
flex-direction: row;
justify-content: space-between;
}


span {
width: auto;
text-align: left;
}

h2 {
h3 {
margin-bottom: 0px;
}
}
2 changes: 1 addition & 1 deletion blog.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
layout: page
title: Blog
---

Expand Down
12 changes: 9 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ <h1 style="text-align: center;" class="post-title"> Post history </h1>

{% include pagination.html %}

<a href="{{ site.baseurl }}/search.html">
<h3 style="text-align: center; color: gray;"> &#128269; Search </h3>
</a>
<nav class="pagination_options">
<a href="{{ site.baseurl }}/search.html">
<h3> &#128269; Search </h3>
</a>

<a href="{{ site.baseurl }}/posts.html">
<h3> &#9776; Raw list </h3>
</a>
<nav>
2 changes: 1 addition & 1 deletion posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
---

<h1 style="text-align: center;" class="post-title"> Posts </h1>
<h1 style="text-align: center;" class="post-title"> Post history </h1>

<div class="archive-group">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
Expand Down
4 changes: 2 additions & 2 deletions projects.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
layout: page
title: Projects
---

Expand All @@ -11,7 +11,7 @@
<div id="container_in">
<div id="container_title">
<a href="{{ post.url | relative_url }}">
<h2>{{ post.title | escape }}</h2>
<h3>{{ post.title | escape }}</h3>
</a>
</div>
{% if post.description %}
Expand Down

0 comments on commit 0a979bc

Please sign in to comment.