Skip to content

Commit

Permalink
replace jekyll by bridgetown
Browse files Browse the repository at this point in the history
  • Loading branch information
fagnerpereira committed Oct 5, 2024
1 parent edda276 commit 62f3a3f
Show file tree
Hide file tree
Showing 2,652 changed files with 151,078 additions and 2,028 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"I {"root_dir"=>"/home/fpr/personal/blog", "plugins_dir"=>"plugins", "source"=>"/home/fpr/personal/blog/src", "destination"=>"/home/fpr/personal/blog/output", "collections_dir"=>"", "cache_dir"=>".bridgetown-cache", "layouts_dir"=>"_layouts", "components_dir"=>"_components", "islands_dir"=>"_islands", "partials_dir"=>"_partials", "collections"=>{"posts"=>{"output"=>true, "sort_direction"=>"descending", "permalink"=>"pretty"}, "pages"=>{"output"=>true, "permalink"=>"/:locale/:path/"}, "data"=>{"output"=>false}}, "taxonomies"=>{"category"=>{"key"=>"categories", "title"=>"Category"}, "tag"=>{"key"=>"tags", "title"=>"Tag"}}, "autoload_paths"=>["/home/fpr/personal/blog/src/_islands", "/home/fpr/personal/blog/plugins", "/home/fpr/personal/blog/src/_components"], "inflector"=>nil, "eager_load_paths"=>["/home/fpr/personal/blog/src/_islands", "/home/fpr/personal/blog/plugins"], "autoloader_collapsed_paths"=>[], "additional_watch_paths"=>[], "include"=>[".htaccess", "_redirects", ".well-known"], "exclude"=>[".sass-cache", ".bridgetown-cache", "gemfiles", "Gemfile", "Gemfile.lock", "gems.rb", "gems.locked", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn", "_bridgetown"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "slugify_mode"=>"pretty", "future"=>false, "unpublished"=>false, "ruby_in_front_matter"=>true, "content_engine"=>"resource", "markdown"=>"kramdown", "highlighter"=>"rouge", "port"=>"4000", "host"=>"127.0.0.1", "base_path"=>"/blog", "show_dir_listing"=>false, "available_locales"=>[:en], "default_locale"=>:en, "prefix_default_locale"=>false, "permalink"=>"pretty", "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, "include_extraction_tags"=>false, "mark_highlighting"=>true}, "url"=>"http://localhost:4000", "template_engine"=>"liquid", "using_puma"=>true, "watch"=>true, "init_params"=>{"bridgetown-slim"=>{}}, "serving"=>false, "components_load_paths"=>["/home/fpr/personal/blog/src/_components"]}:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
I"�<h1 id="welcome-to-your-new-bridgetown-website">Welcome to your new Bridgetown website.</h1>

<p>You can learn more about how to build and deploy your new website by reading the <a href="https://www.bridgetownrb.com/docs">Bridgetown documentation</a>.</p>

<p>You can choose a <a href="https://github.com/topics/bridgetown-theme">theme</a> or add some <a href="https://www.bridgetownrb.com/plugins/">plugins</a> to get started quickly.</p>

<p>Be sure to check out the <a href="https://bridgetown.cards">Bridgetown Cards</a> community site for helpful tips &amp; tricks.</p>

<p>If you run into any issues or have additional questions, please join us in our <a href="https://discord.gg/4E6hktQGz4">Discord chat</a> or in <a href="https://github.com/bridgetownrb/bridgetown/discussions">GitHub discussions</a>.</p>

<p><em>Have fun and <strong>good luck</strong>!</em></p>

<hr />

<p style="text-align:center"><strong>Generated by v1.3.4</strong></p>
:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
I"c<p>You’ll find this post in your <code class="highlighter-rouge">_posts</code> directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run <code class="highlighter-rouge">bin/bridgetown start</code>, which launches a web server and auto-regenerates your site when a file is updated.</p>

<p>Bridgetown requires blog post files to be named according to the following format:</p>

<p><code class="highlighter-rouge">YEAR-MONTH-DAY-title.EXT</code></p>

<p>Where <code class="highlighter-rouge">YEAR</code> is a four-digit number, <code class="highlighter-rouge">MONTH</code> and <code class="highlighter-rouge">DAY</code> are both two-digit numbers, and <code class="highlighter-rouge">EXT</code> is the file extension representing the format used in the file (for example, <code class="highlighter-rouge">md</code> for Markdown). After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.</p>

<p>Bridgetown also offers powerful support for code snippets:</p>

<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
<span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span>
<span class="k">end</span>
<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span>
<span class="c1">#=&gt; prints 'Hi, Tom' to STDOUT.</span>
</code></pre></div></div>

<p>Check out the <a href="https://bridgetownrb.com/docs/">Bridgetown docs</a> for more info on how to get the most out of Bridgetown. File all bugs/feature requests at <a href="https://github.com/bridgetownrb/bridgetown">Bridgetown’s GitHub repo</a>. If you have questions, you can ask them on <a href="https://github.com/bridgetownrb/bridgetown/discussions">Bridgetown Discussions on GitHub</a>.</p>
:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
I"�<p>This is the basic Bridgetown site template. You can find out more info about customizing your Bridgetown site, as well as basic Bridgetown usage documentation at <a href="https://bridgetownrb.com/">bridgetownrb.com</a></p>

<p>You can find the source code for Bridgetown at GitHub:
<a href="https://github.com/bridgetownrb">bridgetownrb</a> /
<a href="https://github.com/bridgetownrb/bridgetown">bridgetown</a></p>
:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
I"�<ul>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-9/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-8/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-7/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-6/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-5/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-4/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-3/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-2/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-11/">Your First Post on Bridgetown</a>
</li>

<li>
<a href="/blog/updates/2024/10/05/welcome-to-bridgetown-copy-10/">Your First Post on Bridgetown</a>
</li>

</ul>

<p>If you have a lot of posts, you may want to consider adding <a href="https://www.bridgetownrb.com/docs/content/pagination">pagination</a>!</p>
:ET
1 change: 1 addition & 0 deletions .bridgetown-cache/frontend-bundling/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"javascript/index.js":"index.NS2NXCKO.js","styles/index.css":"index.PAEIRIAG.css"}
5 changes: 0 additions & 5 deletions .gitignore

This file was deleted.

25 changes: 0 additions & 25 deletions 404.html

This file was deleted.

59 changes: 32 additions & 27 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,33 +1,38 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

####
# Welcome to your project's Gemfile, used by Rubygems & Bundler.
#
# To install a plugin, run:
#
# bundle add new-plugin-name -g bridgetown_plugins
#
# This will ensure the plugin is added to the correct Bundler group.
#
# bundle exec jekyll serve
# When you run Bridgetown commands, we recommend using a binstub like so:
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.4"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end
# bin/bridgetown start (or console, etc.)
#
# This will help ensure the proper Bridgetown version is running.
####

# If you need to upgrade/switch Bridgetown versions, change the line below
# and then run `bundle update bridgetown`
gem "bridgetown", "~> 1.3.4"

# Uncomment to add file-based dynamic routing to your project:
# gem "bridgetown-routes", "~> 1.3.4"

# Puma is the Rack-compatible web server used by Bridgetown
# (you can optionally limit this to the "development" group)
gem "puma", "< 7"

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end
# Uncomment to use the Inspectors API to manipulate the output
# of your HTML or XML resources:
# gem "nokogiri", "~> 1.13"

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
# Or for faster parsing of HTML-only resources via Inspectors, use Nokolexbor:
# gem "nokolexbor", "~> 0.4"

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
gem "bridgetown-slim", "~> 2.0"
Loading

0 comments on commit 62f3a3f

Please sign in to comment.