Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    mikwee
    @mikwee:matrix.org
    [m]
    Finally, I found this place!
    mikwee
    @mikwee:matrix.org
    [m]
    So I'm trying to use Bootstrap in my layouts. I searched a lot for an explanation on how to do that, until I found this SOF answer. I followed the instructions - tho I did put @import "bootstrap"; in assets/css/main.scss rather than style.scss, whatever that is - and got this error:
    Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
                        Error: File to import not found or unreadable: bootstrap. on line 2:1 of stdin >> @import "bootstrap"; ^
                 Error: Error: File to import not found or unreadable: bootstrap. on line 2:1 of stdin >> @import "bootstrap"; ^
    mikwee
    @mikwee:matrix.org
    [m]
    I see this place isn't that active, eh?
    mikwee
    @mikwee:matrix.org
    [m]

    Let’s say I wanna display posts as Bootstrap cards. I already created a Bootstrap grid of 3 columns, and I wanna display the posts like this:

    1 2 3
    4 5 6
    7 8 9
    10 11 12

    etc. How do I do that?

    Ghost
    @ghost~60158168d73408ce4ffa2bcd
    @mikwee Do you have it in the same folder? Can't expect Sass to use the force or something to find your files. (bootstrap.scss)
    1 reply
    @shenlu89 Maybe you should learn English before you "writed" tutorials.
    Ghost
    @ghost~60158168d73408ce4ffa2bcd
    @mikwee:matrix.org And what remains? :)
    1 reply
    @shenlu89 That isn't meant as an insult but I've seen so many people trying to be successful with their Jekyll blogs, making designs that are out of this world but producing poor content. I am currently struggling with the very first thing, gaining readers. Read some of your stuff, needs some work. I honestly think that we should all maybe start a group where people can grow their readerships, specifically people who use Jekyll to deliver their content.
    I'll check out your site, tell you what I think of the visual bit.
    Looks good. :)
    Matt Rogers
    @mattr-
    hello! there are a lot more people in here than i expected :flushed:
    Matt Rogers
    @mattr-

    Anyway, a quick introduction and then a question:

    Hi! I'm @mattr- and I'm on the Jekyll Core team, though I've been mostly been inactive for the past 18 months or so. With @DirtyF's unfortunate passing, I'm stepping up my involvement again to try to keep things moving. It's been suggested that Jekyll would benefit from a Discord community, so here's my question: If Jekyll set up an official Jekyll Discord Server, would you use it? If so, what would you like to see there?

    Thanks for reading and being a part of the community <3

    Manu
    @mtancoigne:matrix.org
    [m]
    Hi @mattr-
    I won't use discord : I prefer to have one or more chans here than on a private platform.
    elmussol
    @elmussol:elsmussols.net
    [m]
    Much prefer here to Discord.
    Matt Rogers
    @mattr-
    Cool. Appreciate the feedback <3
    Raghuram Subramani
    @Stagefright071
    Hi!
    so my problem is that the image exists, but it doesnt display in the post, and it adds a #/ in the url when i go to it
    how can i blacklist a directory?
    so that it does not add a # to the end?
    Plastikfan
    @plastikfan

    Anyway, a quick introduction and then a question:

    Hi! I'm @mattr- and I'm on the Jekyll Core team, though I've been mostly been inactive for the past 18 months or so. With @DirtyF's unfortunate passing, I'm stepping up my involvement again to try to keep things moving. It's been suggested that Jekyll would benefit from a Discord community, so here's my question: If Jekyll set up an official Jekyll Discord Server, would you use it? If so, what would you like to see there?

    Thanks for reading and being a part of the community <3

    I also much prefer here rather than Discord. Discord is ok, but its quite unweildy to use and also has a few shady privacy issues, particularly if you use the desktop app as oppsed to your broswer

    Andrew Holway
    @mooperd
    Hello, How do I change how {{ content }} is rendered?
    I cant work out how this is templated and my google-fu is failing me.
    1 reply
    MounderFod
    @redcreeper14385
    I've only just joined this channel, and so I'm not too aware of the context, but I think that a Discord server would be very useful. More people use Discord than gitter and so I would think that it would be easier to discuss and get help, since (and again, I'm just assuming from what I can see) people don't check gitter that often compared to something like Discord, which people use for other things anyway.
    I'm aware that there are reservations about it being proprietary though, and there's not much I can say about that
    elmussol
    @elmussol:elsmussols.net
    [m]
    It's not just Gitter here.
    MounderFod
    @redcreeper14385
    Ah, it's Matrix as well, isn't it
    Matt Davey
    @matt-davey
    Hey, anyone know why this might not work?
    {% for image in site.static_files limit:5 %}
    {% if image.path contains 'img/photos/' %}
    <img src="{{ image.path }}" alt="image" />
    {% endif %}
    {% endfor %}
    1 reply
    sryoung
    @ssryoung
    image.png
    somebody help me, how can i do?
    Manu
    @mtancoigne:matrix.org
    [m]

    Hi ! I managed to internationalize a Jekyll project using "just the docs" theme, and wanted to share it with you if you want to do something similar:

    https://gitlab.com/experimentslabs/garden-party/garden-party-docs

    I'm around if you have any question :)
    Eric Zhu
    @ericzhu105_twitter
    Screen Shot 2021-11-01 at 10.28.15 AM.png
    1 reply
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
    How can I fix this?
    SmallPepperZ
    @SmallPepperZ
    Is there a way to get the content of a .md file from its path? The only way I've seen to do this would be to iterate over every file in the collection to check if it has the path, but that feels like the wrong way to go about it.
    Eric Zhu
    @ericzhu105_twitter
    Screen Shot 2021-11-04 at 1.45.02 PM.png
    @SmallPepperZ Hmm still gives this
    mcnesium
    @mcnesium:matrix.org
    [m]

    :point_up: Edit: ```
    module Jekyll
    module AssetFilter
    def to_datetime(date_string)
    (date_string).to_time
    end
    end
    end

    Liquid::Template.register_filter(Jekyll::AssetFilter)
    ```

    :point_up: Edit: I need help with creating a filter plugin to make a string a datetime object, so that I can do 'now' | date: '%s' | plus: 86400 | to_time. I created _plugins/to_datetime.rb in my jekyll project, that looks like this:
    :point_up: Edit: then in my layout I do assign tomorrow = 'now' | date: '%s' | plus: 86400 | date: '%F' | to_time
    Eric Zhu
    @ericzhu105_twitter
    Jekyll wont deploy to netlify
    Javi Lazkano
    @javilazkano_gitlab

    Hi
    Collections Fail
    In this step

    <h2><img src="{{ page.image_path }}" alt="page.title" />{{ page.title }}</h2>
    The Html uses data-src instead src

    javilazkano
    @javilazkano:matrix.org
    [m]
    Hi
    Alguien habla español?
    I´m trying to use collections
    https://lazkano.me/cookies/Oreo.html
    but the img doesn´t appear

    In the HTML there is
    <img data-proofer-ignore="" alt="page.title" data-src="https://upload.wikimedia.org/wikipedia/commons/d/d1/AfghanBiscuit.jpg">

    If I use this one, Its ok
    <img data-proofer-ignore="" alt="page.title" src="https://upload.wikimedia.org/wikipedia/commons/d/d1/AfghanBiscuit.jpg">

    there is a problem with data-src
    javilazkano
    @javilazkano:matrix.org
    [m]
    <img data-proofer-ignore="" alt="page.title" data-src="https://upload.wikimedia.org/wikipedia/commons/d/d1/AfghanBiscuit.jpg" src="https://upload.wikimedia.org/wikipedia/commons/d/d1/AfghanBiscuit.jpg">
    Why Jekyll doesn´t build right the html?
    Fabio Mucciante
    @fabiomux
    @javilazkano:matrix.org if it works fine with src and not with data-src it's not a Jekyll problem, usually data-src is reserved to Javascript stuff, you should use src for plain HTML, read here: https://stackoverflow.com/questions/15320052/what-are-all-the-differences-between-src-and-data-src-attributes