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
codeease1 opened this issue Dec 15, 2019 · 2 comments
Open

Comments

@codeease1
Copy link

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!

@codeease1
Copy link
Author

codeease1 commented Dec 30, 2019

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?

@daveaglick
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants