Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tom Lockwood
    @tomlockwood
    used Jekyll::Configuration.from() and Jekyll::Site.new(@config) in an rspec before block
    Tom Lockwood
    @tomlockwood
    I still don't think my testing approach is very good - i configure an entire site in order to test
    would love for someone to review my code and give me some pointers - or refer me to a gem that does testing site hooks well!
    the code functions, but i feel like I could organise it a bit better, but i really want to tackle testing in a better way before I do that
    ideally i do something like, set the content on a couple documents on collections, trigger the :site, :post_read hook
    Blake Abel
    @blabel3_gitlab
    Is there a way to get something like {% link {{ entry.filepath }} %} to work? For some reason it did on an older version of Jekyll but I've updated and now I have to find another way to implement my site header. It was nice to have all of the file paths and display names in their own data file but now there's not much benefit to it.
    Michael Drogalis
    @MichaelDrogalis
    Hi! In the collections docs, I see that I can specify metadata (like 'people') on a staff members collection. How can I access the value of 'people' in a page in that collection? https://jekyllrb.com/docs/collections/
    Tom Lockwood
    @tomlockwood
    maybe something like this? site.config['collections'][doc.collection.label]
    then any yaml values in config.yml for that collection are there
    or if you want to access your yaml value for 'people' on any given page, on that page
    i think its doc.data['people']
    Michael Drogalis
    @MichaelDrogalis
    Hmm, those don't seem to work. site.config doesn't resolve
    Tom Lockwood
    @tomlockwood
    ah! sorry
    {{ site.collections[0].people }} seems to work for the zeroth collection
    Tom Lockwood
    @tomlockwood
    i dunno if it suits your use case, site.collections doesn't seem to return the yaml in conifg
    but in config.yml i made a new thing of yaml with the collection name,
    and then this worked
    {% assign people = site.collection_data[page.collection].people %}
    {{ people }}
    Michael Drogalis
    @MichaelDrogalis
    Nice! I'll give that a try. Thank you!
    Tom Lockwood
    @tomlockwood
    I'm working on a plugin to help DMs make a site for their players - would love a code review!!! tomlockwood/jekyll-rpg#7
    prog20901
    @prog20901

    Hi,

    I come across https://github.com/jekyll/jekyll

    Basically planning to built a cross platform desktop system which accepts huge files from the user and finally does a full text search...

    In this way, the user just needs the browser no installation is required......

    In this way, the application will be purely portable irrespective of OS....

    This would be absolutely cross platform....

    When i did the research i come across jekyll ...

    Featurs trying to build once the files got imported by the user and indexed by the front-end code/logic

    1) Search Box with type-ahead search
    2) Combo box to choose the language
    3) Number of hits should be while typing. Please type some text in and
    you will understand what is number of hits
    4) Search keyword should be highlighted in the left with portion of text.
    On clicking the text, the entire subject with highlighted search
    should shown in the right

    nearly 2,000 files are in text format of 600 kB each size.

    the files can be anything - log file or any text file or docx file....If support other formats also it is well and good..for now planning to suppor .txt file only

    Please kindly advice with suggestions or comments...How to achieve this via jekyll

    Any showcase or good examples to achieve the above...

    Please need your kind assistance in detail

    Thanks

    Сергей Вишняков
    @seregajd999
    Привет всем. Давайте сделаем сайт и на Русском языке. Помогу в переводе.
    Eivind Eikeset Birkedal
    @eivindb_gitlab
    @srlarsen1 Do you have a link to the Github repo in question? Usually it's easier to spot an issue looking at the source rather than trying to stipulate a problem based on someone describing the whole thing and trusting all the necessary details are in there.
    @prog20901 This does not seem like a project suitable to Jekyll. This sound like a web application in need of a lot of components.
    prog20901
    @prog20901
    @eivindb_gitlab can you please check this link - https://www.staticgen.com/
    many says customizable, super fast since elastic search is inbuilt, open-source and readily available...will it satisfy the requirement
    Tom Lockwood
    @tomlockwood
    would there be any interest in a way to programmatically inject documents during the jekyll.read step? I'm thinking about that from a testing perspective where I can construct some document content with different characteristics for testing purposes. Maybe there's already a straightforward way to do this that I'm missing?
    i'm keen to give making that work a go, but not keen to make something nobody wants haha
    Eivind Eikeset Birkedal
    @eivindb_gitlab

    @prog20901 You would know better what is required when you break down the application you want to build. But your description of the project sounds like you'll need a web service with file access, or a database, OCR processes(?) and on and on.

    Next.js might be a better bet given that it's based on React which is made for building web applications, although I'm not fully familiar with its features.

    prog20901
    @prog20901
    @eivindb_gitlab Can i use https://jio.nexedi.com/ for my requirement..Please let me know your comments..
    prog20901
    @prog20901
    Can someone please help me with your valuable feedback about https://jio.nexedi.com/ ???? Planning to build a full text static search engine for the given files....
    Eivind Eikeset Birkedal
    @eivindb_gitlab
    @prog20901 you need to read the documentation and try it out yourself, I don't know the extent of your requirements or ambitions for the project. Starting a local jekyll site and playing around with Jio shouldn't take much time.
    Edden M. Gerber
    @edden-gerber
    Hi everyone, I hope this is an appropriate place to ask: I'm working on a Jekyll site on github pages, which works fine online but I absolutely cannot get the local site to run (127.0.0.1:4000). The jekyll serve command seems to have no problem (I get "server running..." etc.), but I get a connection timed out from the browser. I'm on windows but tried running jekyll both from the windows terminal and from a linux bash terminal. Tried using a different port, checking my firewall, and looked everywhere online for suggestions but didn't find anything useful. Any ideas would be greatly appreciated. Otherwise - is there any other way I can test my posts before they go up on my site?
    Sebastjan Hribar
    @sebastjan-hribar
    @edden-gerber I also have my site built with jekyll and hosted on GH pages. I usually run it locally under Ubuntu, but I've tried it locally under windows and it runs fine. I have no special settings, also I'm running the firewall under windows and it wasn't disabled.
    John Sillings
    @johnsillings

    hey all! i'm having a funky little issue where updates to my SCSS stylesheet render just fine on my local machine, but don't work in production (even though, as far as I can tell, the files generated by the build are identical).

    if anyone has any ideas for what i could check out, would be super appreciative!

    Eivind Eikeset Birkedal
    @eivindb_gitlab
    @johnsillings how are you referring to the SCSS file in the header? I'm suspecting you are using Github Pages and not using site.baseurl? http://simpleprimate.com/jekyll-for-designers/blog/css/
    Thib Guicherd-Callin
    @thibgc
    are noob questions about GitHub Pages allowed here, or is there a better Gitter for that?
    John Sillings
    @johnsillings
    hey @eivindb_gitlab - thanks for getting back to me! turns out the issue was due to my browsing cacheing. the updates to my SCSS stylesheet worked just fine when i loaded the production site on another machine, which is how i realized. really, really appreciate the help, though!
    Fabio Mucciante
    @fabiomux
    @kirbelots standing to the help guide, at the last example, you should use a var/front matter reference for every dot-separated field.
    prog20901
    @prog20901
    Can jekyll integrates https://github.com/jvilk/BrowserFS - looks it supports several back-ends...Please kindly integrate if possible.
    Scott
    @srlarsen1
    Stumped on my site rendering perfectly locally but none of the theme/ css is being applied on the GitHub Pages deployment. I've installed the Swiss theme and the css even seems to be the same remotely as locally - just not rendered. The site is at http://scottlarsen.com and the repository is at https://github.com/srlarsen1/Scott-Larsen-Website What the site looks like locally Any help is greatly appreciated.
    brando90
    @brando90
    Anyone know how to make Jekyll work with github pages? This is my main question post https://talk.jekyllrb.com/t/how-to-install-github-pages-with-jekyll/3510 but Ive had relateed ones that seem to be the last thing for it to work in particular this one: https://talk.jekyllrb.com/t/how-to-install-a-compatible-version-of-jekyll-feed/3512
    Satiring
    @Satiring
    Hey, I have a collection of Members and 2 layout (Signature & Members). I don't know how to create a link from the member layout to load the Front Matter itself but changing the layout to signature. Do you know how to address the problem?
    Gungor Budak
    @gungorbudak
    @srlarsen1 your styles are loaded through http whereas rest is through https. Make sure you have base URL supplied to style.css with https.
    prog20901
    @prog20901
    Two panel or three panel layout with search....Any example ....with code...
    Adam Darrah
    @akdarrah
    Hi everyone 👋 I just started working on a new project to make it easier to work with Liquid called Dropkiq (https://www.dropkiq.com/). I'm wondering if it has any use to the Jekyll community? Not really sure who to talk to about that though... If you use Liquid with your Jekyll project and would like to talk, please send me a note! adam@dropkiq.com 🤩
    elkimek
    @elkimek
    hey guys, I inherited a website which is czech localization fork of english website. All I have is source code in Jekyll and it doesn't have any repo. I cloned the original repo. of the english website and now I'm looking for a way to merge it with the source code I have so I can upstream it in future. Any suggestions?
    Ashley Smith
    @Ashe

    Hey everyone! So I'm trying to preserve markdown content and I wrote my own generator like this:

    module Jekyll
      class RawContent < Generator
        def generate(site)
          site.posts.each do |post|
            post.data['raw_content'] = post.content
          end
        end
      end
    end

    When I print the value of raw_content, markdown is output. However, when I do {{ page.raw_content }} in a template, the data is in HTML form. Any ideas?

    Ashley Smith
    @Ashe
    ignore that message, it works I just can't seem to get it working with reveal.js