Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More pipeline samples for Integrating Wyam Into An ASP.NET Site? #5

Open
savornicesei opened this issue Jun 3, 2021 · 2 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@savornicesei
Copy link
Contributor

savornicesei commented Jun 3, 2021

Issue by codeease1
Sunday Dec 15, 2019 at 05:01 GMT
Originally opened as Wyamio/Wyam#5


I am learning “Integrating Wyam Into An ASP.NET MVS Site” from this page. There are "Posts" and "Index" pipelines there and they are working well. However, I don't know how to add the following pipelines:

1: Generate a Tags (with links) page;
2: Generate an Archive (with links) page;
3: Generate tags with links for individual post;

The above three are actually in the current blog recipe. but I don't know how to have them if integrating Wyam into ASP.NET site?

Thanks!

AB#11

@savornicesei
Copy link
Contributor Author

Comment by codeease1
Monday Dec 30, 2019 at 23:07 GMT


I am trying to use the code from this page:

`
@{
var DocumentsByTag = Documents
.ContainsKey("Published")
.ToLookup("Tags");
}

// ...

@{
foreach (var tagDocuments in DocumentsByTag.OrderBy(x => x.Key))
{
// ...
}
}
`

But seems the 'DocumentsByTag' only contains the 1st tag from each post? (I am using Wyam 2.2.9). How to get all tags (without using Blog or Doc recipe) .html files?

@savornicesei
Copy link
Contributor Author

Comment by daveaglick
Saturday Feb 29, 2020 at 20:58 GMT


FYI - the original Wyam project is being moved to statiqdev to continue work there as Statiq Web (the successor to Wyam and the Wyam blog recipe). Since this issue relates specifically to Wyam, I've transfered it to a new replacement project for legacy Wyam issues.

(This is an automated message)

@savornicesei savornicesei added the documentation Improvements or additions to documentation label Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant