GithubHelp home page GithubHelp logo

maximevaillancourt / digital-garden-jekyll-template Goto Github PK

View Code? Open in Web Editor NEW
874.0 874.0 718.0 2.22 MB

Start your own digital garden using this Jekyll template 🌱

Home Page: https://digital-garden-jekyll-template.netlify.app/

License: Other

HTML 47.42% Ruby 19.33% SCSS 33.25%
digital-garden digital-gardening jekyll markdown obsidian obsidian-md roam roamresearch second-brain static-site template wiki zettelkasten

digital-garden-jekyll-template's People

Contributors

am3ra avatar darylf avatar dependabot[bot] avatar heysora avatar hqweay avatar keang avatar kepano avatar maggiedelano avatar manunamz avatar maximevaillancourt avatar meewgumi avatar omarcostahamido avatar oneacik avatar puppe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digital-garden-jekyll-template's Issues

Permalink issue

Apologies if this is not the right place to do this since I'm not very tech literate and not very good at Github.

I forked this repo, and linked it to my personal website as a project. I try to access it at dtank.co/digital-garden

but the links don't work. I changed the permalink section in the config file, but to no avail.

Any help?

garden + blog question

Hi there,

I'm working on hosting my notes online and have been looking at themes I can use with github pages. I really like your digital garden style! I don't have a background in programming so there's a lot I'm trying to learn. If I'm using your digital garden would I also be able to create blog posts? From looking at your set up guide I'm guessing hosting a blog would be done separately?

I hope this makes sense!

Unable to install dependency sassc 2.3.0

I've been trying to install this on MacOS (currently Big Sur) for months, without success.

always fails on the install of sassc 2.3.0, with 13 errors (see below).

There appeared to be some kind of conflict with XCode Command Line Developer Tools, but when I uninstalled this and tried to reinstall sassc 2.3.0 I received the alert that the XCode tools were not installed and inviting me to reinstall them. So there seems no way out.

Please let me know if you have any suggestions.

digital-garden on  master [?] via 💎  ruby-2.7.0 
➜ gem install sassc -v 2.3.0
Building native extensions. This could take a while...
ERROR:  Error installing sassc:
        ERROR: Failed to build gem native extension.

    current directory: /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0/ext
/Users/dokoissho/.rvm/rubies/ruby-2.7.0/bin/ruby -I /Users/dokoissho/.rvm/rubies/ruby-2.7.0/lib/
ruby/site_ruby/2.7.0 -r ./siteconf20210106-16400-1c84x3n.rb extconf.rb
creating Makefile

current directory: /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0/ext
make "DESTDIR=" clean

current directory: /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0/ext
make "DESTDIR="
compiling ./libsass/src/ast.cpp
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:317:9: error: no member name
d 'signbit' in the global namespace
using ::signbit;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:318:9: error: no member name
d 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:319:9: error: no member name
d 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:752:12: note: 'finite' de
clared here
extern int finite(double)
           ^
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:320:9: error: no member name
d 'isinf' in the global namespace
using ::isinf;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:9: error: no member name
d 'isnan' in the global namespace
using ::isnan;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member name
d 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:7: error: no member name
d 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
      ^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:738:29: note: '::std::g
reater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
                            ^
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:7: error: no member name
d 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
      ^~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:767:29: note: '::std::g
reater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
                            ^
In file included from ./libsass/src/ast.cpp:5:
In file included from ./libsass/src/ast.hpp:9:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/unordered_ma
p:409:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__hash_table
:18:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member name
d 'isless' in the global namespace
using ::isless;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member name
d 'islessequal' in the global namespace
using ::islessequal;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:327:9: error: no member name
d 'islessgreater' in the global namespace
using ::islessgreater;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:328:9: error: no member name
d 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:329:9: error: no member name
d 'isunordered' in the global namespace
using ::isunordered;
      ~~^
13 errors generated.
make: *** [ast.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/dokoissho/.rvm/gems/ruby-2.7.0/gems/sassc-2.3.0 for in
spection.
Results logged to /Users/dokoissho/.rvm/gems/ruby-2.7.0/extensions/x86_64-darwin-19/2.7.0/sassc-
2.3.0/gem_make.out

Tags Support

It would he very nice to integrate in the graph also tags, with a different color.

Tags should be discovered

  • in the front matter, e.g. tags: ["firsttag","secondtag"] and accessed through the already existing liquid variable {{ page.tags }}
  • automatically recognized inside the content of a post, when there's amy world preceded by a # which is not escaped. Then it should be automatically added to the page.tags array and the word inside the text transformed in an <a> tag, linking to {{ site.base_url }}/tag/{{ tag-name }}

Better Obsidian integration

The most popular and arguably the best environment to write, edit and manage digital gardens right now is Obsidian.

Obsidian has a few great functionalities which are lacking in this template, such as:

  • support file embedding, with ![[file-to-embed]] syntax
  • support the ability to give a different name to a wiki link, for example [[Example note|this is an example]]#38
  • support the ability to link to anchors inside a file, for example [[Example note#Example Anchor]]
  • handle the use of the two features above together, for example [[Example note#Example Anchor|This is an example!]]
  • support note aliases, for example when in the front matter of “beautiful note” there is aliases: ["nice note", "cute note"], writing in a markdown file [[nice note]] creates a link to “beautiful note”. Actually, Obsidian aliases don't work like this.

I saw somewhere in the files that a reference to Obsidian is already present, I believe most of the digital gardeners who are using this template are already using this app.

Last updated date is incorrect

The last updated date on a page appears to show the date of the latest update to any page, not the one you are currently viewing.

e.g.

image

^ shows 14th October

however, looking at the update times on my filesystem:

image

the corresponding page was last edited 13th October.

Adding documentation for publishing as a static site

Hi Maxime! I'm really enjoying this template, and included it in my own personal website. I encountered an issue where because I was simply uploading the contents of _site to a neocities static server, the bidirectional links were not working correctly (as the link would lead to changelog instead of changelog.html). I fixed this with some tweaking of the generator, but I'm wondering if it would be useful to add to the README? Happy to do so if that is the case.

Error when deploying on Netlify

I am getting the following error from Netlify.

Failed during stage 'preparing repo': Error checking out submodules: fatal: No url found for submodule path 'vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-last-modified-at-e0c918691db6' in .gitmodules
: exit status 128

I'm quite a novice at this stuff; so, any help is greatly appreciated!

“Deprecation: Document#title is now a key in the #data hash.”

Salut Maxime!
Just pulled your update. Great additions thank you. 👍

I run the latest Jekyll main branch and got the above error.

It is a simple fix but I am not set up right now to easily submit a Pull Request so forgive me for just sharing the fix here.

bidirectional_links_generator.rb
ln 34:
label: current_note.title,
to
label: current_note.data['title'],

&
ln 56:
note.title.to_i(36).to_s
to
note.data['title'].to_i(36).to_s

Getting 404 for all links on Netlify

Hi again, more questions!

I forked this repository, changed nothing, and then connected it to a site on netlify. I then added a few markdown notes and linked to them from the index page and the "your first note" page.

On the index, every link I click except "your first note" gives me a 404 error. If I go to "your first note" and mouse over any links I added I'm immediately prompted to download the markdown file.

No idea what I've messed up! Any thoughts?

Site: https://mv-dg.netlify.app/
Repo: https://github.com/ShannaSeigel/digital-garden-jekyll-template

Jekyll keeps polling on Windows 10 - possible fix

Hi!

First of all, thank you for this awesome template!

I've installed the template on Windows and everything went well, with the exception of an issue that seems to be somewhat common with Jekyll being run on Windows. So this isn't a bug report per se, but I'm adding this in case someone might encounter the same issue I did.

When running bundle exec jekyll serve, jekyll seems to go into an infinite loop, trying to regenerate the same file. I noticed that this was something related to the notes_graph.json file located in _includes.

This can be avoided by adding this:

exclude: ["_includes/notes_graph.json"]

to your _config.yml file on Windows.

I've targeted only that file, as I am not sure if Jekyll should watch all the files in that folder. If a user doesn't change them that often, I think the entire folder can be added to the exclude list.

Thanks!

Failure to load plugins in another website

If I copy-paste the _plugins folder in my already existing Jekyll website, I get this error message after entering bundle exec jekyll serve --trace --watch:

 Incremental build: disabled. Enable with --incremental
      Generating...
bundler: failed to load command: jekyll (/usr/local/lib/ruby/gems/2.7.0/bin/jekyll)
NoMethodError: undefined method `docs' for nil:NilClass
  /Users/xplosionmind/tommi.space/_plugins/bidirectional_links_generator.rb:7:in `generate'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:191:in `block in generate'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:189:in `each'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:189:in `generate'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/profiler.rb:43:in `block in profile_process'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/profiler.rb:41:in `each'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/profiler.rb:41:in `profile_process'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/site.rb:75:in `process'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:28:in `process_site'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/commands/build.rb:65:in `build'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/commands/build.rb:36:in `process'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:91:in `each'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
  /Users/xplosionmind/.gem/ruby/2.7.0/gems/jekyll-4.1.1/exe/jekyll:15:in `<top (required)>'
  /usr/local/lib/ruby/gems/2.7.0/bin/jekyll:23:in `load'
  /usr/local/lib/ruby/gems/2.7.0/bin/jekyll:23:in `<top (required)>'

It appears as a Jekyll problem, since it seems like Ruby can't find the Jekyll Gem, but after removing _plugins, everything gets back to normal.

What have I done wrong?

Thanks a lot.
T

Wikilinks inside code blocks get replaced by code-fenced error message

Describe the bug
When I write

`[[wikilink]]`

inside a note, that gets rendered as

<span title='There is no note that matches this link.' class='invalid-link'> <span class='invalid-link-brackets'>[[</span> wikilink <span class='invalid-link-brackets'>]]</span></span>

I have tried escaping with multiple combinations of backslashes and backticks, but without success. I can't find a way to render a simple [[wikilink]] in code (which is making it difficult to document my workflow).

To reproduce
Steps to reproduce the behavior:

  1. Inside a note, type [[wikilink]] surrounded by backticks (I don't know how to escape them in here too 🥴)
  2. Render the note in Jekyll

Expected behavior
The code-fenced wikilink should be rendered as

[[wikilink]]

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Operating system: macOS 12.1
  • Ruby version: Ruby 3.0.3

Improve graph display

Having a graph which displays the connection among notes is great, but as of right now it's kind of limited, and it doesn't feel very ergonomic. A few ideas of improvements may be:

  • Showing the current note at the center of the graph
  • Resizing the graph to make all the content fit
  • Simulating “forces” and attractions (as in Obsidian's graph, for example)

Inspiration

Some code for inspiration:

clarify github pages support in config.yml

In _config.yml, there is a line that suggests this template is compatible with Github Pages:

when using GitHub Pages, the baseurl should point to where GitHub Pages deploys your repository (which is usually the repository name)

However, it's not compatible with GH Pages because of the non-whitelisted plugins in the _plugins folder. Reading this note on Jekyll suggests that GH Pages builds must be generated locally, then pushed to GH Pages. As an example, I tried to build the site on my GH Pages repo and backlinks are broken.

The comment in config.yml made me think it was possible to use GH Pages to build the Jekyll site. Maybe I should have known better, and the comment is fine as is, so feel free to delete this issue. But just wanted to let you know what I experienced. Thank you for making an awesome template!

Long code lines break

Thanks for creating and sharing this awesome software!

A line of code within four backticks that is longer than the main column breaks the page: the backlinks boxes disappear, text doesn't get wrapped, and there is no horizontal scrolling.

Expected behavior: text column width remains the same; scroll bar shows up within the code-source section alone.

Reproducible on Firefox and Chrome.

Patch: support normal Blogfeed

I finally managed to upload this (wrote you on Twitter about this):
I patched the bi-directional-links plugin so that links in a traditional blogfeed in posts are supported, and those nodes show up in the Graph.

florhizome@5ac71e7

I just extracted this for now from my local repo since it was quite behind and a general mess, to be able to share it^^. The necessary steps are pretty easy though and should be understandable fromjust looking at the diff. I just change some local variables. A new one (all_nodes) had to be introduced since we could not simply anymore say that all links that are to be shown in the graph are in all_notes.

Technically this would be possibly for any new collection - think of a library subpage [like Maggie Appleton has] (https://maggieappleton.com/library), where you would probably want to have a differentiated template for your "Notes". (and a feed.)

If you want to integrate it in the template, I would suggest thinking about exposing these variables (collections where links are generated and where graph-nodes are generated) to be possibly set directly in the config file, so that users don't have to rewrite the plugin everytime they want to add a collection. Well, we can discuss this further^^. But for now, I just wanted to be able for ppl to see this, lol.

wikilink to missing note beaks footnote

Describe the bug
Creating wiki style links [[something]] to a note that doesn't exist in footnotes break the parser.

To reproduce
Steps to reproduce the behavior:

  1. Create a new note e.g. test.md
---
title: 'Test note '
---

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. [^1]

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. [^2]

[^1]: This links to an non existing note [[doesnot exist yet]]
[^2]: Sample footnote 2.
  1. Start the application and go to the note.
  2. See the broken footnote (see screenshot below). The footnote breaks in two parts and displays an element.

Expected behavior
The footnotes is displayed with the link inside the footnote as written in the markdown.

Screenshots
Screenshot 2021-09-15 at 23 17 13

Desktop (please complete the following information):

  • Operating system: macOS 11.6
  • Ruby version: ruby 3.0.1

How to update?

I was wondering on wethere there is a way to update the last changes you have done, besides copy and pasting the code in my site.

Create netlify.toml

This will make it easier for others to setup and manage the site.

[build]
  command = "jekyll build --trace"
  publish = "_site"

You can also let Netlify set these values for you in the project UI but l like to be explicit. You also get control like setting environment to be JEKYLL_ENV=production and adding flags like --trace.

Issues rendering on github pages

I forked this repo to use on my github-managed page, and ran into some problems. I think the issue is that github pages changes base url.

Error in bundle command

Hi, I run the bundle command and get this.

Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using public_suffix 4.0.4
Using addressable 2.7.0
Using bundler 2.1.4
Using colorator 1.1.0
Using concurrent-ruby 1.1.6
Using eventmachine 1.2.7 (x64-mingw32)
Fetching http_parser.rb 0.6.0
Installing http_parser.rb 0.6.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
C:/tools/ruby24/bin/ruby.exe -I C:/tools/ruby24/lib/ruby/site_ruby/2.4.0 -r
./siteconf20201028-14256-18oa8u4.rb extconf.rb
creating Makefile

current directory:
C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make "DESTDIR=" clean
current directory:
C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make "DESTDIR="
make failedNo such file or directory - make "DESTDIR="

Gem files will remain installed in
C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0 for inspection.
Results logged to
C:/tools/ruby24/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/http_parser.rb-0.6.0/gem_make.out

An error occurred while installing http_parser.rb (0.6.0), and Bundler cannot
continue.
Make sure that `gem install http_parser.rb -v '0.6.0' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  jekyll-last-modified-at was resolved to 1.2.1, which depends on
    jekyll was resolved to 4.0.0, which depends on
      em-websocket was resolved to 0.5.1, which depends on
        http_parser.rb

I then tried running this gem install http_parser.rb -v '0.6.0' --source 'https://rubygems.org/'

But I get this:

Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR:  Error installing http_parser.rb:
        ERROR: Failed to build gem native extension.

    current directory: C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
C:/tools/ruby24/bin/ruby.exe -I C:/tools/ruby24/lib/ruby/site_ruby/2.4.0 -r ./siteconf20201028-16540-rq1qnr.rb extconf.rb
creating Makefile

current directory: C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make "DESTDIR=" clean
current directory: C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make "DESTDIR="
make failedNo such file or directory - make "DESTDIR="

Gem files will remain installed in C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0 for inspection.
Results logged to C:/tools/ruby24/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/http_parser.rb-0.6.0/gem_make.out

I don't know what to do anymore.

Link previews on mobile can't be dismissed

Describe the bug
On mobile (iOS 15 Safari), once you tap+hold on a link, the preview pop-up that appears can't be closed.

To reproduce
Steps to reproduce the behavior:

  1. Open https://digital-garden-jekyll-template.netlify.app on mobile (Safari?)
  2. Tap and hold on the Your first note link.
  3. Dismiss the Safari preview that pops up.
  4. Try to dismiss the template link preview.

Expected behavior
IMO, the link preview should be dismissible by tapping on it (or anywhere else, for that matter).

Add markdown highlighting (not code syntax highlighting)

Is it possible to use the ==string of text== syntax to generate highlighted text, probably rendered as <mark>string of text</mark>? I use this a lot in my Obsidian notes and I can't seem to find a way to implement it in this Jekyll template.

Moving and Zooming of the Graph View throws Errors

If you zoom in or out of the Graph View or just move it in any direction following Error gets thrown in the Console:

your-first-note:402 Uncaught TypeError: Cannot set property 'innerHTML' of null
    at SVGSVGElement.resize (your-first-note:402)
    at H.apply (d3.min.js:2)
    at kt (d3.min.js:2)
    at w.emit (d3.min.js:2)
    at w.zoom (d3.min.js:2)
    at d3.min.js:2
    at d3.min.js:2
resize @ your-first-note:402
apply @ d3.min.js:2
kt @ d3.min.js:2
emit @ d3.min.js:2
zoom @ d3.min.js:2
(anonymous) @ d3.min.js:2
(anonymous) @ d3.min.js:2

image

Make repo template?

This would allow people to copy the code more easily, and not require cloning or forking.

Any thoughts?

I don't see any down sides, and it's relatively simple.

Search bar with keyboard shortcut like in Notion.

On my garden, I want to tap cmd+k and open a search bar with autocomplete to open directly a note I want :)
Could be great ! Like Afred app or like in Notion or Roam :) A news way to navigate on my site !

Screenshot 2020-12-04 at 11 16 31

Case insensitive note titles

Hi, is there a way to make notes' titles case sensitive? Thank you! I don't know if I am the only one having this issue or not, but apart from the first letter of the notes' titles, no matter how the original files are called, the website displays all the letters in lowercase.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.