sentence1: A Taleju Temple, which is located through the Golden Gate at the far end of two courtyards, is closed to non-Hindus, but you can admire the carving on its door and get a peek past the attendant soldier to the ornate interior.
sentence2: You can admire the carving on Taleju Temple's door and get a peek past the attendant soldier to the ornate interior, but it's closed to non-Hindus.