mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Expand the ShowPlan functionality
This commit is contained in:
@@ -40,6 +40,10 @@ func (t *InMemoryTarget) Publish(label string, reader io.Reader) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (t *InMemoryTarget) Translate(label string) (dest string, err error) {
|
||||
return label, nil
|
||||
}
|
||||
|
||||
func TestPageCount(t *testing.T) {
|
||||
target := new(InMemoryTarget)
|
||||
s := &Site{Target: target}
|
||||
|
Reference in New Issue
Block a user