Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    kaosine
    @kaosine:matrix.org
    [m]
    dang it's been almost 24 hours and still hasn't updated on githubs end....I knew i shouldn't of gone the easier route for trying to get something up as a placeholder 😆
    1 reply
    xbt573
    @xbt573
    Hi! How can i use jekyll static files in markdown posts?
    mikwee
    @mikwee:matrix.org
    [m]

    So I found this code in a Jekyll layout:

    {% if site.dark-theme == "auto" %}
            {% capture scss_sheet %}
                {% include style.scss %}
                @media (prefers-color-scheme: dark) {
                    {% include style-dark.scss %}
                }
            {% endcapture %}
        {% elsif site.dark-theme %}
            {% capture scss_sheet %}{% include style-dark.scss %}{% endcapture %}
        {% else %}
            {% capture scss_sheet %}{% include style.scss %}{% endcapture %}
        {% endif %}

    My question is: What does {% include style-dark.scss %} mean? There's no such file, and the VSCode explanations are kind of confusing. Thank you

    Vista2003
    @Vista2003
    Hi, I'm trying to edit an old site that I made in Jekyll last year and I'm trying to run Jekyll serve but I keep getting this error
    I've tried bundle update and bundle install and neither have done anything, wondering what I can do to reslove it
    Dependency Error: Yikes! It looks like you don't have tzinfo or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with `bundle exec`, ensure that you have included the tzinfo gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- tzinfo' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
    jekyll 4.2.2 | Error:  tzinfo
    C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:73:in `rescue in block in require_with_graceful_fail': tzinfo (Jekyll::Errors::MissingDependencyException)
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:58:in `block in require_with_graceful_fail'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:57:in `each'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:57:in `require_with_graceful_fail'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/utils/win_tz.rb:15:in `calculate'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll.rb:135:in `set_timezone'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll.rb:123:in `block in configuration'
            from <internal:kernel>:90:in `tap'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll.rb:122:in `configuration'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:44:in `configuration_from_options'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/commands/serve.rb:83:in `block (2 levels) in init_with_program'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/exe/jekyll:15:in `<top (required)>'
            from C:/Ruby31-x64/bin/jekyll:25:in `load'
            from C:/Ruby31-x64/bin/jekyll:25:in `<main>'
    C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:60:in `require': cannot load such file -- tzinfo (LoadError)
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:60:in `block in require_with_graceful_fail'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:57:in `each'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/external.rb:57:in `require_with_graceful_fail'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/utils/win_tz.rb:15:in `calculate'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll.rb:135:in `set_timezone'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll.rb:123:in `block in configuration'
            from <internal:kernel>:90:in `tap'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll.rb:122:in `configuration'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:44:in `configuration_from_options'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.2.2/lib/jekyll/commands/serve.rb:83:in `block (2 levels) in init_with_program'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
            from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
            from C:/Ruby31-x64/lib/ruby/gem
    mikwee
    @mikwee:matrix.org
    [m]
    Wait a minute... Does Neocities only host Jekyll sites on supporter accounts?
    mikwee
    @mikwee:matrix.org
    [m]
    1. Uploaded my site to Codeberg
    2. It's the whole project, which includes the _site folder
    3. Once you go to the site's /_site subdomain, you get a weird mix of the original theme I cloned from GitHub and my visual modifications, but with none of my content.
    Is this related to Jekyll?
    masoud
    @masouddastvarz
    Hello dear friends
    Hope you be fine all.
    I want to add my social media accounts like Twitter and Instagram to my Jekyll website by hackers theme.can u tell me how can i add?
    Matt
    @mattall
    Hello, I have been entrusted with running a Jekyll site and I have no background in frontend lol. I'm trying to use some Vue JS functions in a page. The content looks like this:
    I have elements called "tree_section" and "content_section", and some vuejs commands inside that are supposed to pull the content from an object in another js file. Even though I have Vue.js loaded, the commands don't get executed. My webspage just shows the text of the vue commands. Any ideas how to get those to execute from within the Jekyll environment?
    Matt
    @mattall
    The content loaded is all from an html file in my _includes directory. I'm loading it into a frontmatter page with {% include myfile_with_vuejs_stuff_in_it.html %}
    AJ
    @EidolonForgery
    Hmm. Is there any way to embed the title and summary of a post into another page, in such a way that if someone edits the summary, it'll also be edited on the page? I basically want post.summary but from outside of the post itself, like name-of-post.summary.
    cupofdirtfordinner
    @cupofdirtfordinner
    damn i dont think anyone has ever gotten help in this channel
    maybe like twice, ive been scrolling for a while
    im just gonna find help elsewhere ig
    dannyromano
    @dannyromano
    @cupofdirtfordinner What was your question?
    devinnasar
    @devinnasar
    Hello
    I'm trying to understand what the right way to deal with collections and hierarchical relationships between them
    For instance, I want to do a collection called Workloads, and a collection called Components, but Workloads always contain one or more Components
    Is that use case supported by collections?
    devinnasar
    @devinnasar
    Boop. Just wanted to see if anyone saw my question
    psychoslave
    @psychoslave:matrix.org
    [m]
    I guess yes, but it seems to me that this canal is rather low in activity.
    Maybe there is an other canal where Jekyll community is more active, but I'm unaware of it, sorry
    Sebastián
    @Natromitus
    Hi,
    new to Jekyll here.
    I am wondering if it's possible to make a sites generated from C# xml documentation? Additionally, add some comments or explanation to for example function or classes documented?
    Robert Relativo
    @lucci06225
    hi!!
    narayana
    @narayana:matrix.org
    [m]

    Greetings :)

    Can Jekyll use a local api ?

    narayana
    @narayana:matrix.org
    [m]
    Basically can it do something similar to JAM stack?
    2 Swif Chainz
    @2swifchainZ_twitter
    Hi there, I'm having an issue with Jekyll. My Jekyll theme looks great in local/dev env, but when I push to prod, my main.css file is different from local/dev. I've cleared cache in the browser, and also used jekyll clear, but no luck. Any pointers?
    R. van Twisk
    @rvt
    Hey all, any recommended docker containers I should use to run Jekyll locally? I installed last week but the number of dependencies is quite a thing as I also seem to need to run sudo gem install jekyll all the time... a docker container should beable to solve this for me..
    RJ
    @faceyneck

    Hi everyone.

    Is this the channel I should use to ask for support/input?

    dannyromano
    @dannyromano
    @rvt bretfisher/jekyll-serve
    Nils Breunese
    @breun
    @rvt I use images from https://hub.docker.com/u/jekyll which work fine, although it usually takes a while before they are updated to the latest version of Jekyll.
    Matt Foxx
    @FoxxMD
    Are there any jekyll plugins that will convert a plain "data" file into a html "page" for displaying code? EX I have a mycode.yaml and I want to output mycode.html with the contents of the file being all of the code from the yaml file in a code block.
    similar to viewing a file on github when browsing a repo
    Jim B
    @jmmb

    Hello everyone! I'm just getting started with Jekyll, and have followed various tutorials to install Ruby on my Mac ...

    Now, because MacOS comes with an older version of Ruby, there are some workarounds to install the newer version and have a process to switch between them ...

    Which has brought up a couple questions. In addition, the "Homebrew" utility is showing some warnings that I'd like to fix as well.

    Being that I'm not a programmer, but do know how to use the command line and am generally fairly computer savvy, I know with a little help we could get these things fixed. Plus I'm sure these will be very easy for someone who knows that they're doing :)

    So if anyone would like to help, feel free to send a PM. Also, I'll be happy to pay for your assistance.

    y377
    @y377
    hi guys
    What is the meaning of item in the Jekyll variable, I can't find more explanations for it, for example, I can find page, site, please let me know, thanks
    y377
    @y377
    Suppose in the same site, such as expmle.com;
    There is an about.html page, I want to display the title of the page, what is the difference between using {{ page.title }} and {{ item.name }}, although I just checked through Google that the latter can also be used, but I was These two concepts are a bit blurred
    y377
    @y377
    Solution
                <div class="collapse navbar-collapse" id="navbarSupportedContent">
                    <div class="navbar-nav nav-pills nav-fill me-auto">
                        {% for item in site.data.navigation %}
                        <a class="nav-link" href="{{ item.link }}">
                            {% if item.name == "home" %}
                            {{ site.title }}
                            {% else%}
                            {{ item.name }}
                            {% endif %}
    
    
                        </a>
                        {% endfor %}
                    </div>
    image.png
    Because I defined name in navigation.yml, I said that I can’t get any display every time I use {{ page.title }}. It should be noted that title is defined in the *.yml file or name, thanks to Jekyll, this is a magic usage
    y377
    @y377
    {% for link in site.data.navigation %}
    <a href="{{ link.link }}" class="nav-link {% if link.link== page.url %}active{% endif %}">{{ link.name }}</a>
    {% endfor %}
    y377
    @y377
    permalink: /:title #定义page页面的永久链接,比如about.md;blog.md;官方文档中不适用于post等等
    image.png
    {% for item in site.data.navigation %}
                        <!--                     <a href="{{ item.link }}" class="nav-link {% if item.link == "/" %}active{% endif %} {% if link.url != "/" | remove: "active"%}{% endif %}">{{ item.name }}</a> -->
                        <a href="{{ item.link }}" class="nav-link {% if item.link == page.url %}active{% endif %}">{{ item.name }}</a>
                        {% endfor %}