err:=app.db.QueryRow(fmt.Sprintf("SELECT owner_id, title, content, text_appearance, view_count, language, rtl FROM posts WHERE id = ?"),friendlyID).Scan(&ownerID,&title,&content,&font,&views,&language,&rtl)
err:=app.db.QueryRow(fmt.Sprintf("SELECT owner_id, collection_id, title, content, text_appearance, view_count, language, rtl FROM posts WHERE id = ?"),friendlyID).Scan(&ownerID,&collectionID,&title,&content,&font,&views,&language,&rtl)
switch{
caseerr==sql.ErrNoRows:
found=false
@ -424,6 +425,18 @@ func handleViewPost(app *App, w http.ResponseWriter, r *http.Request) error {