Documentation ¶
Overview ¶
Export all weeks to the weeks content directory
Index ¶
- Constants
- Variables
- func BulletinExport(exp Map, feed feeds.Feed, post posts.Post) error
- func ExportBTCAddresses() error
- func ExportWeeks() error
- func NewsletterPostLayout(exp Map, feed feeds.Feed, post posts.Post) error
- func RFCExport(exp Map, feed feeds.Feed, post posts.Post) error
- func RegisterFeedMapper(mapper FeedMapper)
- func RegisterPostMapper(mapper PostMapper)
- func ReleaseExport(exp Map, feed feeds.Feed, post posts.Post) error
- type FeedExport
- type FeedMapper
- type HugoExporter
- type Map
- type PostExport
- type PostMap
- type PostMapper
- type WeekData
Constants ¶
View Source
const (
FirstWeek = "2017-12-07"
)
Variables ¶
View Source
var FeedMappers []FeedMapper
View Source
var PostMappers []PostMapper
View Source
var (
WeeksContentDir = "weeks"
)
Functions ¶
func ExportBTCAddresses ¶
func ExportBTCAddresses() error
func ExportWeeks ¶
func ExportWeeks() error
func NewsletterPostLayout ¶
func RegisterFeedMapper ¶
func RegisterFeedMapper(mapper FeedMapper)
func RegisterPostMapper ¶
func RegisterPostMapper(mapper PostMapper)
Types ¶
type FeedExport ¶
type FeedExport struct { Name string `json:"name"` Section string `json:"section"` Categories types.StringList `json:"categories"` Posts PostMap `json:"posts"` }
type HugoExporter ¶
type HugoExporter struct{}
func NewHugoExporter ¶
func NewHugoExporter() HugoExporter
Click to show internal directories.
Click to hide internal directories.