Comments (4)
from yst.
Thank you john for fast and clear reply.
i wonder if i will be able to understand hakyll as easily as i got into yst.
i came to yst from the hakyll docs and saw the raw simplicity of yst which is appealing.
i have made good progress with my site with yst yesterday and today.
so for now i shall stick with yst.
I shall see if i can add this feature when i urgently need it.
i came across one more similar case of this type of feature need.
suppose i have a list of topics.
and each topic has a list of links.
and i want a display such as :
topic 1
link1 of topic 1
link2 of topic 2
link 3 of topic 3
topic 2
link1 of topic 2
link2 of topic 2
link 3 of topic 2
then my yaml starts becoming kinda long as follows
suppose the topics are philosophy, business, haskell, conrod,rust.
data :
topics : FROM topics.yaml ORDER BY position
philosophylinks : FROM philosophy.yaml ORDER BY step LIMIT 5
businesslinks : FROM business.yaml ORDER BY step LIMIT 5
haskelllinks : FROM haskell.yaml ORDER BY step LIMIT 5
metalearninglinks : FROM metalearning.yaml ORDER BY step LIMIT 5
conrodlinks : FROM conrod.yaml ORDER BY step LIMIT 5
rustlinks : FROM rust.yaml ORDER BY step LIMIT 5
and so on....
so a generator template / macro could be the answer for this too.
so i shall study hakyll and other solutions to try and implement this when my data starts getting bigger.
so maybe this issue can remain open for now for future refrence :)
or if you like - i can close it from here - as you wish.
from yst.
from yst.
+1
yes exactly.
This could also be useful for pagination use case.
from yst.
Related Issues (20)
- Passing Pandoc Arguments to YST HOT 1
- HDBC sqlite3 not installing with cabal HOT 3
- html5 output? HOT 1
- Possibility of having data within document HOT 1
- On new install, using demo site, yst fails on april_events.tex HOT 3
- yst.cabal is out of date, as it's no longer possible to install via "cabal install yst". HOT 4
- Please support XML data
- `cabal install yst` fails HOT 2
- storee HOT 1
- can give a sample site which is based on yst?
- Typo in readme
- Support custom `$nav$` rendering using templates HOT 4
- installation fails on nixos HOT 4
- yst won't install on Ubuntu 18.04 HOT 1
- Pandoc 2.9.* compatibility
- Installation fails HOT 5
- Failed to build yst - Ambiguous occurrence ‘defaultTimeLocale’ HOT 1
- yst fails to build with aeson >= 2
- Build fails: yst-0.7.1.3 from Cabal on MacOS -- "writeDocbook5" capitalization? HOT 4
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 yst.