How is the frontend logo block implemented?

How to change template for a standard block using layout directive action method=‘setTemplate’