Comments (4)
Update:
I got this to work by altering index.html
like this:
{% for lang in site.languages %}
<!--
{% assign link = lang.key | prepend: '/' | append: '/' | relative_url %}
<h2><a href="{{link}}">{{lang.name}}</a></h2>
--> # comment these lines out
<h2><a href="{{site.baseurl}}/{{lang.key}}">{{lang.name}}</a></h2> # add this line
<div dir='auto'>
{{lang.blurb | markdownify}}
</div>
{% endfor %}
I'm not entirely clear on why I need to do this for it to work, or whether this is a problem for others, but if it is, a change like this will help people wanting to test changes to the web version of Glosario.
from glosario.
I forgot about one other change: I had to create a _data/
directory and place glossary.yml
there for the individual language pages to show any content.
This, so the {% assign gloss = site.data.glossary %}
line in _incudes/glossary.html
points to something.
from glosario.
Hi @baileythegreen, I had the same problem initially because I was using bundle exec jekyll s -l -o
rather than make serve
when building the site locally. This is because make serve
copies ./glossary.yml
into ./_data/glossary.yml
and then runs bundle exec jekyll
. I was confused at first until I went through all the closed PRs and found this PR #19.
from glosario.
@BatoolMM Thanks! I see now that the gh_pages branch has the _data folder, which explains why it works fine, but my original attempt at forking and rendering my own version failed. I hadn't managed to find PR #19, probably because the subject line is not directly related to the terms I searched on.
I've been using bundle exec jekyll serve --livereload
because somewhere I found that when I first did something with GitHub Pages and because I don't know enough to know any different. Yet. I'll think about what to do in my local versions, but for now have put the files affected by my workaround in .gitignore
so I want accidentally end up pushing changes others don't need.
from glosario.
Related Issues (20)
- Bahasa Indonesia is listed twice
- [30-11-2021]: [Add Sesotho] HOT 2
- [16/12/21]: Add definitions of classification metrics HOT 2
- January 12, 2022: index sidebar not useful
- 11 February 2022: Suggested addition of "autocorrelation" (checkout) HOT 3
- [26.04.2022]: [Mandarin]
- [9.5.2022.]: [Croatian] HOT 3
- [2022-06-23]: [IsiZulu] Data Science Terms HOT 1
- [20222-07-14]: [Latin] HOT 1
- [2022-07-04]: [Mandarin]
- [2022-09-08]: [Chinese-δΈζ] HOT 4
- 2022-10-21: Build Failure HOT 1
- QUESTION: Weblate integration HOT 3
- [2022-12-12]: [Hungarian | Magyar] HOT 4
- 2023-01-10: Lesson Contribution - Some Translations HOT 2
- 2023-03-08: English/Deep learning terms HOT 10
- 2023-04-07: Reference links to parametric (statistics) and non-parametric (statistics) are broken HOT 1
- [13/06/2023]: [HAUSA]
- [August 31, 2023]: [definition of 'specificity' needs to be rephrased] HOT 1
- 2024-02-19: link from home page to Latin page is broken HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glosario.